Skip to main content
POST
/
v2
/
TokenGet
Get token data
curl --request POST \
  --url http://localhost:3000/v2/TokenGet \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "token": "<string>",
  "request_metadata": {}
}
'
{
  "status": "ok",
  "record": "<string>"
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
token
string
required

The token to retrieve data for

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Token data retrieved successfully

status
string
Example:

"ok"

record
string

The original sensitive data