SMS API · GUIDE
Authorize SMS API requests
SMS API requests use an AtServiceTech API key from Workspace → Account → API Keys. The same key can access SMS, Email API, and other services available to the workspace.
Keep API keys on your server
Send the key as a bearer token in the Authorization header. Keep it in server-side configuration and never expose it in browser code or public repositories.
An expired, revoked, or missing key returns HTTP 401. API access may also be disabled or restricted by workspace API security settings.
Example
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json