Documentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.
Get profile
GET/v1/consumer/me
Returns the authenticated consumer’s profile, including display name, email, MFA status, roles, and permissions. Use this endpoint to populate profile pages or check the current user’s access level.
Parameters
No parameters required. The user is identified from the authentication token.
Responses
Update profile
PUT/v1/consumer/me
Update the authenticated consumer’s display name, region, or language preference. All fields are optional — only non-empty values are applied.
Parameters
Display name shown on your profile and public portfolio.
ISO 3166-1 alpha-2 region code (e.g. US, GB, DE). Controls data residency preferences.
Preferred language code (e.g. en, es, fr). Stored in your tenant settings.
Responses
Claim username
PUT/v1/consumer/me/username
Claim a globally unique username for your account. Once claimed, your public portfolio is available at verify.truthlocks.com/portfolio/{username}.
Usernames must be 3–30 characters long. Choose a lowercase alphanumeric name, optionally with hyphens or underscores.
Parameters
The username to claim. Must be unique, 3–30 characters, lowercase alphanumeric with optional hyphens or underscores.
Responses
API key for machine-to-machine authentication