uuid
POST1 créditoReturns a batch of cryptographically random UUIDs. The same input always produces the same count, but the values themselves are unique per call.
Endpoint
POST https://x114.org/api/v1/uuidCorpo da requisição
Envie como JSON no corpo POST.
| Name | Type | Required | Description |
|---|---|---|---|
| count | number | optional | How many UUIDs to generate (1-500). Defaults to 1. |
| uppercase | boolean | optional | Return uppercase hex digits. Defaults to false. |
Corpo da resposta
JSON retornado em caso de sucesso (HTTP 200).
| Name | Type | Required | Description |
|---|---|---|---|
| ok | boolean | required | True on success. |
| count | number | required | The number of UUIDs returned. |
| uppercase | boolean | required | Whether the output is uppercased. |
| uuids | string[] | required | The generated UUIDs in canonical 8-4-4-4-12 form. |
Exemplo
curl -X POST https://x114.org/api/v1/uuid \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"count":3,"uppercase":false}'