Actions & tasks
Get an action
The action with its context: company, project, the chain before / after it (chain_before, chain_after), the company's other open work and e-mail threads.
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Module: TasksScope:
crm.readPath parameters
kindstringrequiredAction kind:
task, visit (next action of a visit), demo (next action of a trial), step (opportunity step).Values
taskvisitdemostepridintegerrequiredAction id (
id in the list).Errors
| HTTP | error | Meaning |
|---|---|---|
404 | not_found | Record not found. |
Request
curl https://ornek.solk.app/api/v1/actions/task/23 \
-H "Authorization: Bearer $SOLK_API_KEY"const res = await fetch("https://ornek.solk.app/api/v1/actions/task/23", {
headers: {
Authorization: `Bearer ${process.env.SOLK_API_KEY}`,
},
});
const data = await res.json();import os, requests
r = requests.get(
"https://ornek.solk.app/api/v1/actions/task/23",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
)
print(r.json())Response
{
"action": {
"act": {
"addr": "Bursa",
"c": 31,
"mail": "emre.yildiz@kuzeyplastik.com.tr",
"n": "Kuzey Plastik Sanayi",
"tel": "+90 532 555 11 22",
"url": "/customers/31",
"wa": "905325551122",
"who": "Emre Yıldız"
},
"chain_after": [],
"chain_before": [],
"customer": "Kuzey Plastik Sanayi",
"customer_id": 31,
"date": "2026-10-04",
"detail": "2027 listesi, €/kg",
"done": false,
"done_at": null,
"editable": true,
"icon": "📋",
"id": 23,
"key": "task:23",
"kind": "task",
"label": "Fiyat listesini gönder",
"opp": "",
"opp_id": null,
"others": [
{
"customer": "",
"customer_id": null,
"date": "2026-10-05",
"icon": "⚡",
"id": 106,
"key": "visit:106",
"kind": "visit",
"label": "Teklif gönder",
"opp": "Streç film tedariki",
"opp_id": 53,
"src": "Ziyaret",
"state": "soon",
"url": "/action/visit/106"
}
],
"result": "",
"rid": "00TxuMVTniYx44l",
"src": "Görev",
"state": "soon",
"threads": [],
"threads_n": 0,
"user": {
"full_name": "Deniz Aksoy",
"id": 1,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
}
},
"ok": true
}Example responses were captured from a v22 installation running sample data; lists are shortened to two items.