channels
open-channel
receive-open-channel

Send Open Channel inbound message

Sends a message to Open Channel destination registered on Infobip platform.

post/open-channel/1/messages/inbound

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

senderstring required

Unique end user sender ID.

destinationstring required

Open Channel destination ID registered on Infobip platform, required to be in UUID format.

metadataobject

Metadata which will be passed through message to be used in product business logic.

Example request

{
  "sender": "2324435353424",
  "destination": "2235ca45-afdd-47c9-a326-cf66e9872dda",
  "content": {
    "body": {
      "text": "Text of the example message.",
      "type": "TEXT"
    }
  },
  "responseWebhook": {
    "callbackData": "exampleCallbackData"
  },
  "metadata": {
    "field": "value"
  }
}

Response

OK

status'MESSAGE_ACCEPTED'

Message processing status.

Example response

{
  "status": "MESSAGE_ACCEPTED"
}

Changes

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