Skip to main content
Execute an action

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Project-Id
string

The project to act on, by ID or name. Required with an organization key unless the key reaches only one project; list projects with GET /projects. A project key acts on its own project and needs no value: naming another one is an error.

Path Parameters

actionId
string
required

The ID or key of the action to execute.

Body

application/json
contentIds
string[]

The IDs of the content items to perform the action on.

authorIds
string[]

IDs of the authors to apply the action to

queueId
string

The ID of the queue the action was performed from if any.

value
string

The value of the action. Useful to set a reason for the action etc.

Response

Action executed successfully

success
boolean
required

Action executed successfully.

actionId
string
required

The ID of the action.

ids
string[]
required

The IDs of the content items.