Back to explore

web

ID

Credits: 0.000001

Generate

POST /v1/id/Generate

Generate a unique ID. Defaults to uuid.

Request

typestring

type of id; call 'Types' endpoint for available types

Response

idstring

the unique id generated

typestring

the type of id generated

Request

Response

{
    "type": "uuid",
    "id": "e9c427d8-cef1-48bd-ab89-59a6df29673b"
}

Credits: 0.000001

Types

POST /v1/id/Types

List the types of IDs available.

Request

{}

Response

typesarray

Request

Response

{
    "types": [
        "uuid",
        "ulid",
        "ksuid",
        "xid",
        "nanoid",
        "shortid",
        "snowflake",
        "bigflake"
    ]
}