Actions
An action is what a decision turns into: allow, reject, a change of author status, or an operation you define in the dashboard. Every execution is logged and emits the action.executed webhook event.
Endpoints
The action object
An operation that can be executed on a moderation or on an author. Every project has five built-in actions; others are defined in the dashboard.
{
"object": "action",
"id": "act_2BdP4rjezzQ5PTND66nyLi",
"project_id": "prj_0TBAgHGtdMketrbltGFHuk",
"key": "request_edits",
"name": "Request edits",
"description": "Send the content back to its author with what to change. Your webhook receives the message.",
"target": "content",
"queue_behavior": "resolve",
"visible_in_dashboard": true,
"accepts_value": true,
"value_schema": null,
"built_in": false,
"enabled": true,
"position": 5,
"created_at": "2026-10-08T08:44:38.841Z",
"updated_at": "2026-10-08T08:44:38.841Z"
}Attributes
object"action"Always
action.idstringId of the action:
act_plus 22 base62 characters. API paths usekeyinstead.keystringThe name used in
POST /v1/actions/{key}/executeand in a queue item'sresolution, in snake_case. Unique in the project.namestringDisplay name.
targetenumcontent: executed on a moderation.author: executed on an author.One of
contentauthorqueue_behaviorenumWhat an execution does to the moderation's review queue item:
resolveit,keepit as it is, orreopenit.One of
resolvekeepreopenaccepts_valuebooleanWhether an execution may carry a
value.built_inbooleanTrue for
allow,reject,block_author,suspend_authorandenable_author, which every project has and which cannot be deleted.enabledbooleanFalse for an action that is switched off and refuses to execute.
GET /v1/actionslists enabled actions only, so it is always true there.project_idstringId of the project:
prj_plus 22 base62 characters.descriptionstringWhat the action is for, or null.
visible_in_dashboardbooleanWhether the action is offered to reviewers in the dashboard.
value_schemaA description of the expected
value, or null. It is stored for your reference and not enforced.positionintegerPlace of the action in lists, an integer from 0.
created_attimestampWhen the action was created, ISO 8601 in UTC.
updated_attimestampWhen the action last changed, ISO 8601 in UTC.
Something missing or unclear on this page? Write to support@useinfrared.com.