Start with a small response shape. This schema describes an object with a required name and email:
{
"type": "object",
"properties": {
"name": { "type": "string", "example": "Alex" },
"email": { "type": "string", "format": "email" }
},
"required": ["name", "email"]
}
Generate an example
Create or select a request in APIFlow and switch to mock mode. Open its response-schema editor, enter the schema, and run the request. Set a seed when you need repeatable schema-generated values. An explicit response example takes precedence over schema generation on successful responses.
Keep the schema small and inspect the result
APIFlow supports a subset of JSON Schema, including common primitive types, objects, arrays, examples, enums, and basic bounds. Advanced combinations, recursive references, and some constraints are unsupported. Generating an example does not prove an arbitrary schema is valid or that every output satisfies every possible constraint.
Use the generated object as example data for discussion or manual testing. Review it before sharing; schemas and examples can contain private values.
What the mock actually tests
The result is displayed inside APIFlow. Changing its status or delay lets you explore response scenarios within this workspace. It does not create a URL that another frontend can fetch, and it does not automatically exercise that frontend's loading or error states.
Explore APIFlow's in-browser mock generator for response scenarios, or import an existing Postman collection to start with your own request shapes.
Reference: JSON Schema object documentation. The example keyword shown above is an APIFlow-supported annotation, not a portable validation rule.
Ready to try the workflow?
Open APIFlow