Respond to schedule request

Accept or decline your own pending request for a plan, as you.

POST https://cotlet.dev/api/v1/planning-center/plans/{plan_id}/schedule-request/replies

write Confirm

Answers all your pending positions on the plan, like Accept pending or Decline all on the plan card in My Schedule. A decline notifies your team leaders. Positions split into several times are not answered here; answer them in Planning Center. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: respond_to_schedule_request
NameTypeDescription
plan_id string required string Plan id from list_my_schedule.
response enum required enum accept or decline.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/planning-center/plans/plan_8c41d2/schedule-request/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"response":"accept"}'
Python
result = client.call("planning-center", "respond_to_schedule_request", {"plan_id":"plan_8c41d2","response":"accept"})
Node.js
const result = await cotlet.call('planning-center', 'respond_to_schedule_request', {"plan_id":"plan_8c41d2","response":"accept"});
CLI
cotlet call planning-center respond_to_schedule_request --data '{"plan_id":"plan_8c41d2","response":"accept"}'

Example response

JSON

{
  "plan_id": "71234",
  "response": "accept",
  "positions": [
    {
      "team": "Band",
      "position": "Keys",
      "status": "confirmed"
    }
  ]
}

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.