iconLensAI

Get customer by key

Retrieve a customer by its unique key. Only customers owned by the authenticated developer can be accessed.

GET/v1/customers/{key}
AuthorizationBearer <token>

In: header

Path Parameters

keystring

Unique key identifier of the customer

Response Body

application/json

curl -X GET "https://api.getlens.ai/v1/customers/customer-001"
{
  "key": "customer-001",
  "name": "Acme Corp",
  "description": "Main customer account for Acme Corporation",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-01-15T10:30:00.000Z"
}