> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Customer

> Create a new customer via the ContactSwing API.

### Authorizations

<ParamField header="Authorization" type="string" required>
  Enter your ContactSwing JWT Bearer token.
</ParamField>

### Request Body

**JSON: CustomerRequest** (see OpenAPI spec)

<ParamField body="name" type="string" required>
  Customer full name
</ParamField>

<ParamField body="phone" type="string">
  Phone number `+1234567890`
</ParamField>

<ParamField body="email" type="string">
  Email address `user@example.com`
</ParamField>

<ParamField body="company_name" type="string">
  Company name
</ParamField>

### Response

**201 Created** - Customer created successfully

<ResponseField name="ctx_id" type="string">Request context ID</ResponseField>

<ResponseField name="data" type="object">
  <ResponseField name="id" type="string">Customer ID</ResponseField>
  <ResponseField name="name" type="string">Customer name</ResponseField>
  <ResponseField name="phone" type="string">Phone number</ResponseField>
</ResponseField>

**400 Bad Request** - Invalid input
