Rasel / Docs
EN

Quick Start

Three steps to send your first API message and confirm the account behind the key.

1. Get your API Key

Sign in, open API & Developers, then create or copy an API key. Keep the key on your server only.

2. Send your first message

Call POST /api/v2/messages/send with the recipient and the channel. This example sends a local SMS.

Code example

curl --location 'https://raselsms.com/api/v2/messages/send' \--header 'X-API-Key: YOUR_API_KEY' \--header 'Content-Type: application/json' \--data '{"to":"+963912345678","channel":"local_sms","messageType":"free_text","content":{"text":"Hello from Rasel"}}'

3. Check the account

Call GET /api/v2/account to see the wallet balance, the active plan, and free-message credit.

Code example

curl --location 'https://raselsms.com/api/v2/account' \--header 'X-API-Key: YOUR_API_KEY'