# call.followup.field.get

URL: https://chugunov.pro/api-bitrix24/telephony/follow-up/call-followup-field-get/
Проверено на Битрикс24 REST API, обновлено 11.09.2026 (ревизия источника fb39d6c).
Источник: официальная документация Битрикс24 (bitrix-tools/b24-rest-docs, лицензия MIT, © Bitrix). Справочник независимый, официальной документацией не является.

Получить описание поля Follow-up
Scope: `call`
Кто может выполнять метод: любой пользователь

## Описание

Метод относится к REST 3.0. Особенности вызова и формат ответа новой версии API описаны в [обзоре REST 3.0](https://chugunov.pro/api-bitrix24/rest-v3/).

Метод `call.followup.field.get` возвращает описание поля Follow-up по имени.

## Параметры

- `name` `string` — обязательный. Имя поля Follow-up, описание которого нужно получить.
  Доступные поля можно получить методом [call.followup.field.list](https://chugunov.pro/api-bitrix24/telephony/follow-up/call-followup-field-list/)
- `select` `array` — необязательный. Список полей описания, которые нужно вернуть в ответе.
  Доступные поля:
  - `name` — имя поля
  - `type` — тип данных
  - `title` — заголовок
  - `description` — описание
  - `validationRules` — правила валидации
  - `requiredGroups` — группы обязательности
  - `filterable` — признак доступности в фильтре
  - `sortable` — признак доступности в сортировке
  - `editable` — признак редактируемости
  - `multiple` — признак множественного значения
  - `elementType` — тип элемента для составных полей

## Ответ

HTTP-статус: 200

```json
{
    "result": {
        "item": {
            "name": "callId",
            "type": "int",
            "title": "callId",
            "description": "Bitrix24 call identifier (b_call.ID). Always present.",
            "filterable": false,
            "sortable": false,
            "multiple": false
        }
    },
    "time": {
        "start": 1784017027,
        "finish": 1784017027.356922,
        "duration": 0.356921911239624,
        "processing": 0,
        "date_start": "2026-07-14T11:17:07+03:00",
        "date_finish": "2026-07-14T11:17:07+03:00",
        "operating_reset_at": 1784017627,
        "operating": 0
    }
}
```

### Возвращаемые данные

- `result` `object`. Объект с данными ответа
- `item` `object`. Объект с описанием поля. Структура ответа зависит от `select`
- `time` `time`. Информация о времени выполнения запроса

## Ошибки

HTTP-статус: 400

```json
{
    "error": {
        "code": "BITRIX_REST_V3_EXCEPTION_VALIDATION_REQUESTVALIDATIONEXCEPTION",
        "message": "Ошибка при валидации объекта запроса",
        "validation": [
            {
                "field": "name",
                "message": "Обязательное поле `name` не указано"
            }
        ]
    }
}
```

- `Поле` — **Описание ошибки**. **Как исправить**
- — — Недостаточно прав доступа: отсутствует необходимый scope. Проверьте, что у приложения или вебхука есть scope `call`

## Примеры запроса

### cURL (Webhook)

```bash
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"callId","select":["name","type","title","description","filterable","sortable","multiple"]}' \
https://**put_your_bitrix24_address**/rest/api/**put_your_user_id_here**/**put_your_webhook_here**/call.followup.field.get
```

### cURL (OAuth)

```bash
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"callId","select":["name","type","title","description","filterable","sortable","multiple"],"auth":"**put_access_token_here**"}' \
https://**put_your_bitrix24_address**/rest/api/call.followup.field.get
```

### JS (TS)

```ts
// This snippet is an ES module: top-level await requires type="module" or a bundler.
// $b24 is an already-initialized SDK instance (see the SDK "Get started" guide).
import { Text } from '@bitrix24/b24jssdk'
import type { B24Frame } from '@bitrix24/b24jssdk'

declare const $b24: B24Frame

// Shape of the payload returned in result (match the "response handling" section of the page)
type FollowUpFieldGetResult = {
  item: {
    name: string
    type: string
    title: string
    description: string | null
    filterable: boolean
    sortable: boolean
    multiple: boolean
  }
}

try {
  const response = await $b24.actions.v3.call.make<FollowUpFieldGetResult>({
    method: 'call.followup.field.get',
    params: {
      name: 'callId',
      select: ['name', 'type', 'title', 'description', 'filterable', 'sortable', 'multiple'],
    },
    requestId: Text.getUuidRfc4122()
  })

  // The payload is available only on a successful response
  if (!response.isSuccess) {
    console.error(response.getErrorMessages().join('; '))
  } else {
    const result = response.getData()!.result
    console.info(result.item.name, result.item.type, result.item.title)
  }
} catch (error) {
  // Thrown on transport or SDK failures (AjaxError, SdkError, etc.)
  console.error(error)
}
```

### JS (UMD)

```html
<!-- Load the SDK (UMD build); it is exposed as the global B24Js -->
<script src="https://unpkg.com/@bitrix24/b24jssdk@1/dist/umd/index.min.js"></script>
<script>
  async function getFollowUpField() {
    try {
      // Initialize the SDK inside a Bitrix24 frame
      const $b24 = await B24Js.initializeB24Frame()

      const response = await $b24.actions.v3.call.make({
        method: 'call.followup.field.get',
        params: {
          name: 'callId',
          select: ['name', 'type', 'title', 'description', 'filterable', 'sortable', 'multiple'],
        },
        requestId: B24Js.Text.getUuidRfc4122()
      })

      // The payload is available only on a successful response
      if (!response.isSuccess) {
        console.error(response.getErrorMessages().join('; '))
        return
      }

      const result = response.getData().result
      console.info(result.item.name, result.item.type, result.item.title)
    } catch (error) {
      // Thrown on transport or SDK failures (AjaxError, SdkError, etc.)
      console.error(error)
    }
  }

  document.addEventListener('DOMContentLoaded', getFollowUpField)
</script>
```

### PHP

```php
try {
    $response = $b24Service
        ->core
        ->call(
            'call.followup.field.get',
            [
                'name' => 'callId',
                'select' => ['name', 'type', 'title', 'description', 'filterable', 'sortable', 'multiple']
            ]
        );

    $result = $response
        ->getResponseData()
        ->getResult();

    echo 'Success: ' . print_r($result, true);
} catch (Throwable $e) {
    error_log($e->getMessage());
    echo 'Error: ' . $e->getMessage();
}
```

### BX24.js

```js
BX24.callMethod(
    'call.followup.field.get',
    {
        name: 'callId',
        select: ['name', 'type', 'title', 'description', 'filterable', 'sortable', 'multiple']
    },
    function(result) {
        console.info(result.data());
        console.log(result);
    }
);
```

### PHP CRest

```php
require_once('crest.php');

$result = CRest::call(
    'call.followup.field.get',
    [
        'name' => 'callId',
        'select' => ['name', 'type', 'title', 'description', 'filterable', 'sortable', 'multiple']
    ]
);

echo '<PRE>';
print_r($result);
echo '</PRE>';
```

### Go

```go
// client и ctx уже созданы — см. раздел «SDK для Go»
res, err := client.Core().Call(ctx, "call.followup.field.get", b24.Params{
	"name":   "callId",
	"select": []string{"name", "type", "title", "description", "filterable", "sortable", "multiple"},
}, b24.WithIdempotent())
if err != nil {
	return fmt.Errorf("call.followup.field.get: %w", err)
}

// Метод заворачивает ответ в объект с ключом "item".
raw, ok := b24.Unwrap(res.Result, "item")
if !ok {
	return fmt.Errorf("в ответе нет ключа item")
}

var item struct {
	Name        string `json:"name"`
	Type        string `json:"type"`
	Title       string `json:"title"`
	Description string `json:"description"`
	Filterable  bool   `json:"filterable"`
	Sortable    bool   `json:"sortable"`
}
if err := json.Unmarshal(raw, &item); err != nil {
	return fmt.Errorf("разбор ответа: %w", err)
}
fmt.Println(item.Name, item.Type)
```

Оригинал в официальной документации: https://apidocs.bitrix24.ru/api-reference/telephony/follow-up/call-followup-field-get.html
