> **The method is rolling out in update `crm 26.2000.0`.** It is not available on every Bitrix24 account. If the method is not yet available on your account, the API returns `422 METHOD_NOT_YET_AVAILABLE` — this indicates that the update has not reached the account yet, rather than an integration error.

## Get an analytics trace

`GET /v1/crm-traces/:id`

Reads a visit, its source, channels and viewed pages by the trace identifier.

> This operation requires the `crm-tracking-v3` flag and the REST v3 analytics capability enabled in the Bitrix24 account. The key needs the `crm` scope.

A `READONLY` key can read this resource.

## Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `id` (path) | number | yes | — | Positive trace ID from the [list](/docs/entities/crm-traces/v3-list) or [create response](/docs/entities/crm-traces/v3-create). |

## Examples

### curl — personal key

```bash
curl -X GET "https://vibecode.bitrix24.com/v1/crm-traces/1" \
  -H "X-Api-Key: YOUR_API_KEY"
```

### curl — OAuth application

```bash
curl -X GET "https://vibecode.bitrix24.com/v1/crm-traces/1" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -H "Authorization: Bearer USER_SESSION_TOKEN"
```

### JavaScript — personal key

```javascript
const res = await fetch('https://vibecode.bitrix24.com/v1/crm-traces/1', {
  "method": "GET",
  "headers": {
    "X-Api-Key": "YOUR_API_KEY"
  }
})
const result = await res.json()
console.log(result)
```

### JavaScript — OAuth application

```javascript
const res = await fetch('https://vibecode.bitrix24.com/v1/crm-traces/1', {
  "method": "GET",
  "headers": {
    "X-Api-Key": "YOUR_APP_KEY",
    "Authorization": "Bearer USER_SESSION_TOKEN"
  }
})
const result = await res.json()
console.log(result)
```

## Response fields

| Field | Type | Description |
|---|---|---|
| `success` | boolean | `true` |
| `data` | object | One visit trace. |
| `data.id` | number | Trace ID. |
| `data.sourceId` | number or null | Analytics source ID. |
| `data.createdTime` | string | Creation time, ISO 8601. |
| `data.isMobile` | boolean | Whether the visit used a mobile device. |
| `data.channels` | array | Channels with `code`, `value` fields. Text can be `null`. |
| `data.pages` | array | Pages with `url`, `title`, `time` fields. Time is ISO 8601. Text can be `null`. |
| `data.utm` | object or null | Tags `source`, `medium`, `campaign`, `content`, `term`, each a string or `null`. |

## Response example

```json
{
  "success": true,
  "data": {
    "id": 1,
    "sourceId": 2,
    "createdTime": "2026-10-28T11:59:18+00:00",
    "isMobile": false,
    "channels": [
      {
        "code": "form",
        "value": "5"
      }
    ],
    "pages": [
      {
        "url": "https://example.com/p",
        "title": "VIBE-PROBE page",
        "time": "2026-10-28T10:00:00+00:00"
      }
    ],
    "utm": {
      "source": "vibeprobe",
      "medium": null,
      "campaign": "x",
      "content": null,
      "term": null
    }
  }
}
```

## Error response example

404: trace not found. Error messages follow the Bitrix24 account language.

```json
{
  "success": false,
  "error": {
    "code": "ENTITY_NOT_FOUND",
    "message": "Entity with ID 1 was not found."
  }
}
```

## Errors

| HTTP | Code | Description |
|---|---|---|
| 400 | `INVALID_PARAMS` | Invalid request type or shape, or an invalid ID. |
| 403 | `SCOPE_DENIED` | Missing `crm` scope. |
| 401 | `TOKEN_MISSING` | The key has no configured tokens. |
| 422 | `METHOD_NOT_YET_AVAILABLE` | The platform flag is off or RestV3Tracking is not enabled on the Bitrix24 portal. `error.release` is `crm 26.2000.0`. |
| 502 | `BITRIX_UNAVAILABLE` | Invalid Bitrix24 response. |
| 400 | `UNKNOWN_FILTER_FIELD` | An unsupported query parameter was supplied. |
| 404 | `ENTITY_NOT_FOUND` | The trace is absent or not readable. |
| 403 | `BITRIX_REST_V3_EXCEPTION_ACCESSDENIEDEXCEPTION` | Insufficient permissions for linked CRM records. |

Other Bitrix24 refusal codes, statuses and messages are preserved. See [Errors](/docs/errors) for common failures.

## Known specifics

Credential fragments in text fields are redacted. Page addresses without sensitive data are preserved unchanged.

## See also

- [List analytics traces](/docs/entities/crm-traces/v3-list)
- [Create an analytics trace](/docs/entities/crm-traces/v3-create)
- [Delete an analytics trace](/docs/entities/crm-traces/v3-delete)
