Search Events
Search for published events.
Query Parameters
Search for events with created date greater than value, in UTC/ISO 8601 format.
Example:gt(createdOn,2024-01-19)
Search for events with created date less than value, in UTC/ISO 8601 format.
Example:lt(createdOn,2024-02-13)
Search for events with subscription ID equal to value (GUID).
Example:eq(subscriptionId,50b2863f-c75e-45cb-8d50-b5a975d67865)
Search for events with event ID equal to value (GUID).
Example:eq(eventId,eec2b82e-29b1-47c3-a391-6da6cce37d7d)
Search for events with publish status equal to value. Allowed values: SUCCESS, FAILED.
Example:eq(publishStatus,SUCCESS)
Search for events with event type equal to value. Use the Get Event Types endpoint to retrieve valid values.
Example:eq(eventType,DispatchCreated)
The maximum number of items to be returned in the response.
startingPointis 1-based integer, default 1.numberOfResultsis an integer, default 500, maximum 500.
Example:limit(1,10)
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Response
application/json
Response
OK. Successful request.
SearchIntegratorEventCollection
Details of search event.
The URL used to query the current collection of the resource.
Example:https://event-api.centraldispatch.com/integrator-events?limit(5,1)
The URL to the previous page of the collection, if available.
Example:https://event-api.centraldispatch.com/integrator-events?limit(4,1)
The URL to the first page of the collection.
Example:https://event-api.centraldispatch.com/integrator-events?limit(1,1)
The URL to the next page of the collection, if available.
Example:https://event-api.centraldispatch.com/integrator-events?limit(6,1)
The total count of resources in the collection.
Example:23
The maximum number of items to be returned in the response.
Example:1
Details of an event.
Show Child Parameters
Authentication
Query Parameters
Headers
Subscription
Create Subscriptions
Create new event subscriptions.
π Important Notes
- Creates a webhook subscription for specified event types.
- The response will be empty but includes three important headers.
- The
Api-Keyheader value should be stored by the caller and used to authenticate all incoming events from Central Dispatch. The value will be contained in theApi-Tokenheader in all events delivered as part of this subscription. - The response will contain a
Locationheader that contains the fully qualified URL of the newly created resource. The final segment of the URL will be the ID of the resource. - The response will include an
ETagheader, which should be used for theIf-Matchheader in subsequent updates.
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Content-Type header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Body
application/json
Body
SubscriptionRequest
SubscriptionRequest
Details of a subscription.
A valid URL that you own, which will be used to receive event notifications from the Central Dispatch Event service.
Example:https://abc-trcking.net/webhook
Details of subscription rules.
Show Child Parameters
Response
Response
Created. Successful request.
Authentication
Headers
Body
Get Subscription
Get a subscription by ID.
π Important Notes
- Returns the subscription details including webhook URL and subscription rules.
- The response will include an
ETagheader, which should be used for theIf-Matchheader in subsequent updates.
Path Parameters
The ID of the subscription.
Example:50b2863f-c75e-45cb-8d50-b5a975d67865
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Response
application/json
Response
OK. Successful request.
SubscriptionResponse
Details of a subscription.
The fully qualified URL of the subscription.
Example:https://event-api.centraldispatch.com/subscriptions/id/50b2863f-c75e-45cb-8d50-b5a975d67865
The ID of the subscription.
Example:50b2863f-c75e-45cb-8d50-b5a975d67865
A valid URL that you own, which will be used to receive event notifications from the Central Dispatch Event service.
Example:https://abc-trcking.net/webhook
Indicates whether the subscription is currently active.
Example:true
Details of subscription rules.
Show Child Parameters
Authentication
Path Parameters
Headers
Update Subscription
Update a subscription.
π Important Notes
- Requires the full subscription payload for updates.
- Must include all existing event types plus any new ones.
- The
If-Matchheader is required and its value can be found in theETagresponse header of the resourceβs GET by ID endpoint.
Path Parameters
The ID of the subscription.
Example:50b2863f-c75e-45cb-8d50-b5a975d67865
Headers
This is a required field to ensure the update is being completed on an item that has not changed since it was last read. The value of this field will be the value of the ETag header that was received on the preceding get call.
Example:8675309
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Content-Type header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Body
application/json
Body
UpdateSubscriptionRequest
UpdateSubscriptionRequest
Details of update subscription request.
A valid URL that you own, which will be used to receive event notifications from the Central Dispatch Event service.
Example:https://abc-trcking.net/webhook
Details of subscription rules.
Show Child Parameters
Indicates whether the subscription is currently active.
Default:false
Example:true
Response
Response
No Content. Successful request.