Steps
Call a web API
Send an HTTP request to a device or an online service
Then step — What happens. Step type then-http.
How it works
Calls a web address with GET, POST or another method, optional headers and body, and can save the reply (or a field of it) into a variable.
Example
Time of day (7:00 AM) → Call a web API (GET weather service, save temperature to "outdoorTemp") → Speak ("It is {{var.outdoorTemp}} degrees outside")A spoken weather report from an online service.
Options
| Option | Key | Kind | Required | Notes |
|---|---|---|---|---|
| Method | method | select | yes | options: GET, POST, PUT, PATCH, DELETE |
| URL | url | text | yes | supports {{…}} placeholders |
| Headers | headers | keyValue | no | up to 10 entries |
| Body type | contentType | select | no | options: json, text, form; shown when method is POST / PUT / PATCH / DELETE |
| Body | body | text | no | multi-line; shown when method is POST / PUT / PATCH / DELETE |
| Give up after | timeoutSeconds | duration | no | up to 30 s |
| Save the reply to a variable | saveTo | variable | no | — |
| Only this JSON field (e.g. data.temp, items[0].id) | savePath | text | no | — |
| Shared with other flows | shared | boolean | no | — |
Wire format
What the step stores in the flow definition's data bag (JSON schema).