Webhook
Retrieve webhook
Webhook
Retrieve webhook
Retrieve webhook for a campaign.
GET
/
v1
/
webhook
/
{id}
curl --request GET \
--url https://api.sendo.dev/v1/webhook/{id} \
--header 'Authorization: Bearer <token>'
{
"webhook": {
"id": "d3392dbf-ae4b-43b9-9b50-dcafa5c7h4mn",
"createdAt": "2023-12-31T03:07:35.826Z",
"name": "Event Service",
"url": "https://website.com/webhook",
"campaignId": "g1tkV7Eq",
"signature": "aVWS7HTLR9xxMkdE",
"eventTypes": [
"message.incoming",
"message.status"
],
"numbers": [
"+14159436397"
]
}
}
Parameters
The ID of the webhook to retrieve.
Response
The details of the webhook.
The ID of the webhook.
The time the webhook was created
The name of the webhook (optional).
The URL of the webhook.
The campaign ID for the webhook.
The signature sent with events. (read more)
The events the webhook will receive. (read more)
The phone numbers the webhook is subscribed to.
{
"webhook": {
"id": "d3392dbf-ae4b-43b9-9b50-dcafa5c7h4mn",
"createdAt": "2023-12-31T03:07:35.826Z",
"name": "Event Service",
"url": "https://website.com/webhook",
"campaignId": "g1tkV7Eq",
"signature": "aVWS7HTLR9xxMkdE",
"eventTypes": [
"message.incoming",
"message.status"
],
"numbers": [
"+14159436397"
]
}
}
curl --request GET \
--url https://api.sendo.dev/v1/webhook/{id} \
--header 'Authorization: Bearer <token>'
{
"webhook": {
"id": "d3392dbf-ae4b-43b9-9b50-dcafa5c7h4mn",
"createdAt": "2023-12-31T03:07:35.826Z",
"name": "Event Service",
"url": "https://website.com/webhook",
"campaignId": "g1tkV7Eq",
"signature": "aVWS7HTLR9xxMkdE",
"eventTypes": [
"message.incoming",
"message.status"
],
"numbers": [
"+14159436397"
]
}
}