Skip to main content
GET
/
v1
/
consumer
/
portfolio
/
{username}
Public Portfolio
curl --request GET \
  --url https://api.truthlocks.com/v1/consumer/portfolio/{username}
{
  "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.

Parameters

username
string
required
The consumer’s public username.

Responses

{
  "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"
    }
  ]
}

Path Parameters

username
string
required

Response

Public portfolio

username
string
display_name
string
items
object[]