API

Links

Generate navigation links for an existing location (Tariq share URL, Google Maps, Apple Maps, and Waze) from stored coordinates.

POST/v1/links

Authorizations

Authorizationstringheaderrequired

Bearer token. Use a test key from the dashboard. The header is Authorization: Bearer <token>.

"Bearer trq_test_…"

Body

{
  "location_id": "loc_8k2m9x"
}

Response

200 · application/json

Errors

CodeHTTPWhen
UNAUTHORIZED401Missing or invalid API key or session token.
FORBIDDEN403The credential is valid but lacks permission for this action.
INVALID_INPUT400The request body failed validation.
INVALID_COORDINATES400Latitude or longitude is out of range.
NOT_FOUND404The location does not exist in your organization.
CONFLICT409Idempotency key reused with a different payload.
RATE_LIMITED429Too many requests.