---
updatedAt: 2025-02-12T22:19:20.000Z
agentTools:
  projectIndex: https://developers.melroselabs.com/llms.txt
---

# Send message to Iridium

Send a message to an Iridium device using SMS. The message will be received when the device is in coverage.<br/><br/>An individual SMS text message can be up to 160 characters in length, has a source (or sender) address and a destination (or recipient) address.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Iridium API",
    "description": "The Iridium API is used for SMS and SBD communication with Iridium satellite mobile devices.<br/><br/>The Iridium API allows a message to be sent, and received from, any Iridium device located anywhere in the world. The device must be able to communicate with the Iridium network and therefore must have a clear view of the sky at the time of communication. SMS messages normally reach an Iridum device in around 22 seconds. Each SMS message can be up to 160 characters in length.",
    "contact": {
      "name": "Melrose Labs - Technical Support",
      "email": "support@melroselabs.com"
    },
    "version": "2023-01-18T09:47:46Z"
  },
  "servers": [
    {
      "url": "https://api.melroselabs.com/{basePath}",
      "variables": {
        "basePath": {
          "default": "/iridium"
        }
      }
    }
  ],
  "paths": {
    "/sms": {
      "post": {
        "tags": [
          "Send SMS"
        ],
        "summary": "Send message to Iridium",
        "description": "Send a message to an Iridium device using SMS. The message will be received when the device is in coverage.<br/><br/>An individual SMS text message can be up to 160 characters in length, has a source (or sender) address and a destination (or recipient) address.",
        "requestBody": {
          "description": "Request body containing the message and Iridium number.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MessageTo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Message successfully sent to Iridium gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessSend"
                }
              }
            }
          },
          "400": {
            "description": "Request is invalid (missing or malformed parameters).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Unable to send message to Iridium gateway. There was either a temporary or permanent problem encountered when attempting to send the message. Retrying may result in success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "api_key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "title": "Error Schema",
        "required": [
          "message"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Will indicate the error encountered that prevented the message being sent to the Iridum device."
          }
        },
        "description": "Model for a unsuccessful message sending."
      },
      "SuccessSend": {
        "title": "SuccessSend Schema",
        "required": [
          "transactionID"
        ],
        "type": "object",
        "properties": {
          "transactionID": {
            "type": "string",
            "description": "Will contain <code>transaction ID</code> for a successful send. This indicates that the message has been sent to the Iridium gateway. Note that it does not indicate that the message has been delivered to the Iridium device."
          }
        },
        "description": "Model for a successful message sent."
      },
      "MessageTo": {
        "title": "MessageTo Schema",
        "required": [
          "iridiumNo",
          "message"
        ],
        "type": "object",
        "properties": {
          "iridiumNo": {
            "title": "Iridium Number",
            "type": "string",
            "description": "Iridium satellite phone number. Starts with 881."
          },
          "message": {
            "title": "Message Text",
            "type": "string",
            "description": "Message text to be sent to phone (ASCII). Message can be up to 75 characters in length."
          }
        },
        "description": "Model for a message being sent to an Iridium device. Contains Iridium phone number and message."
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```