Account
GET
https://api.trackified.net /v1/account/api-keys List API keys
Parameters
limitintegerqueryoffsetintegerqueryCode samples
cURL
curl -X GET "https://api.trackified.net/v1/account/api-keys" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Keys
Example
{
"data": [
{
"id": "string",
"name": "string",
"prefix": "string",
"mode": "test",
"scopes": [
"string"
],
"token": "string",
"created_at": "2024-01-01T00:00:00Z",
"last_used_at": "2024-01-01T00:00:00Z",
"revoked_at": "2024-01-01T00:00:00Z"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}Schema
dataApiKey[]requiredShow child parameters
idstringnamestringprefixstringmodestringscopesstring[]tokenstringOnly present in the create response.
created_atstringlast_used_atstringrevoked_atstringpaginationobjectrequiredShow child parameters
limitintegeroffsetintegertotalinteger401 Error
Example
{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}Schema
errorobjectShow child parameters
codestringmessagestringrequest_idstringPOST
https://api.trackified.net /v1/account/api-keys Create an API key
Request body
application/json
namestringmodestringscopesstring[]{
"name": "string",
"mode": "test",
"scopes": [
"string"
]
}Code samples
cURL
curl -X POST "https://api.trackified.net/v1/account/api-keys" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","mode":"test","scopes":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Created. The token is returned only here.
Example
{
"id": "string",
"name": "string",
"prefix": "string",
"mode": "test",
"scopes": [
"string"
],
"token": "string",
"created_at": "2024-01-01T00:00:00Z",
"last_used_at": "2024-01-01T00:00:00Z",
"revoked_at": "2024-01-01T00:00:00Z"
}Schema
idstringnamestringprefixstringmodestringscopesstring[]tokenstringOnly present in the create response.
created_atstringlast_used_atstringrevoked_atstringDELETE
https://api.trackified.net /v1/account/api-keys/{id} Revoke an API key
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://api.trackified.net/v1/account/api-keys/{id}" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Revoked
GET
https://api.trackified.net /v1/account/usage This month's usage and limits
Poll this to see quota before a create fails with 402 quota_exceeded. The period is the calendar month in UTC.
Code samples
cURL
curl -X GET "https://api.trackified.net/v1/account/usage" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Usage
Example
{
"period_start": "2024-01-01T00:00:00Z",
"period_end": "2024-01-01T00:00:00Z",
"plan": "string",
"trackings_used": 0,
"trackings_limit": 0,
"trackings_remaining": 0,
"rate_limit_per_minute": 0,
"webhook_deliveries": 0,
"carrier_volume": [
{
"carrier": "string",
"count": 0
}
]
}Schema
period_startstringrequiredStart of the billing month (UTC).
period_endstringrequiredWhen the count resets (UTC).
planstringrequiredfree, starter, pro or scale.
trackings_usedintegerrequiredTrackings added this period.
trackings_limitintegerrequiredtrackings_remainingintegerrequiredtrackings_limit minus trackings_used, never below 0.
rate_limit_per_minuteintegerrequiredwebhook_deliveriesintegerrequiredWebhook delivery attempts this period.
carrier_volumeobject[]requiredShow child parameters
carrierstringrequiredcountintegerrequiredGET
https://api.trackified.net /v1/usage This month's usage and limits (alias)
Answers exactly like GET /v1/account/usage, which stays the canonical path.
Code samples
cURL
curl -X GET "https://api.trackified.net/v1/usage" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated