Public developer referenceUnderstand the API.
Understand the API.
Execute it inside your organization.
Browse real Securelay endpoint shapes, request fields, language examples, and representative responses. This public reference is deliberately read-only.
Public reference, internal executionOutsiders can inspect the contract but cannot attach credentials or execute requests here. Organization members use the authenticated console Studio for live calls, current authorization decisions, and real request receipts.Open internal API Studio
POST
Tokenize values
Replace raw values with governed tokens before an application stores or forwards them.
POST
https://api.securelay.com/v1/tokenizeReference onlyRequest body
{
"items": [
{
"value": "[email protected]",
"dataType": "email",
"tokenType": "deterministic",
"dataSubject": "subject-rohan",
"clientRef": "row-1"
}
]
}Example request · curl
curl -X POST 'https://api.securelay.com/v1/tokenize' \
-H 'Authorization: Bearer $SECURELAY_TOKEN' \
-H 'Content-Type: application/json' \
--data '{
"items": [
{
"value": "[email protected]",
"dataType": "email",
"tokenType": "deterministic",
"dataSubject": "subject-rohan",
"clientRef": "row-1"
}
]
}'Implementation notes
- Bearer authentication required
- X-Request-Id is returned as a response header
- clientRef is the tenant-scoped idempotency key
- dataSubject keeps the token reachable by subject erasure
No requests are executed and this page never accepts an API credential.Continue to the authenticated console
