Send scheduling emails

Send the scheduling emails that are still waiting on a plan, for one team, one person or everyone.

POST https://cotlet.dev/api/v1/planning-center/plans/{plan_id}/scheduling-emails

write Confirm

Does what the Send button on the Teams tab does: emails people whose prepared notification is unsent, with their times, Accept and Decline buttons and a plan link. People who already got their email are skipped. Returns who was emailed. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_scheduling_emails
NameTypeDescription
plan_id string required string Plan id from list_service_plans.
team string string Team name, for example Band. Default: every team of the plan.
person_id string string Email only this person. Overrides team.
message string string Custom text added to the email.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/planning-center/plans/71234/scheduling-emails \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"team":"Band"}'
Python
result = client.call("planning-center", "send_scheduling_emails", {"plan_id":"71234","team":"Band"})
Node.js
const result = await cotlet.call('planning-center', 'send_scheduling_emails', {"plan_id":"71234","team":"Band"});
CLI
cotlet call planning-center send_scheduling_emails --data '{"plan_id":"71234","team":"Band"}'

Example response

JSON

{
  "plan_id": "71234",
  "team": "Band",
  "sent": [
    {
      "person_id": "48215",
      "name": "Dana Whitfield"
    },
    {
      "person_id": "48377",
      "name": "Marcus Bell"
    },
    {
      "person_id": "48642",
      "name": "Priya Nair"
    }
  ],
  "skipped_already_emailed": 0
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.