POST
/
api
/
v1
/
webhooks
/
carrier
/
events
curl --request POST \
  --url https://api.fleetworks.ai/api/v1/webhooks/carrier/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dotNumber": "<string>",
  "status": "ACTIVE",
  "complianceStatus": "in_network",
  "mcNumber": "<string>"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

An authentication token that identifies the organization associated with the event. You can reach out to FleetWorks team to request a token.

Body

application/json
dotNumber
string
required

The Department of Transportation (DOT) number of the carrier

status
enum<string>
required
Available options:
ACTIVE,
INACTIVE
complianceStatus
enum<string>
required
Available options:
in_network,
do_not_use,
not_in_network
mcNumber
string

The Motor Carrier (MC) number of the carrier

Response

200
application/json
Success
success
boolean