GET {{Environment_URL}}/v1/notifications/webhooks/:correspondent_id
GET
{{Environment_URL}}/v1/notifications/webhooks/:correspondent_id
Returns all webhook configurations currently registered for the authenticated user correspondent.
Use this endpoint to view which roles already have a webhook URL assigned
Headers
Authorization
Bearer <token>
Path Params
correspondentId
1
Correspondent ID associated with the authenticated user. Obtainable via the /validate route.
Response
[ { "id": 1, "url": "http://frentecorretora.com.br", "role": "transaction", "correspondent_id": 1 }, { "id": 2, "url": "http://frentecorretora.com.br", "role": "client", "correspondent_id": 1 } ]
{ "error": "Forbidden" }