cURL
curl --request GET \ --url https://api.us.lexful.app/v1/entities/{entityTypeName}/{entityId}/secure/{propertyName} \ --header 'Authorization: Bearer <token>' \ --header 'X-Account-ID: <api-key>'
{ "type": "secret", "value": "<string>", "code": "<string>", "expires": "2023-11-07T05:31:56Z" }
Get a secure/encrypted property value from an entity
Bearer token
Account ID
Entity type name
Entity ID
Secure property name
Default Response
Type of secure property
secret
totp
Decrypted property value
Generated TOTP code (only for TOTP properties)
TOTP code expiration time (only for TOTP properties)
Was this page helpful?