For AI agents: markdown of this page — /docs-content-en/scrum/epics/get.md documentation index — /llms.txt
Get an epic
GET /v1/scrum/epics/:id
Returns a single scrum-project epic by its identifier.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
id (path) |
number | yes | Epic identifier. List: GET /v1/scrum/epics |
Examples
curl — personal key
curl https://vibecode.bitrix24.com/v1/scrum/epics/7 \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth app
curl https://vibecode.bitrix24.com/v1/scrum/epics/7 \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/scrum/epics/7', {
headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { data } = await res.json()
console.log('Epic:', data.name)
JavaScript — OAuth app
const res = await fetch('https://vibecode.bitrix24.com/v1/scrum/epics/7', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Always true on success |
data.id |
number | Epic identifier |
data.groupId |
number | Epic's scrum project. List: GET /v1/workgroups |
data.name |
string | Epic name |
data.description |
string | Epic description |
data.createdBy |
number | Epic author. List: GET /v1/users |
data.modifiedBy |
number | Who edited the epic last. 0 if it was never edited. List: GET /v1/users |
data.color |
string | Epic color in HEX format |
data.files |
array | Epic attachment file IDs, e.g. [417] |
Response example
{
"success": true,
"data": {
"id": 7,
"groupId": 45,
"name": "Reports",
"description": "Summary reports by sprint",
"createdBy": 1,
"modifiedBy": 1,
"color": "#69dafc",
"files": [417]
}
}
An epic with no attachments has files as an empty array [].
Error response example
404 — not found:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "Epic not found"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 400 | INVALID_PARAMS |
id is not a positive integer |
| 404 | ENTITY_NOT_FOUND |
No epic exists with the given id |
| 403 | SCOPE_DENIED |
The key lacks the task scope |
| 401 | TOKEN_MISSING |
The key has no configured tokens |
Full list of common API errors — Errors.