Approve or reject a task

Approve and send a post, or reject it with a comment.

POST https://cotlet.dev/api/v1/sendible/tasks/{task_id}/decide

write Confirm

approve is Sendible's Approve & Send: the post goes out as scheduled, or at once if its publish time has passed ("Received on" in list_tasks). reject returns the post to the sender's task list with your comment followed by "[Rejected]". Marking a task as done is not approval and is not offered here. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: decide_task
NameTypeDescription
task_id string required string Task from list_tasks, view for_me.
decision enum required enum approve or reject.
comment string string Note for the sender. Shown with a reject.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/sendible/tasks/task_8c41d2/decide \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"decision":"approve"}'
Python
result = client.call("sendible", "decide_task", {"task_id":"task_8c41d2","decision":"approve"})
Node.js
const result = await cotlet.call('sendible', 'decide_task', {"task_id":"task_8c41d2","decision":"approve"});
CLI
cotlet call sendible decide_task --data '{"task_id":"task_8c41d2","decision":"approve"}'

Example response

JSON

{
  "task_id": "task_5502",
  "post_id": "post_77a1",
  "decision": "approve",
  "status": "scheduled",
  "send_at": "2026-10-23T09:00:00+01:00"
}

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.