The Rebue Text API uses standard HTTP Bearer Tokens to authenticate incoming requests. All API endpoints are protected and require a valid token to authorize access to your account's resources.
To authenticate your requests, you first need to generate an API key from your developer dashboard.
The generated token MUST be included in the headers of all your API requests using Bearer Token Authorization.
Your request headers should look exactly like this:
{
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Bearer YOUR_GENERATED_TOKEN"
}
{info} Important: The
Authorizationvalue must be a concatenation of the wordBearerand your actual token, separated by a single whitespace.
{danger} Keep your tokens safe! This token gives a person full read and write access to your account balances, contacts, and messaging capabilities. Never share it, and never expose it in client-side code (like frontend JavaScript, React, or mobile apps). Always route requests through your own secure backend server.