Tasks
The follow-up tasks on your account's Tasks page: the ones the investigator writes after a check, and the ones your team or your systems add. Tasks never use a check.
GET /api/v1/tasks
| PARAMETER | DESCRIPTION |
|---|---|
status | open (default), done, dismissed or all. |
entity | Comma-separated entity ids, or general for tasks with no company. |
by | Who made the task: investigator, user, chat, signal. Tasks added through the API are your account's own: user. |
q | Search title and note. |
sort · order | updated (default), title, entity, by, files. |
limit · cursor | 1–200, default 50. Pass nextCursor back for the next page. |
Each item: id, title, note, status, source, entity ({ id, name } or null), finding (the finding it came from, if any), files, createdAt, updatedAt. The response also carries counts per filter value.
POST /api/v1/tasks
title (required, up to 200 characters), note (up to 500), and entityId — leave it out for a general task. Answers 201 with the new task. Its history says it was added through the API.
PATCH /api/v1/tasks/{id}
Any of status (open or done), title, note. Answers with the task. Tasks are never deleted through the API.
Example
curl -X POST -H "x-api-key: vk_live_…" -H "Content-Type: application/json" \
-d '{"title":"Ask for the signed UBO declaration","entityId":"denue-7785482"}' \
https://app.verety.ai/api/v1/tasks
curl -X PATCH -H "x-api-key: vk_live_…" -H "Content-Type: application/json" \
-d '{"status":"done"}' https://app.verety.ai/api/v1/tasks/6b058d77-…
Errors
| STATUS | CODE | WHEN |
|---|---|---|
| 400 | missing_title | No title. |
| 400 | invalid_parameters | Too long, a status other than open or done, or nothing to change; detail says which. |
| 404 | unknown_id | The entity id is not a company id. |
| 404 | not_found | No such task in your account. |