> For the complete documentation index, see [llms.txt](https://docs.alignlabs.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alignlabs.dev/align-api/customers/create-customer.md).

# Create Customer

## POST /v0/customers

> Create a new customer

```json
{"openapi":"3.0.0","info":{"title":"Customers API","version":"0"},"servers":[{"url":"https://api.alignlabs.dev","description":"Production server"},{"url":"https://api-sandbox.alignlabs.dev","description":"Sandbox server"}],"paths":{"/v0/customers":{"post":{"summary":"Create a new customer","parameters":[{"name":"Api-Key","in":"header","description":"Your secret API key, available in the developer dashboard. Include this header on every request to authenticate your application.","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomerRequestBodyModel"}}}},"responses":{"201":{"description":"Customer created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomerResponseSuccessModel"}}}}}}}},"components":{"schemas":{"CreateCustomerRequestBodyModel":{"type":"object","properties":{"email":{"type":"string","format":"email","description":"The unique email address of the customer"},"first_name":{"type":"string","description":"The first name of the customer (required for individual customers)"},"last_name":{"type":"string","description":"The last name of the customer (required for individual customers)"},"company_name":{"type":"string","description":"The name of the company (required for corporate customers)"},"type":{"type":"string","enum":["individual","corporate"],"description":"The type of customer"}},"required":["email","type"]},"CreateCustomerResponseSuccessModel":{"type":"object","required":["customer_id","email","type"],"properties":{"customer_id":{"type":"string","format":"uuid","description":"The unique identifier for the customer"},"email":{"type":"string","format":"email","description":"The email address associated with the customer"},"company_name":{"type":"string","description":"The name of the company of the business customer"},"type":{"type":"string","enum":["individual","corporate"],"description":"The type of customer"},"first_name":{"type":"string","description":"The first name of the individual customer"},"last_name":{"type":"string","description":"The last name of the individual customer"}}}}}}
```
