Getting started
Omdaa API lets you get started in minutes. Create an account, obtain an auth token and send your first WhatsApp message.
- Create a new account using the registration endpoint.
- Log in to obtain a JWT token or create an API key.
- Create a WhatsApp session if required.
- Send your first text message using the messages API.
Register
"function">curl "keyword">-X POST https://omdaa.com/api/v1/auth/register \
"keyword">-H "Content"keyword">-Type: application/json" \
"keyword">-d '{
"email": "user@example.com",
"password": "SecurePassword123",
"name": "Your Name"
}'Login
"function">curl "keyword">-X POST https://omdaa.com/api/v1/auth/login \
"keyword">-H "Content"keyword">-Type: application/json" \
"keyword">-d '{
"email": "user@example.com",
"password": "SecurePassword123"
}'Send first message
"function">curl "keyword">-X POST https://omdaa.com/api/v1/messages/send class="keyword">-text \
"keyword">-H "Authorization: Bearer YOUR_JWT_TOKEN" \
"keyword">-H "Content"keyword">-Type: application/json" \
"keyword">-d '{
"sessionId": "sess_xxxxxxxx",
"to": "966501234567",
"message": "Hello from Omdaa API"
}'POSThttps://omdaa.com/api/v1/messages/send-text