POST
/v1/definitions/{key}/actionsAdd a row action to a page
Adds a button to a record page's action bar. kind is add_row (the default), builtin or workflow, label is up to 60 characters, and icon and config carry what the kind needs — a workflow action's config names the workflow it runs. The new button goes last on the bar. Workspace admin.
Access class: def:admin.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Parameters
Values are applied to the request and the example on the right.
keypath · stringrequired
Request body
application/jsonrequiredbodyoptional
paramsoptional
queryobjectoptional
Responses
201application/json
the action's answer
{
"data": {
"config": {},
"enabled": true,
"icon": "string",
"id": "",
"kind": "string",
"label": "string",
"position": 1
}
}dataoptional
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired