Skip to main content
Use double curly braces with any faker.js method to inject dynamic values into your responses. Tokens are evaluated fresh on every request — your test data is always unique. The response body editor includes autocomplete suggestions, but any valid faker.js method works.

Basic example

Generating lists

Use {{#repeat N}}...{{/repeat}} to generate arrays of dynamic objects. JSON objects/arrays are automatically comma-separated. Max Repeat: 1000 Template:
Example response:

Built-in tokens

In addition to faker.js methods, these shorthand tokens are available: