Text Reload API Documentation

The TextReload SMS API allows you to send SMS messages and check message status programmatically. API access is disabled by default on Text Reload accounts. Please contact [email protected] to get API access enabled.

Authentication

All API requests require authentication using API keys provided to you.

Include the following header with all requests:

Authorization: token {api_key}:{api_secret}

Send SMS

Send an SMS message to a specified destination.

URL: https://app.textreload.com/api/method/textreload_app.api.messages.send

Method: POST

Request Body:

{
  "destination": "+64211234567",  // NZ mobile number
  "content": "Your SMS message content"
}

Response:

{
  "message": {
    "success": true,
    "message_id": "MSG12345"
  }
}

Error Response:

{
  "message": {
    "success": false,
    "message": "Error message"
  }
}

Check Message Status

Check the status of a previously sent message.

URL: https://app.textreload.com/api/method/textreload_app.api.messages.status

Method: POST

Request Body:

{
  "message_id": "MSG12345"
}

Response:

{
  "message": {
    "message_id": "92r080hrec",
    "status": "Success",
    "sent_date": "2025-03-31 06:43:20.660635",
    "destination": "+64211234567",
    "content": "Your SMS message content"
  }
}

Error Response:

{
  "message": {
    "success": false,
    "message": "No message found with ID MSG12345"
  }
}