Skip to main content
POST
/
v1beta
/
secrets
/
{uuid}
/
totp
Generate TOTP code
curl --request POST \
  --url https://api.example.com/v1beta/secrets/{uuid}/totp \
  --header 'Authorization: Bearer <token>'
{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>

Path Parameters

uuid
string<uuid>
required

The UUID of the secret.

Response

Successful response

uuid
string<uuid>
required

Unique identifier of the secret.

code
string
required

Current 6-digit TOTP code.