curl --request GET \ --url https://api.truthlocks.com/v1/consumer/portfolio/{username}
Copy
{ "user": { "name": "Jane Doe", "username": "janedoe" }, "protections": [ { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "attestation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "title": "My Photograph", "description": "Sunset photo taken in Big Sur, CA", "content_type": "image", "category": "photography", "verification_count": 12, "created_at": "2026-03-12T10:30:00Z" } ]}
Consumer (B2C)
Public Portfolio
Returns the public portfolio for a consumer by username. No authentication required.
GET
/
v1
/
consumer
/
portfolio
/
{username}
Public Portfolio
Copy
curl --request GET \ --url https://api.truthlocks.com/v1/consumer/portfolio/{username}
Copy
{ "user": { "name": "Jane Doe", "username": "janedoe" }, "protections": [ { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "attestation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "title": "My Photograph", "description": "Sunset photo taken in Big Sur, CA", "content_type": "image", "category": "photography", "verification_count": 12, "created_at": "2026-03-12T10:30:00Z" } ]}
Retrieve a consumer’s public portfolio by username. Returns all protections with visibility set to ‘public’. No authentication required — this is a public endpoint for showcasing protected content.