For AI agents: markdown of this page — /docs-content-en/openlines/operator/pause-stop.md documentation index — /llms.txt
Stop my pause
DELETE /v1/openlines/operator/pause
Turns off the Open Channel operator pause for the employee the call runs as.
No parameters, no request body. The employee is determined by authorization — see On whose behalf the action runs.
Examples
curl — personal key
curl -X DELETE https://vibecode.bitrix24.com/v1/openlines/operator/pause \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl -X DELETE https://vibecode.bitrix24.com/v1/openlines/operator/pause \
-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/openlines/operator/pause', {
method: 'DELETE',
headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { data } = await res.json()
console.log('Pause on:', data.paused)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/openlines/operator/pause', {
method: 'DELETE',
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { data } = await res.json()
console.log('Pause on:', data.paused)
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | Descriptiontrue when the pause is turned off |
Fielddata.paused |
Typeboolean | DescriptionPause state re-read after the call. false in a successful response |
Response example
{
"success": true,
"data": {
"paused": false
}
}
Error response example
401 — the X-Api-Key header is missing:
{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "API key required. Pass via X-Api-Key header."
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP422 | CodeBITRIX_ERROR |
DescriptionBitrix24 rejected the request. The refusal text is in message |
| HTTP403 | CodeBITRIX_ACCESS_DENIED |
DescriptionThe employee the call runs as has no permission for the action |
| HTTP502 | CodeOPENLINE_OPERATOR_FAILED |
DescriptionThe pause stayed on after the call: the re-read state is true |
| HTTP502 | CodeOPENLINE_OPERATOR_FAILED |
DescriptionBitrix24 returned a non-boolean value instead of the pause state |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionThe key has no imopenlines scope |
| HTTP403 | CodeWRITE_BLOCKED_READONLY_KEY |
DescriptionThe key is read-only |
| HTTP401 | CodeMISSING_API_KEY |
DescriptionThe X-Api-Key header is missing |
| HTTP401 | CodeINVALID_API_KEY |
DescriptionThe key is not recognized |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionA personal key has no access to the Bitrix24 portal, or an application key was sent without a session token in Authorization |
| HTTP502 | CodeBITRIX_UNAVAILABLE |
DescriptionBitrix24 is unavailable or the connection to it broke before the response was complete |
Full list of common API errors — Errors.
Known specifics
- Turning the pause off again does not return an error. If the pause is already off, the call returns
200withpaused: false, and the state does not change.