Create a list (app/CRM)
POST/v2/prism/{teamId}/lists
Creates a list from a template. Seeds properties, pipeline stages (when applicable), and default views — identical to the session-auth /default_app/create path. API-key callers are fully supported; type is derived from template_id and must not be supplied.
Create a list (app/CRM)
curl https://developers.micro.so/v2/prism/$TEAM_ID/lists \
-H 'Content-Type: application/json' \
-H "x-api-key: $MICRO_API_KEY" \
-d '{
"template_id": "sales_deals"
}'{
"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
{
"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"
}
]
}