Logo
Brex Developer API Documentation

Register Webhook

POST {{baseUrl}}/v1/webhooks

Register an endpoint to start receiving selected webhook events

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string (Required)
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 POST 'https://platform.brexapis.com/v1/webhooks' -H 'Idempotency-Key: Duis exercitation aute nisi' -H 'Content-Type: application/json' -d '{"event_types":["TRANSFER_PROCESSED","REFERRAL_CREATED"],"url":"ad proident"}'

ENDPOINTS