HTTP request GET/POST
The HTTP request robot sends a request to an external API from a business process. It accepts a URL, method (GET, POST, PUT, PATCH, DELETE, HEAD), request body, JSON headers, and timeout, and returns the response body, HTTP status code, and a success flag (Y/N). Works in Bitrix24 business processes and robots.
The robot performs an HTTP request to an external API directly from a Bitrix24 business process, with no code or intermediate services. It supports the GET, POST, PUT, PATCH, DELETE, and HEAD methods, an arbitrary request body, headers as JSON (e.g. Authorization), and a timeout from 1 to 60 seconds. Typical cases: send deal data to an external accounting system or request an order status from a delivery service API. Redirects (up to 5) are validated on every hop, requests to internal network addresses are blocked, and the response body is capped at 1 MB. Returns the response body, HTTP status code, and a success flag (Y/N): parse the response with the Extract value from JSON robot and build a condition on the flag in the workflow designer. Available on paid Bitrix24 plans.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| URL | string | yes | |
| HTTP method (default GET) | select | — | GET |
| Request body (for POST/PUT) | string | — | |
| Headers as JSON: {"Authorization":"Bearer xxx","Content-Type":"application/json"} | string | — | |
| Timeout in seconds (default 10) | int | — |
What does the robot return?
| Parameter | Type |
|---|---|
| Response body | string |
| HTTP status code | int |
| Success (Y/N) — 2xx code | string |
Scenario: request an order status from an external service
- A deal moves to the Delivery stage and triggers the robot
- The robot sends a GET request to the delivery service API with the order number
- The Extract value from JSON robot pulls the status from the response
- The status is written to a deal field for the manager