Unmask Async
Submit an unmask job for background processing and receive a tracking ID to poll for results.
{
"unmask": [
{
"token_value": "8oGEcGVEkj 700ZSgo1pA"
}
]
}
curl -X PUT https://protecto-trial.protecto.ai/api/vault/unmask/async \
-H "Authorization: Bearer YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"unmask": [
{ "token_value": "8oGEcGVEkj 700ZSgo1pA" }
]
}'
import requests
response = requests.put(
"https://protecto-trial.protecto.ai/api/vault/unmask/async",
headers={
"Authorization": "Bearer YOUR_AUTH_TOKEN",
"Content-Type": "application/json"
},
json={
"unmask": [{"token_value": "8oGEcGVEkj 700ZSgo1pA"}]
}
)
tracking_id = response.json()["data"][0]["tracking_id"]
{
"data": [
{
"tracking_id": "4f0f6df0-b063-409a-ace0-88398d7bf3d821122023081515",
"status": "PENDING"
}
],
"success": true,
"error": { "message": "" }
}
Submits an unmask request for background processing. Returns a tracking_id immediately — results are retrieved by polling the Async Status endpoint.
Endpoint
| Method | URL |
|---|---|
| PUT | {baseurl}/unmask/async |
Request body
body
unmaskarray
RequiredList of tokenized values to unmask asynchronously.
body
unmask[].token_valuestring
RequiredThe tokenized text to unmask.
After submission
Use the tracking_id to poll the Async Status endpoint. The unmasked values are returned in the result field when the job status is SUCCESS.
Was this page helpful?
Last updated Apr 7, 2026
Built with Documentation.AI