latestOpenAPI 3.1.02026-08-211286041.7 MB
b0c8a1820333
Ingest Endpoint
Create Ingest Endpoint
Create an ingest endpoint.
post/ingest/api/v1/source/{source_id}/endpoint
Path parameters
source_idstring required
The Source's ID or UID.
Example:unique-identifier
The Source's ID or UID.
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"description": "An example endpoint name",
"headers": {
"X-Example": "123",
"X-Foobar": "Bar"
},
"secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD",
"uid": "unique-identifier",
"url": "https://example.com/webhook/"
}Response
Example response
{
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"uid": "unique-identifier",
"url": "https://example.com/webhook/"
}