Batch requests require the same scopes as their non-batch equivalents. It’s
not possible to mix different methods in a single batch request.
How it works
Send aPOST request to the batch method URL with a requests array. Each object in the array is a standard request payload for the corresponding method.
There’s no guarantee on execution order, but the response array preserves the order of the input.
Request format
Response format
Example: delete multiple agents
Request
Response
Supported methods
Agents
| Method | Batch URL |
|---|---|
| Create agent | https://api.livechatinc.com/v3.6/configuration/action/batch_create_agents |
| Update agent | https://api.livechatinc.com/v3.6/configuration/action/batch_update_agents |
| Delete agent | https://api.livechatinc.com/v3.6/configuration/action/batch_delete_agents |
| Suspend agent | https://api.livechatinc.com/v3.6/configuration/action/batch_suspend_agents |
| Unsuspend agent | https://api.livechatinc.com/v3.6/configuration/action/batch_unsuspend_agents |
| Approve agent | https://api.livechatinc.com/v3.6/configuration/action/batch_approve_agents |
Bots
| Method | Batch URL |
|---|---|
| Create bot | https://api.livechatinc.com/v3.6/configuration/action/batch_create_bots |
| Update bot | https://api.livechatinc.com/v3.6/configuration/action/batch_update_bots |
| Delete bot | https://api.livechatinc.com/v3.6/configuration/action/batch_delete_bots |