cURL
curl --request GET \ --url https://api.notifique.dev/v1/webhooks/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "<string>", "workspaceId": "<string>", "name": "<string>", "url": "<string>", "secret": "<string>", "events": [ "<string>" ], "instanceIds": [ "<string>" ], "enabled": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Retorna um webhook pelo ID. Inclui o campo secret (HMAC). Escopo: webhooks:read ou webhooks:manage.
webhooks:read
webhooks:manage
Authorization: Bearer sk_live_xxxxx
Dados do webhook (inclui secret).
true
Show child attributes
Was this page helpful?