cURL
curl --request GET \ --url https://api.us.lexful.app/v1/assets/{assetTypeName}/{assetId}/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 asset
Bearer token
Account ID
Asset type name
Asset ID
Secure property name
Include soft-deleted (default: false)
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?