Getting started

Omdaa API lets you get started in minutes. Create an account, obtain an auth token and send your first WhatsApp message.

  1. Create a new account using the registration endpoint.
  2. Log in to obtain a JWT token or create an API key.
  3. Create a WhatsApp session if required.
  4. 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