API Step
The API Step lets you call external services from your quiz flow. Use it to send respondent data to tools like CRMs or webhooks, or fetch data and store it for later steps and completion content.
Unlike question blocks, the API Step runs in the background and does not render as a respondent-facing prompt.
When to use the API Step
- Send quiz answers, lead fields, tags, or scores to external systems.
- Pull data from an API and map response fields into quiz variables.
- Add failure routing when a request fails and you need a fallback path.
What you can configure
- HTTP method:
GET,POST,PUT,PATCH,DELETE - Endpoint URL
- Headers
- Query parameters
- Body mode:
NoneorRaw(JSON/text) - Capture response mappings (save API response paths into variables)
- Optional failure destination
Variable placeholders
You can use placeholders in endpoint URL, headers, query params, and raw body values:
{{variable_key}}
Example raw JSON body:
{
"name": "{{full_name}}",
"email": "{{email}}",
"score": "{{total_score}}"
}
Test with Send
Use Send in the builder to test the request configuration. If your body includes placeholders, the builder asks for test values first so you can validate interpolation before running.
After a test run, review:
- Status code
- Response body
- Response headers
- JSON paths available for capture mappings
Capture response values
Use Capture response to map API response fields into quiz variables.
Path format starts with response, for example:
response.records[0].idresponse.data.user.email
Captured values can be reused in later steps, Jump Logic, and completion content.
Failure path behavior
- Failure path off: quiz continues to the next block/step.
- Failure path on: quiz routes to your selected failure destination.
Use this for fallback copy, recovery prompts, or alternate conversion paths when the external API is unavailable.
Performance and security notes
- If you do not capture response values and do not define a failure path, the flow can continue while the API call finishes in the background.
- Credentials are handled server-side and are not exposed to respondents.
- Sensitive headers are redacted in diagnostics.
Step-by-step
- Add an API Step in the Questions flow where the request should run.
- Configure method, endpoint, headers, query params, and optional body.
- Use placeholders for values already captured in the quiz.
- Click Send to test and confirm the response shape.
- Map response paths into variables if later logic or copy depends on them.
- Enable Failure path only when you need a specific fallback destination.
Troubleshooting quick checks
401 Authentication required: verify auth header format.403 Invalid permissions: verify token scope/permissions.422 Invalid request body: validate JSON shape and field names.
Checklist:
- Confirm
Authorization: Bearer <token>format. - Confirm
Content-Type: application/jsonwhen sending JSON. - Validate raw JSON syntax.
- Confirm placeholders use
{{variable_key}}. - Re-test in Postman/cURL if you need parity checks.

