Event List
For each webhook event, you can review when the event occurs, an example payload, and descriptions of the payload object parameters.
You can create webhooks that subscribe to the events listed on this page. Each webhook event includes a description of the webhook properties and an example payload.
ride.created
Event emitted when a ride is created.
Event object properties
Name | Type | Description |
---|---|---|
passengers | number | The amount of passengers of the ride. |
pickup | object | The pickup address of the ride. |
scheduledTime | string | The date and time scheduled for the ride. |
rider | object | The rider of the ride. |
destination | object | The destination address of the ride. |
createdTime | string | The date and time the ride was created. |
status | string | The ride status. |
service | object | The service level of the ride. |
id | string | A unique identifier for the ride. |
reservationNumber | string | The reservation number that identifies the ride. |
ride.driver.assigned
Event emitted when a driver is assigned to a ride.
Event object properties
Name | Type | Description |
---|---|---|
passengers | number | The amount of passengers of the ride. |
pickup | object | The pickup address of the ride. |
scheduledTime | string | The date and time scheduled for the ride. |
rider | object | The rider of the ride. |
destination | object | The destination address of the ride. |
createdTime | string | The date and time the ride was created. |
status | string | The ride status. |
service | object | The service level of the ride. |
id | string | A unique identifier for the ride. |
reservationNumber | string | The reservation number that identifies the ride. |
ride.driver.unassigned
Event emitted when the driver is unassigned from a ride.
Event object properties
Name | Type | Description |
---|---|---|
passengers | number | The amount of passengers of the ride. |
pickup | object | The pickup address of the ride. |
scheduledTime | string | The date and time scheduled for the ride. |
rider | object | The rider of the ride. |
destination | object | The destination address of the ride. |
createdTime | string | The date and time the ride was created. |
status | string | The ride status. |
service | object | The service level of the ride. |
id | string | A unique identifier for the ride. |
reservationNumber | string | The reservation number that identifies the ride. |
ride.status.updated
Event emitted when the ride status is updated.
Event object properties
Name | Type | Description |
---|---|---|
passengers | number | The amount of passengers of the ride. |
pickup | object | The pickup address of the ride. |
scheduledTime | string | The date and time scheduled for the ride. |
rider | object | The rider of the ride. |
destination | object | The destination address of the ride. |
createdTime | string | The date and time the ride was created. |
status | string | The ride status. |
service | object | The service level of the ride. |
id | string | A unique identifier for the ride. |
reservationNumber | string | The reservation number that identifies the ride. |
invoice.created
Event emitted when an invoice is created.
Event object properties
Name | Type | Description |
---|---|---|
issuedTime | string | The date and time of issue of the invoice. |
billingAddress | map | The address of the billing account. |
createdTime | string | The date and time the invoice was created in the account. |
account | map | The account info related to name, email, and legal name. |
periodStartTime | string | The start date and time of the billing period. |
terms | number | The due date interval of the invoice from the moment it is generated. For example, 45 days. |
periodEndTime | string | The end date and time of the billing period. |
number | string | A unique identifier for the invoice. |
dueTime | string | The due date of the invoice. |
lineItems | array | The date, amount, and description (reservation number) of the ride. |
customer.created
Event emitted when a customer is created.
Event object properties
Name | Type | Description |
---|---|---|
id | string | A unique identifier for the customer. |
createdTime | string | The date and time the customer was created. |
string | The email of the customer. | |
lastName | string | The last name of the customer. |
fistName | string | The first name of the customer. |
phoneNumber | string | The phone number of the customer. |
driver.created
Event emitted when a driver is created.
Event object properties
Name | Type | Description |
---|---|---|
id | string | A unique identifier for the driver. |
lastName | string | The last name of the driver. |
fistName | string | The first name of the driver. |
createdTime | string | The date and time the driver was created. |
phoneNumber | string | The phone number of the driver. |
string | The email of the driver. |
Last updated