Catalog
List available services
GET/v1/catalog/services
Services you can order right now in at least one country — exactly
the services that appear in some country's GET /catalog/prices.
Use code as service_code when ordering; which countries a service
is orderable in is shown by GET /catalog/prices.
Built from the same cached price lists that GET /catalog/prices
serves, so the two always agree; the response carries
Cache-Control: private, max-age=30.
REQUEST
curl "https://api.dogesms.com/v1/catalog/services" \ -H "Authorization: Bearer sk_live_…"
RESPONSE
Service list.
{
data: [{
code: string
Pass as
service_code to POST /orders.name: string
}]
request_id: string
}
ERROR CODES
| Status | Code | When |
|---|---|---|
| 401 | API_KEY_MISSING API_KEY_INVALID_FORMAT API_KEY_INVALID API_KEY_REVOKED | Missing or invalid API key (API_KEY_MISSING, API_KEY_INVALID_FORMAT, API_KEY_INVALID, API_KEY_REVOKED). Emitted by the auth layer before the handler — flat shape, no request_id. |
| 403 | ACCOUNT_BANNED EMAIL_NOT_VERIFIED ACCOUNT_NOT_ACTIVE | Key is valid but the account is not eligible (ACCOUNT_BANNED, EMAIL_NOT_VERIFIED, ACCOUNT_NOT_ACTIVE). Emitted by the auth layer — flat shape. |
Branch on code, not on the message. Full list: Errors.