A REST API for converting GPS coordinates into short, memorable T-Codes. Power logistics, delivery, and emergency services across Tunisia.
https://api.t-code.tn/api/v1Protected endpoints require a Bearer token in the Authorization header. Obtain tokens via the or endpoints.
Authorization: Bearer <API-KEY>Each External API key has two limits (configurable by plan): 30 req/min and 5 000 req/day by default. Every response includes rate limit headers.
X-RateLimit-Limit: 30
X-RateLimit-Remaining: 27{
"success": false,
"message": "Rate limit exceeded: max 30 req/min",
"statusCode": 429
}Every endpoint returns the same JSON envelope. On success, data holds the result. On failure, message describes the error.
{
"success": true,
"statusCode": 200,
"message": "T-Code created successfully",
"data": { ... }
}