Create an action
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-Disable-Hooks
Query parameters
spaceId
The Space ID for which to create the Action.
Request
This endpoint expects an object.
label
The text on the Button itself
targetId
confirm
Whether to show a modal to confirm the action
constraints
A limitation or restriction on the action.
createdFrom
The action that this action was cloned from
deletedAt
The time this action was deleted
description
The text that appears in the dialog after the action is clicked.
guardrail
guide
icon
Icon will work on primary actions. It will only accept an already existing Flatfile design system icon.
inputForm
Adds an input form for this action after it is clicked.
lastPropagatedAt
The last time this action was propagated to a workbook
messages
mode
Foreground and toolbarBlocking action mode will prevent interacting with the resource until complete
Allowed values:
mount
operation
This will become the job operation that is triggered
primary
A primary action will be more visibly present, whether in Sheet or Workbook.
schedule
Determines if the action should happen on a regular cadence.
Allowed values:
tooltip
A tooltip that appears when hovering the action button
type
This is deprecated.
requireAllValidDeprecated
This is deprecated. Use constraints
instead.
requireSelectionDeprecated
This is deprecated. Use constraints
instead.
slugDeprecated
This is deprecated. Use operation
instead.
Response
This endpoint returns an object.
data