POST
/
api
/
v1
/
track-and-trace
/
trigger-check-call
Trigger a check call
curl --request POST \
  --url https://api.fleetworks.ai/api/v1/track-and-trace/trigger-check-call \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "toPhone": "+15551234567",
  "callType": "pickup",
  "waitingAtFacility": true,
  "nextStopApptStart": "2025-03-06T08:00:00",
  "nextStopApptEnd": "2025-03-06T10:00:00",
  "nextStopCity": "Chicago",
  "nextStopState": "IL",
  "loadNumber": "FW-123456",
  "loadStops": [
    {
      "type": "pickup",
      "address": {
        "city": "Chicago",
        "state": "IL"
      },
      "windowStart": "2025-03-06T08:00:00",
      "windowEnd": "2025-03-06T10:00:00"
    },
    {
      "type": "dropoff",
      "address": {
        "city": "New York",
        "state": "NY"
      },
      "windowStart": "2025-03-08T08:00:00",
      "windowEnd": "2025-03-08T10:00:00"
    }
  ],
  "metadata": {
    "internal_load_id": "ABC123",
    "customer_id": "12345",
    "priority": 1
  }
}'
{
  "success": true,
  "call": {
    "id": 12345,
    "fromPhone": "+15551234567",
    "toPhone": "+15559876543",
    "status": "IN_PROGRESS",
    "conversationId": 67890,
    "createdAt": "2024-03-15T14:30:00.000Z",
    "updatedAt": "2024-03-15T14:35:00.000Z"
  }
}

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

Response

200
application/json

Success

The response is of type object.