Create a contact
Creates a customer record. Phone numbers are normalized to E.164. If a contact with the same phone already exists at the location, the existing record is returned (idempotent on phone) rather than duplicated.
Authorization
ApiKeyAuth Send your API key as a bearer token: Authorization: Bearer bp_sk_live_.... Mint and revoke keys in your dashboard under Settings -> Developers.
In: header
Header Parameters
A unique key you generate per logical create. Retrying with the same key returns the original result instead of creating a duplicate.
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/contacts" \ -H "Content-Type: application/json" \ -d '{ "first_name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "first_name": "string", "last_name": "string", "phone": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z"}List services
The bookable services offered, scoped to the key's locations: every active service assigned to each location and open for online booking, with that location's price and duration. Each location lists its own rows (the same service at two locations is two rows with two ids). The list is complete in one response (not paginated).
Retrieve a contact
Next Page