Skip to main content
GET
/
vehicle
/
action
Get vehicle actions
curl --request GET \
  --url https://ctechnology.io/api/v2.2/vehicle/action \
  --header 'Authorization: <api-key>'
{
  "header": {
    "num_results": 123,
    "api_version": "<string>",
    "status": "<string>",
    "message": "<string>",
    "permission_via": [
      {
        "permission": "<string>",
        "via": "me",
        "organization_id": "<string>"
      }
    ],
    "offset": 123,
    "limit": 123
  },
  "data": [
    {
      "id": "<string>",
      "vehicle_id": "<string>",
      "trip_id": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "type": "<string>",
      "message": "<string>",
      "data": {},
      "user_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.

Query Parameters

from
string<date-time>

Limit the actions to those which timestamp is after from.

to
string<date-time>

Limit the actions to those which timestamp is before to.

limit
number

Limit the number of returned actions.

offset
number

Offset the returned actions.

scope
enum<string>

The scope, publicly shared actions or a user's private ones. The visibility scope of trips, actions, etc.

Available options:
PUBLIC,
PRIVATE

Response

Successful retrieval of vehicle actions.

header
API Header Paginated · object
required

Default header sent along with multi-resource responses (lists of resources).

data
Vehicle Action · object[]
required