Skip to main content
POST
Create a stored action

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Body

application/json
data
object
required

The shape of the payload that must be sent to create a Stored Action.

Only the triple (selected_api, action_type, action_key) is accepted — action_id is intentionally not exposed on this endpoint.

Response

A StoredAction record was successfully created.

The response returned from creating a Stored Action record.

id
string<uuid>
required

The UUID id that identifies this stored action and can be used to execute the stored procedure by calling the POST /stored-actions/{stored_action_id}/run endpoint.

type
string
default:stored_action

Specifies the resource type, as required by the JSON:API specification.