iconLensAI

Create a new customer

Create a new customer for the authenticated developer.

POST/v1/customers
AuthorizationBearer <token>

In: header

keystring

Customer key (unique per developer)

namestring

Customer display name

Response Body

application/json

curl -X POST "https://api.getlens.ai/v1/customers" \  -H "Content-Type: application/json" \  -d '{    "key": "customer-001",    "name": "Acme Corp"  }'
{
  "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"
}