POST
/v1/definitions/{key}/viewsSave a view of a page
Saves a view on a record page: its key (a slug), label (up to 80 characters), and the filter, sort and columnIds it restores. scope defaults to user, which is the caller's own private view; workspace makes it everyone's and needs a workspace admin. A key already used in that scope is a 409. This is the one write under a page's shape that an ordinary member may make, because a user view is theirs.
Access class: def:read.
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": {
"columnIds": [
"string"
],
"crmUserId": 1,
"filter": {},
"id": "",
"key": "string",
"label": "string",
"position": 1,
"scope": "string",
"sort": {}
}
}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