Retrieve the status of multiple secrets in a single request. Accepts a comma-separated list of secret identifiers and returns their current state and metadata.
POST
/api/v3/secret/status
curl \
--request POST 'https://us.onetimesecret.com/api/v3/secret/status' \
--header "Content-Type: application/json" \
--data '{"identifiers":["string"]}'
Request examples
{
"identifiers": [
"string"
]
}
Response examples (200)
{
"user_id": "string",
"shrimp": "",
"records": [
{
"identifier": "string",
"key": "string",
"shortid": "string",
"state": "new",
"has_passphrase": true,
"verification": true,
"secret_value": "string",
"is_previewed": true,
"is_revealed": true,
"created": 42.0,
"updated": 42.0
}
],
"details": {},
"count": 42
}
Response examples (400)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (404)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (422)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (500)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}