GET
/
api
/
v1
/
calls
List calls
curl --request GET \
  --url https://api.fleetworks.ai/api/v1/calls \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "id": 123,
      "fromPhone": "<string>",
      "callerName": "<string>",
      "callerExt": "<string>",
      "toPhone": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "contentTags": "<string>",
      "summary": "<string>",
      "loadIds": [
        "<string>"
      ],
      "mcNumber": "<string>",
      "dotNumber": 123,
      "carrierHwConnectionStatus": "<string>",
      "carrierHwRulesAssessment": "<string>",
      "recordingUrl": "<string>",
      "transcript": "<string>"
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

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.

Query Parameters

startTime
string<date>
required

Start time for calls list in ISO8601 format

endTime
string<date>
required

End time for calls list in ISO8601 format

loadId
string

Optional load ID to filter calls

mcNumber
string

Optional MC number to filter calls

offset
number
default:0

Pagination offset

Required range: x >= 0
limit
number
default:100

Pagination limit

Required range: 1 <= x <= 500

Response

200
application/json

Success

The response is of type object.