cURL
curl --request POST \ --url https://api.mobiska.com/v1/send_sms \ --header 'Content-Type: application/json' \ --data ' { "service_id": 123, "sender_id": "<string>", "msg_body": "<string>", "recipient_number": [ {} ], "unique_id": "<string>" } '
{ "response_code": "<string>", "response_message": "<string>", "response_data": { "message_id": "<string>", "status": "<string>" } }
Send SMS messages to one or multiple recipients
curl -X POST https://api.mobiska.com/v1/send_sms \ -H "Authorization: Basic YOUR_ENCODED_API_KEYS" \ -H "Content-Type: application/json" \ -d '{ "service_id": 2, "sender_id": "Mobiska", "msg_body": "Welcome to Mobiska!\nYour account has been successfully created.", "recipient_number": ["0541840988"], "unique_id": "1" }'
Show Toggle object
{ "response_code": "000", "response_message": "Message sent successfully", "response_data": { "message_id": "MSG123456789", "status": "sent" } }