Loading...
Loading...
Generate an API key from your account dashboard.
Include your API key in the Authorization header of all requests:
Authorization: Bearer YOUR_API_KEY
All API requests should be made to:
https://api.trustotp.app/v1/api
All responses are returned in JSON format with a consistent structure including success
status and data
or error
fields.
curl -X GET "https://api.trustotp.app/v1/api/v1/numbers/available" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
API requests are limited to 100 requests per minute per API key. Exceeding this limit will result in a 429 Too Many Requests
response.
All error responses follow a consistent format:
{
"success": false,
"error": {
"code": "INVALID_REQUEST",
"message": "Description of the error"
}
}
For real-time SMS notifications, configure webhooks in your account settings. We'll send POST requests to your endpoint when new messages arrive.