Download OpenAPI specification:Download
Request an access token using OAuth 2.0 Client Credentials flow.
This endpoint implements the OAuth 2.0 Client Credentials grant type.
Authorization header for subsequent API callsclient_secret in client-side code or public repositoriesOAuth 2.0 client credentials
| client_id required | string Your OAuth 2.0 client identifier provided by WAKEO |
| client_secret required | string Your OAuth 2.0 client secret provided by WAKEO. Keep this confidential! |
| audience required | string Value: "https://api.gpsa.road.wakeo.co" The API audience for the resource server |
| grant_type required | string Value: "client_credentials" OAuth 2.0 grant type. Must be "client_credentials" |
{- "client_id": "<<your_client_id_here>>",
- "client_secret": "<<your_client_secret_here>>",
- "grant_type": "client_credentials"
}{- "access_token": "eyJhbGciOiJSUzI1NiIsInR5c...",
- "token_type": "Bearer",
- "expires_in": 2592000
}Send your GPS signals to WAKEO.
💡 To optimize the processing of your signals, we recommend that you send them in batches
‼️ The total size must be ≤1MB; this corresponds to roughly 4000 signals
⚠️ In one batch, be sure you send only 1 signal per device/truck
The signals you want to send to WAKEO. The total size must be ≤1MB; this corresponds to roughly 4000 signals.
| latitude required | number <double> [ -90 .. 90 ] The latitude coordinate of the signal position. |
| longitude required | number <double> [ -180 .. 180 ] The longitude coordinate of the signal position. |
| licensePlate required | string^[^ -]+$ The license plate of the truck which sent the signal. |
| positionTimestamp required | string <date-time> The time at which the signal was recorded by the telematics device. Note that the format of the timestamp is according to RFC 3339, section 5.6. This means that the timezone of the timestamp is included in the string. For example, the string "2017-07-21T17:32:28Z" encodes the time July 21, 2017, 17:32:28 in the UTC timezone (indicated by the "Z"). |
| deviceId | string Your identifier for the device that produced this signal. This value is used by WAKEO to identify signals originating from the same device. If absent, WAKEO will use licensePlate to identify the device producing the signal. |
object An arbitrary object containing metadata that you would like to provide to applications receiving this signal via the Receive My Signals service. The UTF-8 representation of the object must have size at most 10KB. | |
| references | Array of strings An optional list of reference-strings that are intended to help receivers of this signal associate it with other objects. For example, a reference could be the identifier of the transport order that the truck to which this signal belongs is currently executing. |
[- {
- "latitude": 16.403967,
- "longitude": 48.225259,
- "licensePlate": "WU764GB",
- "positionTimestamp": "2017-07-21T17:32:28Z",
- "deviceId": "264c7f51-a494-4c84-94e2-e819565ee301",
- "userMetadata": { },
- "references": [
- "ORDER-12345",
- "SHIPMENT-67890"
]
}
][- {
- "signal": "{ \"latitude\": 16.403967, \"licensePlate\": \"WU764GB\" }",
- "errors": [
- {
- "case": "MissingDataException",
- "message": "Longitude is undefined"
}
]
}
]