Performance, pipeline & forecast
Rep breakdown
Companies the rep visited in the period, one by one: visits and their status, opportunity movements (events), open opportunities and amount, the next action written on the last visit (next; warn when missing on a visit needing attention). unvisited: companies with an opportunity that were not visited in the period. A sales user can open only their own.
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope:
crm.readPath parameters
idintegerrequiredUser id.
Query parameters
pstringoptionaldefault: 90Period.
Values
3090mqyErrors
| HTTP | error | Meaning |
|---|---|---|
403 | forbidden | You may not see / edit this record. |
404 | not_found | Record not found. |
Request
curl https://ornek.solk.app/api/v1/performance/rep/{id} \
-H "Authorization: Bearer $SOLK_API_KEY"const res = await fetch("https://ornek.solk.app/api/v1/performance/rep/{id}", {
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/performance/rep/{id}",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
)
print(r.json())Response