Skip to main content
POST
Create a contact

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

A unique value you choose for this request, such as a UUID. Sending the same key again returns the first answer instead of doing the work twice, so a timed-out request is safe to retry. Reusing a key for a different request is refused with 409 idempotency_key_conflict, and retrying while the first request is still running with 409 idempotency_key_reused. See Retries and idempotency.

Minimum string length: 1

Path Parameters

clinic_id
string<uuid>
required

Body

application/json
owner_staff_id
string<uuid> | null
record_type
enum<string>
Available options:
lead,
prospect,
waitlist,
referral,
contact
first_name
string | null
last_name
string | null
email
string | null
phone
string | null
company
string | null
lifecycle_stage
enum<string>
Available options:
lead,
inquiry,
prospect,
waitlist,
customer,
lost
pipeline_id
string<uuid> | null
stage_id
string<uuid> | null
source
string
referral_source_id
string<uuid> | null
interest
string | null
desired_service_id
string<uuid> | null
desired_provider_id
string<uuid> | null
estimated_value_cents
integer | null
priority
enum<string>
Available options:
low,
normal,
high
marketing_opt_in
boolean
sms_opt_in
boolean
tags
string[]
custom_fields
object

Response

OK.

data
object
required

Withheld, by NAME: clinic_id (implicit in the path), unsubscribe_token, migrated_from_patient_id, custom_color, created_by, confirmed_opt_in_at, marketing_authorization_id.