Renew Subscription
Renew your subscription API key.
π Important Notes
- Use this endpoint if your API key was lost or compromised.
- The new
Api-Keywill be returned in the response headers. - The old API key will be immediately invalidated.
- All future events will use the new API key for authentication.
- 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
Response
Response
No Content. Successful request.
Authentication
Path Parameters
Headers
Reactivate Subscription
Re-enables a subscription that has been deactivated. Sets the subscription status to active so that event notifications resume delivery to the registered callback URL. The existing API token is preserved β the partner does not need to update their cached token after reactivation.
π Important Notes
- 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
Response
Response
No Content. Successful request.
Authentication
Path Parameters
Headers
Get My Subscriptions
Get all subscriptions associated with the authenticated customer.
π Important Notes
- Returns all active subscriptions for the customer in the Bearer token.
- Includes webhook URLs and subscription rules for each subscription.
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.
SubscriptionCollection
Details of subscriptions.
The URL used to query the current collection of the resource.
Example:https://event-api.centraldispatch.com/subscriptions/mine
The total count of resources in the collection.
Example:23
Details of a subscription.
Show Child Parameters
Authentication
Headers
EmptyResponse
objectNo response.
Error
objectDetails of an error or issue.
The code used for the issue.
Example:resource.issue_type
A detailed message.
Example:The issue happened because something is wrong.
The property to which the issue is associated.
Example:person
Additional properties related to the issue.
Example:{"firstName":"D0nn@","lastName":"Sm!th"}