List workflow cards
Cards of a People workflow that are ready or snoozed, with person, step and assignee.
GET https://cotlet.dev/api/v1/planning-center/workflow-cards
read
Returns the cards behind the Ready filter of a workflow, or its Snoozed option. Each card has the person, the current step and the assignee. Use card_id with complete_workflow_step and snooze_workflow_card.
Parameters
| Name | Type | Description |
|---|---|---|
| workflow string required | string | Workflow name as People shows it. |
| view enum | enum | ready or snoozed. Default: ready. |
Request
curl "https://cotlet.dev/api/v1/planning-center/workflow-cards?workflow=workflow" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("planning-center", "list_workflow_cards", {"workflow":"workflow"}) const result = await cotlet.call('planning-center', 'list_workflow_cards', {"workflow":"workflow"}); cotlet call planning-center list_workflow_cards --data '{"workflow":"workflow"}' Example response
{
"cards": [
{
"card_id": "9031",
"person_id": "51207",
"person": "Hannah Cole",
"step": "Add welcome note",
"assignee": "Grace Miller"
},
{
"card_id": "9034",
"person_id": "51330",
"person": "Ben Ortiz",
"step": "Add welcome note",
"assignee": "Grace Miller"
}
]
}