Webhook
Retrieve webhook
Retrieve webhook for a campaign.
GET
/
v1
/
webhook
/
{id}
Copy
curl --request GET \
--url https://api.sendo.dev/v1/webhook/{id} \
--header 'Authorization: Bearer <token>'
Copy
{
"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.
Copy
{
"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"
]
}
}
Copy
curl --request GET \
--url https://api.sendo.dev/v1/webhook/{id} \
--header 'Authorization: Bearer <token>'
Copy
{
"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"
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.