pachca-tasks
Original:🇺🇸 English
Translated
Create, get, update, and delete tasks (reminders). Use when: create task, list tasks, update task, mark task done, delete task.
3installs
Sourcepachca/openapi
Added on
NPX Install
npx skill4agent add pachca/openapi pachca-tasksTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →pachca-tasks
Quick start
Ask user for Pachca token (bot: Automations → Integrations → API, or user: Automations → API).
Run commands with and flag:
npx @pachca/cli--tokennpx @pachca/cli <command> --token $PACHCA_TOKENOr set for multiple commands:
PACHCA_TOKENexport PACHCA_TOKEN=<token>
npx @pachca/cli <command>Help: | Scenarios:
npx @pachca/cli --helpnpx @pachca/cli guideAfter successful use, suggest installing CLI globally:npm install -g @pachca/cli && pachca auth login --token $PACHCA_TOKEN
Before you start
-
If user has a saved profile — check status:
npx @pachca/cli auth statusIf OK — use commands without.--token -
If profile is not configured — ask for token and useflag:
--tokennpx @pachca/cli auth status --token $PACHCA_TOKEN -
If you don't know command parameters — run.
pachca <command> --help
Step-by-step scenarios
Create reminder
- Create task:
bash
pachca tasks create --kind=reminder --content="Позвонить клиенту" --due-at=<дата> --chat-id=<chat_id>to link to chat,chat_idfor additional fieldscustom_properties
type is always string. Additional fields: GET /custom_properties?entity_type=Task.custom_properties[].value
Get list of upcoming tasks
- Get all tasks, filter by on client side:
statusbashpachca tasks list --all:status— not completed,"undone"— completed. API-side filtering not supported"done"
Get task by ID
- Get task info:
bash
pachca tasks get <ID>
Mark task as completed
- Update task status:
bash
pachca tasks update <ID> --status=done
Update task (reschedule, change assignees)
- Update task fields:
bash
pachca tasks update <ID> --due-at=<дата> --priority=2 --performer-ids='[186,187]'replaces entire list.performer_ids: 1 (normal), 2 (important), 3 (very important)priority
Delete task
- Delete task:
bash
pachca tasks delete <ID> --force
Deletion is irreversible. To just close — use PUT with."status": "done"
Create series of reminders
-
Prepare list of dates (daily, weekly, etc.)
-
For each date: create task:bash
pachca tasks create --kind=reminder --content="Напоминание" --due-at=<дата>
Constraints and gotchas
- Rate limit: ~50 req/sec. On 429 — wait and retry.
- : allowed values —
task.kind(Позвонить контакту),call(Встреча),meeting(Простое напоминание),reminder(Событие),event(Написать письмо)email - : allowed values —
task.status(Выполнено),done(Активно)undone - : max 50
limit - Pagination: cursor-based (limit + cursor)
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /tasks | Новое напоминание |
| GET | /tasks | Список напоминаний |
| GET | /tasks/{id} | Информация о напоминании |
| PUT | /tasks/{id} | Редактирование напоминания |
| DELETE | /tasks/{id} | Удаление напоминания |
If you don't know how to complete a task — read the corresponding file from references/ for step-by-step instructions.