Download OpenAPI specification:Download
The Tokenizer API used for tokenizing and detokenizing data and working with tokens using the GoLang backend
tokenId required | string The tokenID you want to decode. |
{- "tokenId": "string"
}
{- "success": true,
- "data": {
- "downloadUrl": "string",
- "headers": { }
}
}
required | any (MetaData) The metadata set for the token. Metadata is immutable once the token is created. DataType must be set to tell if it is a string or a file that is tokenized. |
{- "metadata": {
- "customFields": { },
- "dataType": "string"
}
}
{- "success": true,
- "data": {
- "tokenId": "string",
- "uploadUrl": "string",
- "headers": { }
}
}
sessionId required | string |
tokenId required | string |
{- "sessionId": "string",
- "tokenId": "string"
}
{- "success": true,
- "data": {
- "valid": true
}
}
sessionId required | string |
tokenId required | string |
customDuration | string a string containing a custom time the grant should last, if desired. Uses golang Duration parsing to parse things like "1h30m20s" |
{- "sessionId": "string",
- "tokenId": "string",
- "customDuration": "string"
}
{- "success": true,
- "data": { }
}