Create Endpoint
Create a new endpoint for the application.
When secret is null the secret is automatically generated (recommended).
Path parameters
The Application's ID or UID.
The Application's ID or UID.
Headers
The request's idempotency key
Request body
Example request
{
"channels": [
"project_123",
"group_2"
],
"description": "An example endpoint name",
"eventTypes": [
"user.signup",
"user.deleted"
],
"headers": {
"X-Example": "123",
"X-Foobar": "Bar"
},
"secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD",
"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
Changed in 2 of the 5 revisions of this API.153
- ▲
removed the required property
versionfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
filterTypesrequest-property-removed
- ●
removed the request property
rateLimitrequest-property-removed
- ●
removed the request property
versionrequest-property-removed
- ●
removed the optional property
filterTypesfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
rateLimitfrom the response with the201statusresponse-optional-property-removed
- ○
added the new optional request property
eventTypesnew-optional-request-property
- ○
added the optional property
eventTypesto the response with the201statusresponse-optional-property-added
This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
versionnew-optional-request-property
This revision also has 157 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○