Authorization

Every API request requires the use of an API key and a Voyomotive domain. This authorization framework ensures secure access across all API resources, including vehicles, devices, parameters, diagnostics, alerts, and service data, and allows Voyomotive to validate the identity and permissions of each requesting client.

curl -L -X GET 'https://{DOMAIN}/voyorequest/getDevices.php

-H 'Accept: application/json'
-H 'Authorization: Bearer {APIKEY}'

Note: The keyword "Bearer" followed by a space is required.

Parameters Description
DOMAIN Endpoint hosting the Voyomotive API.
APIKEY Token provided by Voyomotive for API access.

Make sure both have been provided and are available before continuing!

Error Handling

Attempting a request with an invalid token will yield the following results:

  • HTTP Response 4xx:
    HTTP/1.1 401 Unauthorized
    HTTP/1.1 404 Not Found
{ "error":"Invalid Authorization!" }