v1
latestOpenAPI 3.0.02026-07-2641142112.7 KBEndpoint
Create Endpoint
Create a new endpoint for the application. Specify the url you wish to receive webhooks and the events you wish to track. When secret is null the secret is automatically generated (recommended)
post/endpoint
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"description": "Production endpoint",
"uid": "ep_2k0vWPHlM2MnLgrEhw5oKFfmWMX",
"url": "https://example.com/webhook/",
"filterTypes": [
"shipment.added.to.endpoint",
"container.new.event.detected"
],
"channels": [
"project_123",
"group_2"
],
"secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
}Response
Example response
{
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"uid": "unique-ep-identifier",
"url": "https://example.com/webhook/",
"version": 1,
"filterTypes": [
"shipment.added.to.endpoint",
"container.new.event.detected"
],
"channels": [
"project_123",
"group_2"
],
"createdAt": "2024-01-12T14:43:13.993727Z",
"updatedAt": "2024-01-12T14:43:13.993727Z"
}