For AI agents: markdown of this page — /docs-content-en/openlines/quick-replies/create.md documentation index — /llms.txt

Create a quick reply

Scope: imopenlines. Writes require a write-enabled key. Bitrix24 checks user permissions.

POST /v1/openline-configs/:lineId/quick-replies

POST /v1/openline-configs/:lineId/quick-replies

JSON
{
  "text": "Welcome",
  "sectionId": 3
}

lineId is the id from /v1/openline-configs. The B24 method is undocumented; shape measured on 2026-10-01. A reply id is checked against this line before PATCH or DELETE; replies from other lines are never changed.

text is required and cannot be empty. Optional sectionId is a non-negative integer; PATCH preserves an omitted section, explicit zero clears it. Bitrix24 generates the name from text, including on update; a custom name is not writable here. Returns the saved { id, name, text, sectionId, canEdit, rating }.

Example

Terminal
curl -X POST "https://vibecode.bitrix24.com/v1/openline-configs/1/quick-replies" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Welcome", "sectionId": 3}'

Response:

JSON
{
  "success": true,
  "data": {
    "id": 200,
    "name": "Welcome",
    "text": "Welcome",
    "sectionId": 3,
    "canEdit": true,
    "rating": 0
  }
}

Errors

400 INVALID_PARAMS / INVALID_CHAT_ID / MISSING_REQUIRED_FIELDS, 401 TOKEN_MISSING, 403 SCOPE_DENIED / WRITE_BLOCKED_READONLY_KEY / BITRIX_ACCESS_DENIED, 404 ENTITY_NOT_FOUND, 422 BITRIX_ERROR, 429, 502 OPENLINE_OPERATOR_FAILED / BITRIX_UNAVAILABLE, 503.