# CreateUniqueId()

Creates a Unique Identifier. Only unique for this instance, but shorter than an UUId.

```
CreateUniqueId( type=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| type | string | No | If the string "counter" is passed then it's only unique for this instance in this lifecycle, otherwise the returned value will be a 22 character UUID, encoded as a URL-safe Base64. |  |

# Examples

```cfml
dump(CreateUniqueId());
```







# See Also

[CreateGUID()](createguid.md), [CreateUUID()](createuuid.md)