Queue an outbound webhook event
curl --request POST \
--url http://localhost:3001/v1/outbound-webhook-events \
--header 'Content-Type: application/json' \
--data '
{
"eventType": "<string>",
"payload": {},
"sourceKey": "<string>"
}
'{
"event": {
"id": "<string>",
"organizationId": "<string>",
"eventType": "<string>",
"sourceKey": "<string>",
"endpointCount": 123,
"payload": {},
"deliveries": [
{
"id": "<string>",
"organizationId": "<string>",
"endpointId": "<string>",
"endpointName": "<string>",
"endpointUrl": "<string>",
"attemptCount": 123,
"responseStatusCode": 123,
"lastError": "<string>",
"nextRetryAt": "2023-11-07T05:31:56Z",
"attemptedAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}๐ก Outbound Webhooks
Queue an outbound webhook event
POST
/
v1
/
outbound-webhook-events
Queue an outbound webhook event
curl --request POST \
--url http://localhost:3001/v1/outbound-webhook-events \
--header 'Content-Type: application/json' \
--data '
{
"eventType": "<string>",
"payload": {},
"sourceKey": "<string>"
}
'{
"event": {
"id": "<string>",
"organizationId": "<string>",
"eventType": "<string>",
"sourceKey": "<string>",
"endpointCount": 123,
"payload": {},
"deliveries": [
{
"id": "<string>",
"organizationId": "<string>",
"endpointId": "<string>",
"endpointName": "<string>",
"endpointUrl": "<string>",
"attemptCount": 123,
"responseStatusCode": 123,
"lastError": "<string>",
"nextRetryAt": "2023-11-07T05:31:56Z",
"attemptedAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Headers
Minimum string length:
1Minimum string length:
1Body
application/json
โI
