Integrations & HTTP
executeHttpRequest
Execute an authenticated HTTP request via Atomicwork.
Executes a synchronous HTTP request to any URL, with authentication handled by Atomicwork. Use this for calling third-party APIs where you need credentials injected automatically. Returns the response status code and body.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The target URL (e.g., "https://api.example.com/webhook") |
method | GET | POST | PUT | DELETE | PATCH | Yes | HTTP method to use |
headers | object[] | No | HTTP headers as key-value pairs. Duplicate keys are supported — |
query_params | object[] | No | URL query parameters as key-value pairs |
body | string | No | Request body as a string (JSON string for POST/PUT/PATCH) |
auth | object | No | Authentication credentials for the outbound request. Omit for no auth. |
