List webhooks for a campaign.
curl --request GET \
--url https://api.sendo.dev/v1/campaign/{id}/webhooks \
--header 'Authorization: Bearer <token>'
{
"webhooks": [
{
"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"
]
},
{
"id": "c29b55aa-a622-4f99-91ba-1dc5834734eb",
"createdAt": "2023-12-15T03:07:35.826Z",
"name": "Revocation Service",
"url": "https://website.com/revocations",
"campaignId": "g1tkV7Eq",
"signature": "7ujOMdfiow43feAS",
"eventTypes": [
"recipient.optout"
],
"numbers": [
"+14159436397"
]
}
]
}
The ID of the campaign to list webhooks for.
List of webhooks for the campaign.
Show webhook fields
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.
{
"webhooks": [
{
"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"
]
},
{
"id": "c29b55aa-a622-4f99-91ba-1dc5834734eb",
"createdAt": "2023-12-15T03:07:35.826Z",
"name": "Revocation Service",
"url": "https://website.com/revocations",
"campaignId": "g1tkV7Eq",
"signature": "7ujOMdfiow43feAS",
"eventTypes": [
"recipient.optout"
],
"numbers": [
"+14159436397"
]
}
]
}
curl --request GET \
--url https://api.sendo.dev/v1/campaign/{id}/webhooks \
--header 'Authorization: Bearer <token>'
{
"webhooks": [
{
"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"
]
},
{
"id": "c29b55aa-a622-4f99-91ba-1dc5834734eb",
"createdAt": "2023-12-15T03:07:35.826Z",
"name": "Revocation Service",
"url": "https://website.com/revocations",
"campaignId": "g1tkV7Eq",
"signature": "7ujOMdfiow43feAS",
"eventTypes": [
"recipient.optout"
],
"numbers": [
"+14159436397"
]
}
]
}
List webhooks for a campaign.
curl --request GET \
--url https://api.sendo.dev/v1/campaign/{id}/webhooks \
--header 'Authorization: Bearer <token>'
{
"webhooks": [
{
"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"
]
},
{
"id": "c29b55aa-a622-4f99-91ba-1dc5834734eb",
"createdAt": "2023-12-15T03:07:35.826Z",
"name": "Revocation Service",
"url": "https://website.com/revocations",
"campaignId": "g1tkV7Eq",
"signature": "7ujOMdfiow43feAS",
"eventTypes": [
"recipient.optout"
],
"numbers": [
"+14159436397"
]
}
]
}
The ID of the campaign to list webhooks for.
List of webhooks for the campaign.
Show webhook fields
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.
{
"webhooks": [
{
"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"
]
},
{
"id": "c29b55aa-a622-4f99-91ba-1dc5834734eb",
"createdAt": "2023-12-15T03:07:35.826Z",
"name": "Revocation Service",
"url": "https://website.com/revocations",
"campaignId": "g1tkV7Eq",
"signature": "7ujOMdfiow43feAS",
"eventTypes": [
"recipient.optout"
],
"numbers": [
"+14159436397"
]
}
]
}
curl --request GET \
--url https://api.sendo.dev/v1/campaign/{id}/webhooks \
--header 'Authorization: Bearer <token>'
{
"webhooks": [
{
"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"
]
},
{
"id": "c29b55aa-a622-4f99-91ba-1dc5834734eb",
"createdAt": "2023-12-15T03:07:35.826Z",
"name": "Revocation Service",
"url": "https://website.com/revocations",
"campaignId": "g1tkV7Eq",
"signature": "7ujOMdfiow43feAS",
"eventTypes": [
"recipient.optout"
],
"numbers": [
"+14159436397"
]
}
]
}