For AI agents: markdown of this page — /docs-content-en/entities/crm-forms/field.md documentation index — /llms.txt
Get a form contract field
GET /v1/crm-forms/fields/:name
Returns the description of a single top-level CRM form property by name. Call it to check the type and multiplicity of a specific property without loading the whole list.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Parametername (path) |
Typestring | Requiredyes | DescriptionForm property name, for example name, fields, appearance, analytics, integrations or spamProtection. List: data[].name in Form contract fields |
Parameterselect (query) |
Typestring | Requiredno | DescriptionComma-separated metadata properties, for example name,type,multiple |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/crm-forms/fields/analytics" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/crm-forms/fields/analytics" \
-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/crm-forms/fields/analytics', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Property type:', data.type)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/crm-forms/fields/analytics', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | DescriptionAlways true on success |
Fielddata |
Typeobject | DescriptionForm property description. The object has the same fields as a data[] element in Form contract fields |
Response example
{
"success": true,
"data": {
"name": "analytics",
"type": "object",
"elementType": null,
"multiple": false,
"title": "analytics",
"description": null,
"validationRules": [],
"requiredGroups": null,
"filterable": false,
"sortable": false,
"editable": false
}
}
Error response example
404 — no property with this name:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "Field `unknownProperty` not found",
"b24Code": "BITRIX_REST_V3_REALISATION_EXCEPTION_FIELDNOTFOUNDEXCEPTION"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP404 | CodeENTITY_NOT_FOUND |
DescriptionNo property with this name. The original code is in error.b24Code |
| HTTP400 | CodeINVALID_PARAMS |
DescriptionAn unknown query parameter was passed |
| HTTP400 | CodeINVALID_PARAMS |
Descriptionselect is not a string or an array of strings |
| HTTP400 | CodeINVALID_PARAMS |
DescriptionBitrix24 rejected the projection. The original code is in error.b24Code |
| HTTP403 | CodeBITRIX_ACCESS_DENIED |
DescriptionThe Bitrix24 user lacks permission to access forms |
| HTTP403 | CodeBITRIX_INSUFFICIENT_SCOPE |
DescriptionThe Bitrix24 token lacks the required scope |
| HTTP409 | CodeCRM_FORM_REST_NOT_ENABLED |
DescriptionThe CRM form REST methods are unavailable on this Bitrix24 account. This does not mean that an individual form is missing |
| HTTP400–599 | CodeCRM_FORM_* |
DescriptionRejection under form rules. The code and HTTP status are preserved. The original code is in error.b24Code |
| HTTP422 | CodeBITRIX_ERROR |
DescriptionAnother Bitrix24 rejection. The reason is in error.message. The original code is in error.b24Code |
| HTTP429 | CodeRATE_LIMITED |
DescriptionRequest rate exceeded. Follow the Retry-After header |
| HTTP502 | CodeBITRIX_UNAVAILABLE |
DescriptionBitrix24 returned an unexpected response shape |
| HTTP502 | CodeBITRIX_UNAVAILABLE |
DescriptionBitrix24 is unavailable: a server error or a dropped connection |
| HTTP503 | CodeBITRIX_TIMEOUT |
DescriptionBitrix24 did not respond in time. The read can be retried |
| HTTP401 | CodeMISSING_API_KEY |
DescriptionThe X-Api-Key header is missing |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionThe key has no configured Bitrix24 credentials |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionThe Vibecode API key lacks the crm scope |
Full list of common API errors — Errors.