API Reference / Knowledge - Action Items
Pin an action item to a sprint
post
https://api.intelig.ai/api/v1/intelig/knowledge/action-items/{id}/pin
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: pinActionItem
Pin the action item to the given sprint, or move it from its current sprint to a new one. The aggregate emits ActionItemPinnedToSprintEvent with fromSprintId populated on a move. No-op when already pinned to the same sprint.
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/knowledge/action-items/1/pin?sprintId=1" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
sprintId | integer (int64) | yes | — |
Response 200
application/json · ApiResponseActionItemDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | ActionItemDto | Action item details |
Status codes
200— Pinned401— Organization context not set403— Insufficient permissions for Knowledge pillar404— Action item or sprint not found429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.