Create Sender ID API

Register new Sender IDs for SMS.

# Create Sender ID API

Request a new Sender ID for your SMS campaigns. Note: This API requires X-API-VASKEY in the header for authentication.

## Endpoint
- **Method**: POST
- **URL**: https://api.moolre.com/open/sms/query

## Headers
| Header | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| X-API-VASKEY | string | Yes | Your SMS API VAS key. |

## Request Body
| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| type | integer | Yes | ID of the sender ID creation function. Must be 3. |
| senderids | array | Yes | An array of sender ID objects containing senderid (max 11 chars) and optional approve boolean. |

## Response (200 Success)
Registration request submitted.

```json
{
  "status": 1,
  "code": "ASMQ12",
  "message": "Sender IDs Created Successfully.",
  "data": null,
  "go": null
}
```

## Response (400 Permission Denied)
You do not have permission to approve Sender IDs.

```json
{
  "status": 0,
  "code": "ASMQ09",
  "message": "You do not have permission to approve Sender IDs. Contact Customer Support.",
  "data": "senderid",
  "go": null
}
```

Back to the Moolre AI documentation index