> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revoengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# util.getUUID()

> Public low-code contract, signatures and examples for util.getUUID.

## `util.getUUID()`

Returns a random UUIDv7 with no arguments, or a deterministic UUIDv5 only when
both value and namespace are supplied. Do not generate IDs for server-created
platform resources; use this only for caller-owned data values.

### Signature

```ts theme={null}
static getUUID(...args: [] | [value: string, namespace: string]): string;
```

### Example

```ts theme={null}
const id = util.getUUID('customer-1', 'customers');
```

See [all util methods](https://docs.revoengine.com/low-code/reference/util.md) or [runtime basics](https://docs.revoengine.com/low-code/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.