Get Authentication Token

Authenticate your application and receive a Bearer token for subsequent API calls. This token is required for all authenticated endpoints and is valid for 180 days.

Example: Authentication Request
bash
                        
curl https://mobitapidev.corral-labs.com/api/getToken \ --request POST \ --header "Content-Type: multipart/form-data" \ --form "email=example@abc.com" \ --form "password=1234"

Request Configuration

Method
POST
Content-Type
multipart/form-data
Authentication
Not Required
Rate Limit
5 req/min

Try It Out

Response

Send SMS

Send SMS messages to one or multiple recipients. Each SMS counts as 1 credit. Supports multiple recipients, Unicode characters, and long messages.

Example: Send SMS Request
bash
                        
curl https://mobitapidev.corral-labs.com/api/send-sms \ --request POST \ --header "Content-Type: application/json" \ --header "Authorization: Bearer YOUR_TOKEN" \ --data '{ "mobileNumber": ["92xxxxxx", "92xxxxxx"], "message": "hello", "from": "xxxx" }'

Request Configuration

Method
POST
Content-Type
application/json
Authentication
Bearer Token
Rate Limit
60 req/min

Try It Out

Response

Get SMS Quota

Check your current SMS credit balance and remaining quota. Use this to monitor your usage before sending campaigns. Updates are real-time and reflect usage after each SMS send.

Example: Check Quota Request
bash
                        
curl https://mobitapidev.corral-labs.com/api/get-sms-qouta \ --request GET \ --header "Authorization: Bearer YOUR_TOKEN"

Request Configuration

Method
GET
Content-Type
application/json
Authentication
Bearer Token
Rate Limit
60 req/min

Try It Out

Response