Logo
Brex Developer API Documentation

Update Webhook

PUT {{baseUrl}}/v1/webhooks/:id

Update a webhook. You can update the endpoint url, event types that the endpoint receives, or temporarily deactivate the webhook.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "event_types": [ "TRANSFER_PROCESSED", "REFERRAL_ACTIVATED" ], "id": "tempor laboris eiusmod", "status": "ERROR", "url": "elit incididunt labor" }



Curl
curl -X PUT 'https://platform.brexapis.com/v1/webhooks/:id' -H 'Content-Type: application/json' -d '{"request":{"event_types":["TRANSFER_FAILED","TRANSFER_PROCESSED"],"status":"INACTIVE","url":"non proident ut quis"}}'

ENDPOINTS