Public Portfolio

GEThttps://sandbox-api.truthlocks.com/v1/consumer/portfolio/{username}

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.

Path Parameters

usernamestringrequired

The consumer's public username.

Defaults to janedoe

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"
    }
  ]
}
GET/v1/consumer/portfolio/{username}
Language
cURL Request
Examples ▾
curl --request GET \
  --url https://sandbox-api.truthlocks.com/v1/consumer/portfolio/janedoe \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{}'
Response

Click Try It! to send a real request, or view sample responses: