Generate a v5 UUID
GET
/uuid/v5Parameters
Query Parameters
namespace*
The namespace to use for the UUID
The following namespaces are supported:
dns
- 6ba7b810-9dad-11d1-80b4-00c04fd430c8url
- 6ba7b811-9dad-11d1-80b4-00c04fd430c8oid
- 6ba7b812-9dad-11d1-80b4-00c04fd430c8x500
- 6ba7b814-9dad-11d1-80b4-00c04fd430c8- custom - any UUID in string form
Typestring
Requiredname*
The name to use for the UUID.
Typestring
Requiredformat
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
GET
/uuid/v5Samples
cURL
curl -X GET https://httpbin.rs/uuid/v5
JavaScript
fetch("https://httpbin.rs/uuid/v5")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/uuid/v5");
Python
import requests
response = requests.get("https://httpbin.rs/uuid/v5")
print(response.json())