channels
mobile-app-messaging
push-configurations-and-actions

Create new action

Create a new action for an MO (Mobile Originated) message configuration. Supported action types are HTTP_FORWARD and PULL.

post/push/1/applications/{applicationCode}/configurations/{configurationKey}/actions

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

Path parameters

applicationCodestring required

Application code identifying the application.

configurationKeystring required

Configuration key identifying the configuration.

Request body

type'HTTP_FORWARD' | 'PULL' required

Action type.

forwardUrlstring

URL for HTTP forward action. Required when type is HTTP_FORWARD.

callbackDatastring

Callback data that will be sent along with the message.

Response

Successful response

keystring required

Action key.

type'HTTP_FORWARD' | 'PULL' required

Action type.

callbackDatastring

Callback data that will be sent along with the message.

forwardUrlstring

URL for HTTP forward action.

Changes

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