Create an Event Subscription
POST {{baseUrl}}/reports/v1/subscriptions
Create a new subscription to an EventType
(s).
Request Body
{"url"=>"{{callbackUrl}}", "filter"=>"state == 'CO'", "eventTypes"=>["motorvehiclereport.error", "motorvehiclereport.received", "transactionalmvr.error", "transactionalmvr.received", "activitydetail.error", "activitydetail.received", "activityindicator.error", "activityindicator.received", "intelligentmvr.error", "intelligentmvr.received", "activitymvr.error", "activitymvr.received", "licensediscovery.error", "licensediscovery.received", "licensevalidation.error", "licensevalidation.received", "licensediscovery.received"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Api-Key | string | (Required) Added as a part of security scheme: apiKey | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"subscriptionId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","url":"https://www.your-domain.com/webhook","filter":"state == 'CA'","eventTypes":["activitydetail.received","transactionalmvr.received"]}