Skip to content
Go to Micro

Lists

Create a list (app/CRM)
client.Prism.Lists.New(ctx, params) (*List, error)
POST/v2/prism/{teamId}/lists
List apps/CRMs in a workspace
client.Prism.Lists.List(ctx, query) (*PrismListListResponse, error)
GET/v2/prism/{teamId}/lists
Get a list by id
client.Prism.Lists.Get(ctx, listID, query) (*List, error)
GET/v2/prism/{teamId}/lists/{listId}
ModelsExpand Collapse
type List struct{…}
ID string
formatuuid
Name string
minLength1
ObjectType ListObjectType

Prism object type this list holds.

One of the following:
const ListObjectTypeOrganization ListObjectType = "organization"
const ListObjectTypeIdentity ListObjectType = "identity"
const ListObjectTypeAction ListObjectType = "action"
const ListObjectTypeDocument ListObjectType = "document"
const ListObjectTypeDeal ListObjectType = "deal"
TeamID string
formatuuid
CreatedAt TimeOptional
formatdate-time
Description stringOptional
Icon stringOptional

Emoji or icon key for the list.

Type stringOptional

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

Views []ListViewOptional
ID string
formatuuid
Name stringOptional
type ListCreate struct{…}
TemplateID ListCreateTemplateID

Template to seed the list from. type is derived server-side from this template.

One of the following:
const ListCreateTemplateIDSalesDeals ListCreateTemplateID = "sales_deals"
const ListCreateTemplateIDRecruiting ListCreateTemplateID = "recruiting"
const ListCreateTemplateIDPartnerships ListCreateTemplateID = "partnerships"
const ListCreateTemplateIDFundraising ListCreateTemplateID = "fundraising"
const ListCreateTemplateIDKnowledgeBase ListCreateTemplateID = "knowledge_base"
const ListCreateTemplateIDIssueTracker ListCreateTemplateID = "issue_tracker"
const ListCreateTemplateIDContentCalendar ListCreateTemplateID = "content_calendar"
const ListCreateTemplateIDJobApplications ListCreateTemplateID = "job_applications"
const ListCreateTemplateIDProjectTracker ListCreateTemplateID = "project_tracker"
const ListCreateTemplateIDFeedback ListCreateTemplateID = "feedback"
const ListCreateTemplateIDPortcoTracker ListCreateTemplateID = "portco_tracker"
const ListCreateTemplateIDDealFlow ListCreateTemplateID = "deal_flow"
const ListCreateTemplateIDLpFundraising ListCreateTemplateID = "lp_fundraising"
const ListCreateTemplateIDCustom ListCreateTemplateID = "custom"
Icon stringOptional

Emoji or icon override.

minLength1
maxLength32
Name stringOptional
minLength1
maxLength255
ObjectType ListCreateObjectTypeOptional

Required only when template_id is custom.

One of the following:
const ListCreateObjectTypeOrganization ListCreateObjectType = "organization"
const ListCreateObjectTypeIdentity ListCreateObjectType = "identity"
const ListCreateObjectTypeAction ListCreateObjectType = "action"
const ListCreateObjectTypeDocument ListCreateObjectType = "document"
const ListCreateObjectTypeDeal ListCreateObjectType = "deal"