Skip to content
Go to Micro

List apps/CRMs in a workspace

prism.lists.list(ListListParams**kwargs) -> ListListResponse
GET/v2/prism/{teamId}/lists

Returns non-core lists the caller can access in the workspace. Core system apps (Messages, All Inbox) are excluded.

ParametersExpand Collapse
team_id: Optional[str]
formatuuid
ReturnsExpand Collapse
class ListListResponse:
data: List[List]
id: str
formatuuid
name: str
minLength1
object_type: Literal["organization", "identity", "action", 2 more]

Prism object type this list holds.

One of the following:
"organization"
"identity"
"action"
"document"
"deal"
team_id: str
formatuuid
created_at: Optional[datetime]
formatdate-time
description: Optional[str]
icon: Optional[str]

Emoji or icon key for the list.

type: Optional[str]

Internal template type (e.g. dealFlow, hiring). Derived from template_id on create.

views: Optional[List[View]]
id: str
formatuuid
name: Optional[str]

List apps/CRMs in a workspace

import os
from micro_so import Micro

client = Micro(
    api_key=os.environ.get("MICRO_API_KEY"),  # This is the default and can be omitted
)
lists = client.prism.lists.list()
print(lists.data)
{
  "data": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "name": "x",
      "object_type": "organization",
      "team_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "created_at": "2019-12-27T18:11:19.117Z",
      "description": "description",
      "icon": "icon",
      "type": "type",
      "views": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "name": "name"
        }
      ]
    }
  ]
}
Returns Examples
{
  "data": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "name": "x",
      "object_type": "organization",
      "team_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "created_at": "2019-12-27T18:11:19.117Z",
      "description": "description",
      "icon": "icon",
      "type": "type",
      "views": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "name": "name"
        }
      ]
    }
  ]
}