Webhooks
About the Webhooks API
Endpoints
The Webhook object
{
"id": "5f886c22fe5dd800318f8092",
"events": [
"ride_created"
],
"endpoint": "https://myexample.com/mywebhook",
"description": "My first webhook",
"status": "active",
"secret": "mysecret"
}Attributes
Name
Type
Description
Create a webhook
Create a new webhook.
Authorizations
apikeystringRequired
Body
eventsstring[]RequiredExample:
A list of all the events that the webhook will subscribe to.
ride.createdendpointstring · uriRequiredExample:
A URL endpoint that will be called after the webhook receives any of the events it is subscribed to.
https://myexample.com/mywebhooksecretstringOptionalExample:
A unique identifier used to identify your webhook.
my-secretdescriptionstringOptionalExample:
Brief description of the webhook functionality.
My first webhookResponses
200
The webhook was created successfully.
application/json
400
Bad request.
application/json
401
Unauthorized.
application/json
post
/webhooksDelete a webhook
Delete a webhook.
Authorizations
apikeystringRequired
Path parameters
webhookIdstringRequiredExample:
A unique identifier for the webhook.
ivan1qdJKrlURIBx7RsjResponses
200
The webhook was deleted successfully.
application/json
401
Unauthorized.
application/json
404
Not found.
application/json
delete
/webhooks/{webhookId}Last updated
Was this helpful?