Skip to content
Docs
Operation

Get the customer's photo

GET/customers/{customerId}/photo
The customer's photo for a membership card or a desk check, as a short-lived signed URL; null when there is none. The customer's photo is the restricted tier of their record: reading or changing it needs customers.read_restricted on the customer's account, held by Organisation Owner, Platform Admin and Venue Admin, and by any role an organisation grants it to.

Path parameters

customerIdstringRequired
Customer ID

Returns

The photo, or null

Errors

400
Bad Request - Invalid input
401
Unauthorized - Authentication required
403
Forbidden - Insufficient permissions
404
Not Found - Resource not found
500
Internal Server Error

Every error names its code and links to it. All error codes

curl -X GET "https://api.ticketlayer.com/v1/customers/cus_abc123/photo" \  -H "Authorization: Bearer tlak_..." \  -H "X-Ticketlayer-Org: your-org-slug"
Response 200
{
  "photo": {
    "assetId": "string",
    "contentType": "image/jpeg",
    "sizeBytes": 0,
    "url": "string",
    "expiresAt": "string",
    "uploadedAt": "string",
    "uploadedBy": "string"
  }
}

Try it in test mode

Path parameters
Customer ID