Make your first request
Create a suitably scoped key in the developer dashboard and store it on your server as RASEL_API_KEY. Read your account before attempting a paid send.
Manage API keysBefore you start
Create a server-side API key. Reading the account verifies authentication without sending a message.
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.