Create customer
POST
Create a new customer record.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
x-api-key*stringAPI key for authentication
Length
1 <= length- body
name*stringFull name of the customer
Length
1 <= lengthemail?stringCustomer's email address
Format
emailphone_number?stringCustomer's phone number in E.164 format
Response for status 200
application/json- response
id*stringname*stringemail*stringcreated_at*stringupdated_at*stringphone_number*stringcurl -X POST 'https://api.tryaccess.xyz/api/v1/customers/' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{ "name": "Jane Doe"}'{ "id": "string", "name": "string", "email": "string", "created_at": "string", "updated_at": "string", "phone_number": "string"}How is this guide?