Sms - Outgoing

Send sms messages.

post/v4/sms/outgoing

Request

  • Base URL: https://api.inmobile.com
  • URL: https://api.inmobile.com/v4/sms/outgoing
  • Auth: one of:
    • HTTP basic
    • API key in query parameter apikey

Request body

Example request

{
  "messages": [
    {
      "to": "4512345678",
      "countryHint": "45",
      "messageId": "PetShop",
      "respectBlacklist": true,
      "validityPeriodInSeconds": 90,
      "statusCallbackUrl": "https://[your_domain]/your/desired/path",
      "sendTime": "2001-02-30T14:50:23Z",
      "msisdnCooldownInMinutes": 1440,
      "text": "This is a message text to be sent",
      "from": "PetShop",
      "encoding": "gsm7"
    }
  ]
}

Response

Example response

{
  "results": [
    {
      "numberDetails": {
        "countryCode": "45",
        "phoneNumber": "12345678",
        "rawMsisdn": "45 12 34 56 78",
        "msisdn": "4512345678",
        "isValidMsisdn": true,
        "countryHint": "45"
      },
      "text": "This is a message text to be sent",
      "from": "PetShop",
      "smsCount": 1,
      "messageId": "PetShop",
      "encoding": "gsm7"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.