PUT {{Environment_URL}}/v1/notifications/webhooks/:role/:correspondentId
PUT
{{Environment_URL}}/v1/notifications/webhooks/:role/:correspondentId
Updates the webhook URL associated with a specific role for the authenticated correspondent.
This operation will replace any previously registered URL for that role.
Headers
Authorization
Bearer <token>
Path Params
role
clients
Role of the webhook to create
correspondentId
1
Correspondent ID associated with the authenticated user. Obtainable via the /validate route.
Request Body
{ "url": "https://transactions.free.beeceptor.com" }
Response
{ "id": 3, "url": "https://transactions.free.beeceptor.com", "role": "transactions", "correspondent_id": 1 }
{ "errors": { "url": [ "Not valid" ] } }