---
title: "Add Action"
method: POST
path: "/action"
tags: ["action"]
---

# Add Action

`POST /action`

Add a new Action

## Response `201`

successful operation

- Action — Class Action
  - `actionId` integer — The Action Id
  - `ownerId` integer — The Owner Id
  - `triggerType` string — The Action trigger type
  - `triggerCode` string — The Action trigger code
  - `actionType` string — The Action type
  - `source` string — The Action source (layout, region or widget)
  - `sourceId` integer — The Action source Id (layoutId, regionId or widgetId)
  - `target` string — The Action target (region)
  - `targetId` integer — The Action target Id (regionId)
  - `widgetId` integer — Widget ID that will be loaded as a result of navigate to Widget Action type
  - `layoutCode` string — Layout Code identifier
  - `layoutId` integer — Layout Id associated with this Action

---

[API](https://skmtc.net/xibosignage/apis/xibo-api.md) · [All operations](https://skmtc.net/xibosignage/apis/xibo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xibosignage/xibo-api/revisions/fe497e811c7f/schema)
