Booking Pro API
API ReferenceContacts

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.

POST
/contacts

Authorization

ApiKeyAuth
AuthorizationBearer <token>

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

Idempotency-Key?string

A unique key you generate per logical create. Retrying with the same key returns the original result instead of creating a duplicate.

Lengthlength <= 255

Request 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",  "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",  "first_name": "string",  "last_name": "string",  "phone": "string",  "email": "string",  "created_at": "2019-08-24T14:15:22Z"}