Endpoint
Upsert Endpoint
Changed onCreate or update an endpoint.
put/api/v1/app/{app_id}/endpoint/{endpoint_id}
Request
- Base URLhttps://api.eu.svix.com
- URLhttps://api.eu.svix.com/api/v1/app/{app_id}/endpoint/{endpoint_id}
- AuthHTTP bearer
Path parameters
app_idstring required
The Application's ID or UID.
Example:unique-identifier
endpoint_idstring required
The Endpoint's ID or UID.
Example:unique-identifier
Request body
Example request
{
"channels": [
"project_123",
"group_2"
],
"description": "An example endpoint name",
"eventTypes": [
"user.signup",
"user.deleted"
],
"uid": "unique-identifier",
"url": "https://example.com/webhook/"
}Response
Example response
{
"channels": [
"project_123",
"group_2"
],
"eventTypes": [
"user.signup",
"user.deleted"
],
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"uid": "unique-identifier",
"url": "https://example.com/webhook/"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
the
request property's maxLength was set to4096 - info
added the required property
to the response with the status
- warning