POST
/
v1
/
views
curl --request POST \
  --url https://platform.thena.ai/v1/views \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "My View",
  "description": "My View Description",
  "teamId": "T00M677SAK",
  "viewsTypeId": "3ENSBTAJ10QG1HAFYYNHADB58PKM5",
  "isShared": true,
  "configuration": {}
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "teamId": "<string>",
    "viewId": 123,
    "name": "<string>",
    "description": "<string>",
    "configuration": {},
    "viewsTypeId": "<string>",
    "viewsType": "<string>",
    "owner": "<string>",
    "ownerId": "<string>",
    "isShared": true,
    "isPersonal": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.