REST API placeholders and Run with values
Put {placeholders} in a REST API job's URL or headers, call the API once per row, use built-in dates like {yesterday}, and run a job once with different values.
A REST API job can contain placeholders: names in curly braces that are swapped for a value when the job runs. One job can then call the same API for many countries, dates or IDs.
Add a placeholder
Put {name} anywhere in the URL or in a header value:
https://api.example.com/countries/{country}/holidays?year={year}The job form finds the placeholders and asks for their values under Parameters.
Placeholders can change the path, query or headers, but never the host. The domain the job calls is fixed.
One call, or one call per row
Under Parameters, choose:
- One call: enter a single value for each placeholder.
- One call per row: enter a table with one row per call. You can type rows or paste CSV/TSV whose header row holds the placeholder names. The results of every call are combined into one set of rows.
With one call per row, tick Keep going if one call fails to skip a failing row instead of failing the whole run.
Preview data runs only the first 2 rows, so a long list doesn’t use up your API quota while you test.
Built-in dates
These placeholders are filled in automatically, in UTC, so you don’t have to give them a value:
| Placeholder | Value |
|---|---|
{today}, {yesterday}, {tomorrow} | A date such as 2026-11-20 |
{start_of_week} | Monday of the current week |
{start_of_month}, {start_of_year} | The first day of the current month or year |
{start_of_last_month}, {end_of_last_month} | The first and last day of last month |
{now} | The current date and time, e.g. 2026-11-20T06:00:00+00:00 |
For example, ?from={yesterday}&to={today} on a daily schedule always fetches the latest day.
To send literal braces, double them: {{name}} is sent as the text {name}.
Feed values from another job
In a flow, a REST API step can take its rows of values from another step’s output: Call its API once per row of that step. For example, one step lists customer IDs and the next calls a details endpoint for each one.
Run with values
To run a job once with different values, open the job and click Run with values…. Enter or paste the values and run. The job’s saved values don’t change, so its next scheduled run uses the usual ones.
This is handy for backfilling: re-run last quarter’s dates once without editing the job.