curl --request GET \
--url https://api.dojah.io/api/v1/webhook/fetch \
--header 'AppId: <appid>' \
--header 'Authorization: <api-key>'{
"entity": {
"webhooks": [
{
"app_id": "5f3a4c693a7ea9003e4067e6",
"endpoint": "https://webhook.site/bc33b503-bf38-4b65-88e5-349d86378d4a",
"environment": "live",
"service": "sms",
"confirmation_status": null,
"date_created": "2023-03-18T06:45:37.293746+01:00",
"date_updated": "2023-03-18T06:45:37.293806+01:00",
"medium": "version 3"
}
],
"total": 1,
"previous_page": "",
"next_page": "",
"total_pages": 1,
"current_page": 1
}
}
An endpoint that allows you to fetch all subscriptions
curl --request GET \
--url https://api.dojah.io/api/v1/webhook/fetch \
--header 'AppId: <appid>' \
--header 'Authorization: <api-key>'{
"entity": {
"webhooks": [
{
"app_id": "5f3a4c693a7ea9003e4067e6",
"endpoint": "https://webhook.site/bc33b503-bf38-4b65-88e5-349d86378d4a",
"environment": "live",
"service": "sms",
"confirmation_status": null,
"date_created": "2023-03-18T06:45:37.293746+01:00",
"date_updated": "2023-03-18T06:45:37.293806+01:00",
"medium": "version 3"
}
],
"total": 1,
"previous_page": "",
"next_page": "",
"total_pages": 1,
"current_page": 1
}
}
{
"entity": {
"webhooks": [
{
"app_id": "5f3a4c693a7ea9003e4067e6",
"endpoint": "https://webhook.site/bc33b503-bf38-4b65-88e5-349d86378d4a",
"environment": "live",
"service": "sms",
"confirmation_status": null,
"date_created": "2023-03-18T06:45:37.293746+01:00",
"date_updated": "2023-03-18T06:45:37.293806+01:00",
"medium": "version 3"
}
],
"total": 1,
"previous_page": "",
"next_page": "",
"total_pages": 1,
"current_page": 1
}
}
Was this page helpful?