Skip to main content
POST
Routing Directions

Authorizations

Authorization
string
header
required

JWT Bearer token for authentication. Example: "Bearer YOUR_API_TOKEN_HERE"

Body

application/json

routing directions request body

routing directions request body

coordinates
object[]

Coordinates for the route: [ [lng, lat], [lng, lat] ]

Response

OK

data
object

Response payload

error
string

Error message (only present when ok is false)

Example:

""

ok
boolean

Whether the request was successful

Example:

true