Sms - Incoming

Get incoming sms messages.

Each message will only be returned once. Once called, the message has been marked as read from our side and cannot be retrieved again using this method. Using api callbacks in combination with this call does not conflict.

get/v4/sms/incoming/messages

Request

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

Query parameters

limitinteger

How many records to return (must be between 1 and 250)

Response

A list of messages

Example response

{
  "messages": [
    {
      "from": {
        "countryCode": "45",
        "phoneNumber": "12345678",
        "rawSource": "4512345678",
        "isValidMsisdn": true
      },
      "to": {
        "countryCode": "45",
        "phoneNumber": "12345678",
        "msisdn": "4512345678"
      },
      "text": "This is a message text",
      "receivedAt": "2001-02-30T14:50:23Z"
    }
  ]
}

Changes

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