Sms - Outgoing

Get sms status reports.

Each report will only be returned once. Once called, the status has been removed 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/outgoing/reports

Request

  • Base URL: https://api.inmobile.com
  • URL: https://api.inmobile.com/v4/sms/outgoing/reports
  • 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 status reports

Example response

{
  "reports": [
    {
      "messageId": "id1",
      "numberDetails": {
        "countryCode": "45",
        "phoneNumber": "12345678",
        "rawMsisdn": "45 12 34 56 78",
        "msisdn": "4512345678",
        "isValidMsisdn": true,
        "countryHint": "45"
      },
      "deliveryInfo": {
        "stateDescription": "Failed",
        "sendTime": "2001-02-30T14:50:23Z",
        "doneTime": "2001-02-30T14:50:23Z",
        "errorCode": -1,
        "errorDescription": "Undeliverable message"
      },
      "chargeInfo": {
        "isCharged": true,
        "smsCount": 2,
        "encoding": "gsm7"
      }
    }
  ]
}

Changes

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