Create an approval request

Creates a new approval request in pending state for the given entity action. Returns
409 Conflict (with the existing request's id in the error context) if a pending request
already exists for the same account, entity type, entity id, rule code, and submitter.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the account that owns the approval request.

Body Params

Creates a new approval request in pending state for the given entity action.

Payload to create a new approval request.

string
enum
required

Type of entity an approval rule or request applies to (e.g., experience).

Allowed:
string
required

ID of the entity being acted on.

string | null

ID of the project that owns the entity being acted on, or null when the entity is not project-scoped. Required for project-scoped entity types.

string
enum
required

Code of a predefined approval rule. Each value maps to an entity type and a specific
action (e.g., experience.activate).

Allowed:
string

Optional context to provide background for the approver.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json