Skip to content

Generate a v8 UUID

GET
/uuid/v8

Parameters

Query Parameters

buf*

The buffer to use for the UUID. The length must be 16.

Typearray
Required
format

An optional format to use for the UUID. If not provided, the default format (hyphenated) will be used.

Typestring
Enumhyphenated, simple, urn, braced

Responses

The generated UUID
string

Samples

cURL
curl -X GET https://httpbin.rs/uuid/v8
JavaScript
fetch("https://httpbin.rs/uuid/v8")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/uuid/v8");
Python
import requests
response = requests.get("https://httpbin.rs/uuid/v8")
print(response.json())
Powered by VitePress OpenAPI