For AI agents: markdown of this page — /docs-content-en/entities/timelines/get.md documentation index — /llms.txt
Get comment
GET /v1/timelines/:id
Returns a single timeline comment by its ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
id (path) |
number | yes | Comment ID. Get the list of IDs — GET /v1/timelines |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/timelines/66303" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/timelines/66303" \
-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/timelines/66303', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Comment:', data.comment)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/timelines/66303', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
The comment object with all its fields — see Comment fields.
Response example
{
"success": true,
"data": {
"id": 66303,
"entityId": 575,
"entityType": "deal",
"comment": "First contact: the client showed interest in the offer",
"authorId": 1,
"createdAt": "2026-04-24T12:34:05.000Z"
}
}
Error response example
422 — comment not found:
{
"success": false,
"error": {
"code": "BITRIX_ERROR",
"message": "Not found."
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 422 | BITRIX_ERROR |
A comment with the specified ID does not exist |
| 403 | SCOPE_DENIED |
The API key lacks the crm scope |
| 401 | TOKEN_MISSING |
The API key has no configured tokens |
Full list of common API errors — Errors.
See also
- List comments — search with filters
- Update comment — change the text
- Delete comment
- Comment fields — full field list
- Limits and optimization — rate limits