Sender ID Status API

Check if a Sender ID has been approved.

# Sender ID Status API

Check the approval status of a Sender ID. Note: This API requires X-API-VASKEY in the header for authentication.

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

## 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 status function. Must be 1. |
| senderid | string | Yes | Sender ID to check. |

## Response (200 (Success) Success)
Sender ID is Approved.

```json
{
  "status": 1,
  "code": "ASMQ01",
  "message": "Sender ID Status",
  "data": {
    "senderid": "SmartSMS",
    "approval": "Approved",
    "whitelisted": false
  },
  "go": null
}
```

## Response (200 (Pending) Pending)
Sender ID is Pending approval.

```json
{
  "status": 1,
  "code": "ASMQ01",
  "message": "Sender ID Status",
  "data": {
    "senderid": "Dummy",
    "approval": "Pending",
    "whitelisted": false
  },
  "go": null
}
```

## Response (200 (Rejected) Rejected)
Sender ID is Rejected.

```json
{
  "status": 1,
  "code": "ASMQ01",
  "message": "Sender ID Status",
  "data": {
    "senderid": "Momo",
    "approval": "Rejected",
    "whitelisted": false
  },
  "go": null
}
```

Back to the Moolre AI documentation index