Skip to content
API Reference
Views

List views

Returns saved view bundles for the path team. Pass ?list_id= to scope to a list (CRM) instead. Cursor pagination matches other Prism list endpoints.

GET/v2/prism/{teamId}/{objectType}/views

Returns saved view bundles for the path team. Pass ?list_id= to scope to a list (CRM) instead. Cursor pagination matches other Prism list endpoints.

x-api-key<token>

Public API key generated from Micro settings. Sent as the x-api-key header and validated by AWS API Gateway in front of the service.

In: header

Path Parameters

teamId*string
Formatuuid
objectType*string

Value in

  • "comment"
  • "action"
  • "deal"
  • "engagement"
  • "document"
  • "event"
  • "identity"
  • "organization"

Query Parameters

list_id?string

List (CRM) id to scope the listing to. When omitted, views owned by the path team are returned.

Formatuuid
cursor?string

Opaque pagination cursor (from a prior response's next_cursor); supersedes page/limit when present.

page?integer
Deprecated

1-based page number. Prefer cursor.

Range1 <= value
limit?integer

Maximum items per page (<= 50; defaults to 50).

Range0 <= value <= 50

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://developers.micro.so/v2/prism/${MICRO_TEAM_ID}/comment/views" \  -H "x-api-key: $MICRO_API_KEY"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",      "list_id": "430bbdbc-9d7f-4d06-a273-67ca4ba4ae4b",      "user_id": "string",      "name": "string",      "icon": "string",      "view_type": "string",      "combinator": "AND",      "sort_order": 0,      "column_layout": {},      "group_by": "string",      "group_sort": "string",      "group_hide_empty": true,      "group_hidden_option_ids": [],      "aggregation_type": "string",      "aggregation_prop_def_id": "f2e3c603-7b25-462c-b4a5-354ca65d9bdc",      "select": [        "string"      ],      "filter": [        {}      ],      "sort": [        {}      ],      "created_at": "string",      "updated_at": "string"    }  ],  "has_more": true,  "next_cursor": "string"}
micro.so