# ID Generator

UUIDv4 for the random identifier every database already has a type for, UUIDv7 for the time-ordered one indexes prefer, ULID for the sortable one.

- Method: `GET`
- Path: `/v1/utility/id`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `kind` | string | optional | `uuidv4`, `uuidv7`, or `ulid`. |
| `count` | integer | optional | 1 to 100 ids. |

**Example request**

```bash
curl https://api.diraz.ae/v1/utility/id \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "kind": "uuidv7",
    "count": 1,
    "generated_at": "2026-08-21T17:00:00.000Z",
    "ids": ["0191f0c0-a2b3-7de3-9c1f-2f8e4d6b9a0c"]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ"
  }
}
```