Skip to main content

API Flow Testing

API flow testing lets you build multi-step API tests on a visual canvas. Connect blocks, pass data between requests, and see results in real-time.

Why API flows?

Real API workflows aren’t single requests. It’s: create a user → verify email → get auth token → create data → verify it saved. Each request depends on the one before it. TestBrick lets you build these flows visually — no code, no scripting.

Core concepts

Block types

API Request

Make HTTP requests — GET, POST, PUT, PATCH, DELETE. Configure headers, body, auth, and assertions.

Email

Wait for emails, extract OTP codes or verification links, and assert email content. Pro feature.

Delay

Pause the flow for a specified number of seconds. Useful for rate-limited APIs.

Example flow

A typical OTP verification flow:
Each block passes data to the next — the OTP from the email block flows into the verify request, the auth token flows into profile requests.