About this endpoint
What it does
Generates a batch of identifiers in the format you choose. You can control how many are returned and, for formats that use variable-length identifiers, the length used for generation.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| size | Integer | No | Length for nanoid, hex, or token identifiers. Default: 21. |
| count | Integer | No | How many identifiers to generate. Allowed range: 1-1000. Default: 1. |
| format | String | No | Identifier format to generate. Allowed values: uuid4, uuid7, ulid, nanoid, hex, token. |
Response
Returns a JSON object with the generated identifiers in ids, the format used, how many were produced, and the first identifier broken out for single-ID use.
| Field | Type | Description |
|---|---|---|
| format | String | The identifier format that was generated. |
| count | Integer | The number of identifiers returned. |
| ids | Array of String | The generated identifiers. |
| first | String | The first identifier in ids, provided as a convenience for single-ID use cases. |



