People

Customers and contacts.

#List people

GET/api/v1/people

Operation list_people · needs scope people:read

ParameterInTypeNotes
limitqueryintegerPage size, at most 100.
cursorquerystringpagination.nextCursor from the previous page.
sortquery-updated_at | updated_at | -created_at | created_atSort order. A leading minus sorts descending.
updated_sincequerydatetimeOnly records updated at or after this instant.
qquerystringFree-text search over the object's main columns.
emailquerystringOnly records whose email equals this.
lifecycle_stagequerystringOnly records whose lifecycle_stage equals this.
ownerquerystringOnly records whose owner equals this.
companyquerystringOnly records linked to this company (public id).
lead_sourcequerystringOnly records whose lead_source equals this.
countryquerystringOnly records whose country equals this.
cityquerystringOnly records whose city equals this.
titlequerystringOnly records whose title equals this.
bash
curl https://synconone.com/api/v1/people \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
json
{
  "data": [
    {
      "id": "pr_1a2b3c4d5e6f7a8b",
      "object": "string",
      "display_name": "Emily Carter",
      "first_name": "Emily",
      "last_name": "Carter",
      "email": "[email protected]",
      "phone": "+61 400 000 000",
      "whatsapp": "string",
      "title": "Annual plan renewal",
      "department": "string"
    }
  ],
  "pagination": {
    "nextCursor": null,
    "hasMore": false
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Create a person

POST/api/v1/people

Operation create_person · needs scope people:write

Built-in and custom fields by key. Relations take public ids.

Body fieldTypeNotes
display_namestringName
first_namestringFirst name
last_namestringLast name
emailstringEmail
phonestringPhone
whatsappstringWhatsApp
titlestringJob title
departmentstringDepartment
companystringCompany
lifecycle_stagelead | prospect | customer | churnedLifecycle stage
lead_sourcestringLead source
ownerstringOwner
linkedin_urlstringLinkedIn
citystringCity
regionstringRegion
countrystringCountry
time_zonestringTime zone
languagestringLanguage
tagslist of stringTags
descriptionstringAbout
do_not_contactbooleanDo not contact
bash
curl -X POST https://synconone.com/api/v1/people \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"display_name":"Emily Carter","first_name":"Emily","last_name":"Carter","email":"[email protected]","phone":"+61 400 000 000"}'
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "display_name": "Emily Carter",
    "first_name": "Emily",
    "last_name": "Carter",
    "email": "[email protected]",
    "phone": "+61 400 000 000",
    "whatsapp": "string",
    "title": "Annual plan renewal",
    "department": "string"
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 409: Conflict, approval required, or idempotent request in progress. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Get a person

GET/api/v1/people/{id}

Operation get_person · needs scope people:read

ParameterInTypeNotes
id requiredpathstringPublic id of the person.
bash
curl https://synconone.com/api/v1/people/pr_1a2b3c4d5e6f7a8b \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "display_name": "Emily Carter",
    "first_name": "Emily",
    "last_name": "Carter",
    "email": "[email protected]",
    "phone": "+61 400 000 000",
    "whatsapp": "string",
    "title": "Annual plan renewal",
    "department": "string"
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 404: Not found, or not visible to this key. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Update a person

PATCH/api/v1/people/{id}

Operation update_person · needs scope people:write

Only the keys sent are changed. Fields are applied in order; the first refusal stops the request and details.applied lists what was already changed.

ParameterInTypeNotes
id requiredpathstringPublic id of the person.
Body fieldTypeNotes
display_namestringName
first_namestringFirst name
last_namestringLast name
emailstringEmail
phonestringPhone
whatsappstringWhatsApp
titlestringJob title
departmentstringDepartment
companystringCompany
lifecycle_stagelead | prospect | customer | churnedLifecycle stage
lead_sourcestringLead source
ownerstringOwner
linkedin_urlstringLinkedIn
citystringCity
regionstringRegion
countrystringCountry
time_zonestringTime zone
languagestringLanguage
tagslist of stringTags
descriptionstringAbout
do_not_contactbooleanDo not contact
bash
curl -X PATCH https://synconone.com/api/v1/people/pr_1a2b3c4d5e6f7a8b \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"display_name":"Emily Carter","first_name":"Emily","last_name":"Carter","email":"[email protected]","phone":"+61 400 000 000"}'
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "display_name": "Emily Carter",
    "first_name": "Emily",
    "last_name": "Carter",
    "email": "[email protected]",
    "phone": "+61 400 000 000",
    "whatsapp": "string",
    "title": "Annual plan renewal",
    "department": "string"
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 404: Not found, or not visible to this key. · 409: Conflict, approval required, or idempotent request in progress. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.

#Archive a person

DELETE/api/v1/people/{id}

Operation archive_person · needs scope people:write

Archives the record (it can be restored in the app). Nothing is destroyed.

ParameterInTypeNotes
id requiredpathstringPublic id of the person.
bash
curl -X DELETE https://synconone.com/api/v1/people/pr_1a2b3c4d5e6f7a8b \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
json
{
  "data": {
    "id": "pr_1a2b3c4d5e6f7a8b",
    "object": "string",
    "archived": true
  }
}

Errors: 401: Missing, invalid, revoked or expired API key. · 403: The key lacks the scope, or its role cannot do this. · 404: Not found, or not visible to this key. · 422: Validation failed. · 429: Rate limited. Honour Retry-After.. See errors.