Skip to main content

Tokenize

Tokenize is used to tokenize a data element such as a Social Security number or health ID number.

Heads-up!

TokenEx API v1 has been deprecated and is now in break/fix mode. All new enhancements are being added to API v2.

URI: https://test-api.tokenex.com/TokenServices.svc/REST/Tokenize

Request Parameters

ParameterTypeDescription
APIKeystringSee Authentication
TokenExIDstringYour TokenEx ID
DatastringSensitive Data to Tokenize
TokenSchemeEnumJSON Value or Enum name, See Standard Token Schemes
{
"APIKey": "YourAPIKey",
"TokenExID": "YourTokenExID",
"Data": "5454545454545454",
"TokenScheme": 1
}

Response Parameters

ParameterTypeDescription
TokenstringThe token as generated by TokenEx that references the sensitive data
SuccessboolIndicator if the result was successful or not
ReferenceNumberstringReference number for the TokenEx transaction
ErrorstringError Code and human-readable description
{
"Error": "",
"ReferenceNumber": "15102913382030662954",
"Success": true,
"Token": "545454587415454"
}