---
title: "Create new action"
method: POST
path: "/push/1/applications/{applicationCode}/configurations/{configurationKey}/actions"
tags: ["channels", "mobile-app-messaging", "push-configurations-and-actions"]
---

# Create new action

`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)
- URL: `https://api.infobip.com/push/1/applications/{applicationCode}/configurations/{configurationKey}/actions`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

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

## Path parameters

- `applicationCode` string, required
- `configurationKey` string, required

## Request body

- C8cb45a488f0d2ea03cc082d0f61afb1c3b35cdd297a9f7abb6df8ac5619a483ActionRequest
  - `type` 'HTTP_FORWARD' | 'PULL', required: Action type.
  - `forwardUrl` string: URL for HTTP forward action. Required when type is HTTP_FORWARD.
  - `callbackData` string: Callback data that will be sent along with the message.

## Response `200`

Successful response

- C8cb45a488f0d2ea03cc082d0f61afb1c3b35cdd297a9f7abb6df8ac5619a483ActionResponse: List of actions.
  - `key` string, required: Action key.
  - `type` 'HTTP_FORWARD' | 'PULL', required: Action type.
  - `callbackData` string: Callback data that will be sent along with the message.
  - `forwardUrl` string: URL for HTTP forward action.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
