> ## Documentation Index
> Fetch the complete documentation index at: https://mobiska-docs.stimuluzdev.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send SMS

> Send SMS messages to one or multiple recipients

Send SMS messages to one or multiple recipients using your SMS balance.

## Request Body

<ParamField body="service_id" type="integer" required>
  Your service identifier
</ParamField>

<ParamField body="sender_id" type="string" required>
  Approved sender ID for the message
</ParamField>

<ParamField body="msg_body" type="string" required>
  Content of the SMS message
</ParamField>

<ParamField body="recipient_number" type="array" required>
  Array of recipient phone numbers
</ParamField>

<ParamField body="unique_id" type="string" required>
  Unique identifier for the message
</ParamField>

## Example Request

```bash theme={null}
curl -X POST https://mobiska-api.stimuluzdev.com/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"
  }'
```

## Response

<ResponseField name="response_code" type="string">
  Status code of the request
</ResponseField>

<ResponseField name="response_message" type="string">
  Human-readable status message
</ResponseField>

<ResponseField name="response_data" type="object">
  <Expandable title="Toggle object">
    <ResponseField name="message_id" type="string">
      Unique identifier for tracking the message
    </ResponseField>

    <ResponseField name="status" type="string">
      Delivery status of the message
    </ResponseField>
  </Expandable>
</ResponseField>

```json theme={null}
{
  "response_code": "000",
  "response_message": "Message sent successfully",
  "response_data": {
    "message_id": "MSG123456789",
    "status": "sent"
  }
}
```
