Auto
EN

Recover from request errors

Before you start

For 401 check the server key. For 403 review its permissions. For validation errors compare fields and values with the operation reference before retrying.

Required. Send the account API key in the X-API-Key header. Never expose the key in a public browser or git repository.

cURL

curl --request GET 'https://raselsms.com/api/v2/account' \  -H "X-API-Key: $RASEL_API_KEY"

Test locally with a mock response first. Confirm the recipient and cost before sending a live request.