Return an already created webhook.
Security
BasicAuth and BearerAuth and OAuth2Production
The unique ID of the project. You can find this on the Sinch Dashboard.
- Production serverhttps://provisioning.api.sinch.com/v1/projects/{projectId}/webhooks/{webhookId}
curl -i -X GET \
-u '<username>:<password>' \
'https://provisioning.api.sinch.com/v1/projects/{projectId}/webhooks/{webhookId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
Example of a response for a webhook with specific triggers.
{ "id": "{{WEBHOOK_ID}}", "target": "https://my.server.com/callback", "projectId": "{{PROJECT_ID}}", "triggers": [ "WHATSAPP_TEMPLATE_APPROVED", "WHATSAPP_TEMPLATE_REJECTED" ] }
We'd love to hear from you!
Rate this content: