Developers

Version 3

Customer

POST /v3/customers

Create a new customer for a property.

Supported Versions v3
Scopes Required
Learn More
customers:write

Access Token

An access token is required to access this resource.

Request Parameters

Field Type Description
first_name string The first name of the customer.
last_name string Required The last name of the customer.
email string The email address of the customer.
phone_number string The phone number of the customer. Expects the phone number to formatted in E.164 standards (e.g. "+16505551234"). Be sure to properly encode this value so that + is passed as %2B.
extern_id string Required The unique external identifier of the customer. Akia will automatically dedupe against this identifier.
property_id integer Required The ID of the property this customer belongs to.

Response Parameters

Field Type Description
id integer The ID of the customer created.

Example

{ "status": "ok", "status_code": 200, "data": { "id": "164533533", } }