People
People are the persons a business works with: the people of its company clients, its individual clients, and anyone not yet attached to a client. Each person has a name, job title, email addresses and phone numbers, and can be one of a client’s default invoice recipients.
Who can use it
Section titled “Who can use it”Every endpoint acts as the person whose personal access token is used, with the permissions their role gives them in the app. Reading people needs the permission to view leads; creating a person needs the permission to create leads; changing one (name, job title, emails, phone numbers, company or any other field) needs the permission to edit leads; deleting one needs the permission to delete leads. Adding people to a company client or removing them from it needs the permission to edit clients. Reading a client’s default invoice recipients needs the permission to view clients, and replacing them the permission to edit invoices. These permissions cover the whole business: whoever holds the permission to view leads sees every person, whether they are a member, a manager or an administrator; nothing is narrowed to the people or projects they manage. Administrators hold every permission. A person without the permission an endpoint needs gets 403. No person field is hidden by permission.
Objects
Section titled “Objects”The person object
Section titled “The person object”A person in the business: one of a company client’s people, an individual client, or someone not yet attached to any client.
| Field | Type | Description |
|---|---|---|
id |
string | The person’s id. Read only. |
name |
string | Full name as shown in the app, 1–255 characters. |
firstName |
string | First name when it was recorded separately, otherwise null. name is always the full name. Read only. Can be null. |
lastName |
string | Last name when it was recorded separately, otherwise null. Read only. Can be null. |
jobTitle |
string | Job title, or null when none is set. Can be null. |
avatarUrl |
string | URL of the person’s picture, or null. Read only. Can be null. |
emails |
array of emailAddress | The person’s email addresses, primary first. When there is at least one, exactly one is primary. |
phones |
array of phoneNumber | The person’s phone numbers, primary first. When there is at least one, exactly one is primary. |
address1 |
string | First address line, or null. Can be null. |
address2 |
string | Second address line, or null. Can be null. |
city |
string | City, or null. Can be null. |
state |
string | State or region, or null. Can be null. |
zip |
string | Postal code, or null. Can be null. |
country |
string | Country name, or null. Can be null. |
countryCode |
string | Two-letter country code, or null. Read only. Can be null. |
linkedinUrl |
string | LinkedIn profile URL, or null. Must be a linkedin.com address. Can be null. |
twitterUrl |
string | X (Twitter) profile URL, or null. Can be null. |
instagramUrl |
string | Instagram profile URL, or null. Can be null. |
facebookUrl |
string | Facebook profile URL, or null. Can be null. |
youtubeUrl |
string | YouTube channel URL, or null. Can be null. |
tiktokUrl |
string | TikTok profile URL, or null. Can be null. |
threadsUrl |
string | Threads profile URL, or null. Can be null. |
otherSocialUrl |
string | Any other profile URL, or null. Can be null. |
company |
object | The company the person belongs to, as { id, name }, or null. Set it with companyId or clientId. Can be null. |
client |
object | The client the person belongs to, as { id, name }: the company client whose people include them, or the individual client the person is. Null when the person belongs to no client. Read only. Can be null. |
isIndividualClient |
boolean | Whether the person is themselves an individual client. Read only. |
isPortalOwner |
boolean | Whether the person is their company client’s portal owner, who always has full access to the client portal. Read only. |
portalAccess |
string | The person’s client portal access: hasAccess (they accepted an invitation), invited (an invitation is pending) or notInvited. Read only. |
industry |
object | The person’s industry as { id, name }, or null. Can be null. |
source |
object | Where the person came from, as { id, name }, or null. Can be null. |
owner |
object | The team member who owns the person, as { id, name }, or null. Can be null. |
tags |
array of object | Tags on the person, each { id, name }. Read only. |
customFields |
object | The business’s custom fields for people, keyed by each field’s key, with the stored value: text, number, date (YYYY-MM-DD), a list for multi-select. Fields with no value are left out. |
lastEmailedAt |
datetime | When the person was last emailed from OneSuite, or null. Read only. Can be null. |
createdAt |
datetime | When the person was added. Read only. |
updatedAt |
datetime | When the person, or one of their emails or phone numbers, last changed. Read only. |
The email address object
Section titled “The email address object”One of a person’s email addresses.
| Field | Type | Description |
|---|---|---|
id |
string | The address’s id. Send it back in emails to keep or change this address. Read only. |
email |
string | The address. |
isPrimary |
boolean | Whether this is the person’s primary address, the one OneSuite writes to first. |
createdAt |
datetime | When the address was added. Read only. |
updatedAt |
datetime | When the address last changed. Read only. |
The phone number object
Section titled “The phone number object”One of a person’s phone numbers.
| Field | Type | Description |
|---|---|---|
id |
string | The number’s id. Send it back in phones to keep or change this number. Read only. |
phone |
string | The number as entered. |
country |
string | Country the number belongs to, or null. Can be null. |
dialCode |
string | International dial code, such as +353, or null. Can be null. |
label |
string | What kind of number it is: office, mobile, fax, home, direct, main or other; null when not said. Can be null. |
isPrimary |
boolean | Whether this is the person’s primary number. |
createdAt |
datetime | When the number was added. Read only. |
updatedAt |
datetime | When the number last changed. Read only. |
The invoice recipient object
Section titled “The invoice recipient object”One of a client’s people chosen to receive the client’s invoices by default.
| Field | Type | Description |
|---|---|---|
person |
object | The person, as { id, name }. Read only. |
role |
string | How the person receives the client’s invoices: to, cc or bcc. |
Endpoints
Section titled “Endpoints”List people
Section titled “List people”Returns the business’s people, newest first by default: the people of company clients, individual clients, and people not yet attached to any client. To list one client’s people, pass its id in filterClientIds.
GET /v1/peopleParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page |
query | integer | No | Page number, from 1. Default 1. |
limit |
query | integer | No | Rows per page. Default 20, at most 1000. |
search |
query | string | No | Text in the name or any email address. |
filterClientIds |
query | string | No | Comma-separated client ids: a company client’s people and its point of contact, and an individual client’s own person. |
filterCompanyIds |
query | string | No | Comma-separated company ids. |
hasCompany |
query | boolean | No | true: only people who belong to a company; false: only people who belong to none. |
filterTagIds |
query | string | No | Comma-separated tag ids. |
filterOwnerIds |
query | string | No | Comma-separated team member ids of owners. |
updatedSince |
query | datetime | No | Only people who, or whose emails or phone numbers, changed at or after this moment. Records deleted since then are not reported. |
sortField |
query | string | No | createdAt (default), updatedAt, name, jobTitle or country. |
sortOrder |
query | string | No | asc or desc (default). |
Rules
403when the person may not view people.400whenupdatedSinceis not a valid moment, orsortFieldorsortOrderis not one of the listed values.- Ids in
filterClientIdsorfilterCompanyIdsthat are not in the business match nothing; the request still answers 200.
Example request
curl "https://api.onesuite.io/v1/people?filterClientIds=cm3qk1x7a0004l208c2vh9e1t&updatedSince=2026-11-01T00:00:00.000Z&limit=1" \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/people?filterClientIds=cm3qk1x7a0004l208c2vh9e1t&updatedSince=2026-11-01T00:00:00.000Z&limit=1", { headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "data": [ { "id": "cm3qk2a1c0009l208h7w5r3pq", "name": "Dana Reyes", "firstName": "Dana", "lastName": "Reyes", "jobTitle": "Finance lead", "avatarUrl": null, "emails": [ { "id": "cm3qk2a2d000bl208x1y2z3ab", "isPrimary": true, "createdAt": "2026-11-02T10:16:40.120Z", "updatedAt": "2026-11-02T10:16:40.120Z" } ], "phones": [ { "id": "cm3qk2b9e000dl208p4q5r6st", "phone": "+353 1 555 0142", "country": "Ireland", "dialCode": "+353", "label": "office", "isPrimary": true, "createdAt": "2026-11-03T14:01:12.330Z", "updatedAt": "2026-11-03T14:01:12.330Z" } ], "address1": "14 Harbour Road", "address2": null, "city": "Dublin", "state": null, "zip": "D02 XY45", "country": "Ireland", "countryCode": "IE", "linkedinUrl": "https://www.linkedin.com/in/example-dana", "twitterUrl": null, "instagramUrl": null, "facebookUrl": null, "youtubeUrl": null, "tiktokUrl": null, "threadsUrl": null, "otherSocialUrl": null, "company": { "id": "cm3qk1x6z0002l2087kf3m0aa", "name": "Northwind Studio" }, "client": { "id": "cm3qk1x7a0004l208c2vh9e1t", "name": "Northwind Studio" }, "isIndividualClient": false, "isPortalOwner": false, "portalAccess": "invited", "industry": { "id": "cm3qk0p2x0003l208ind0a1b2", "name": "Architecture" }, "source": { "id": "cm3qk0q7v0005l208src3c4d5", "name": "Referral" }, "owner": { "id": "cm3qk0m4r0001l208own6e7f8", "name": "Sam Okafor" }, "tags": [ { "id": "cm3qk0t1a0007l208tag9g0h1", "name": "Key account" } ], "customFields": { "preferred-contact-time": "Mornings" }, "lastEmailedAt": "2026-11-18T09:02:11.540Z", "createdAt": "2026-11-02T10:16:40.001Z", "updatedAt": "2026-11-03T14:01:12.330Z" } ], "totalCount": 3, "page": 1, "limit": 1}Get a person
Section titled “Get a person”Returns one person.
GET /v1/people/:idParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The person’s id. |
Rules
403when the person may not view people.404when the person does not exist in the business.
Example request
curl "https://api.onesuite.io/v1/people/cm3qk2a1c0009l208h7w5r3pq" \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/people/cm3qk2a1c0009l208h7w5r3pq", { headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "data": { "id": "cm3qk2a1c0009l208h7w5r3pq", "name": "Dana Reyes", "firstName": "Dana", "lastName": "Reyes", "jobTitle": "Finance lead", "avatarUrl": null, "emails": [ { "id": "cm3qk2a2d000bl208x1y2z3ab", "isPrimary": true, "createdAt": "2026-11-02T10:16:40.120Z", "updatedAt": "2026-11-02T10:16:40.120Z" } ], "phones": [ { "id": "cm3qk2b9e000dl208p4q5r6st", "phone": "+353 1 555 0142", "country": "Ireland", "dialCode": "+353", "label": "office", "isPrimary": true, "createdAt": "2026-11-03T14:01:12.330Z", "updatedAt": "2026-11-03T14:01:12.330Z" } ], "address1": "14 Harbour Road", "address2": null, "city": "Dublin", "state": null, "zip": "D02 XY45", "country": "Ireland", "countryCode": "IE", "linkedinUrl": "https://www.linkedin.com/in/example-dana", "twitterUrl": null, "instagramUrl": null, "facebookUrl": null, "youtubeUrl": null, "tiktokUrl": null, "threadsUrl": null, "otherSocialUrl": null, "company": { "id": "cm3qk1x6z0002l2087kf3m0aa", "name": "Northwind Studio" }, "client": { "id": "cm3qk1x7a0004l208c2vh9e1t", "name": "Northwind Studio" }, "isIndividualClient": false, "isPortalOwner": false, "portalAccess": "invited", "industry": { "id": "cm3qk0p2x0003l208ind0a1b2", "name": "Architecture" }, "source": { "id": "cm3qk0q7v0005l208src3c4d5", "name": "Referral" }, "owner": { "id": "cm3qk0m4r0001l208own6e7f8", "name": "Sam Okafor" }, "tags": [ { "id": "cm3qk0t1a0007l208tag9g0h1", "name": "Key account" } ], "customFields": { "preferred-contact-time": "Mornings" }, "lastEmailedAt": "2026-11-18T09:02:11.540Z", "createdAt": "2026-11-02T10:16:40.001Z", "updatedAt": "2026-11-03T14:01:12.330Z" }}Create a person
Section titled “Create a person”Adds a person. Only name is required. Send clientId to make the person one of a company client’s people in the same request. Unless ownerId is sent, the person creating them becomes the owner.
POST /v1/peopleParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name |
body | string | Yes | Full name, 1–255 characters. |
jobTitle |
body | string | No | Job title, up to 255 characters. Null or an empty string clears it. |
emails |
body | array of object | No | The person’s complete list of email addresses, each { id?, email, isPrimary? }. See the rule for emails and phone numbers below. |
phones |
body | array of object | No | The person’s complete list of phone numbers, each { id?, phone, country?, dialCode?, label?, isPrimary? }. label is one of office, mobile, fax, home, direct, main, other, or null. |
companyId |
body | string | No | Company the person belongs to; a company client’s company makes them one of that client’s people. Do not send together with clientId. |
clientId |
body | string | No | A company client to make the person one of its people; the same as sending that client’s company. Do not send together with companyId. |
address1 |
body | string | No | First address line. The body also takes address2, city, state, zip and country, each a string or null. |
linkedinUrl |
body | string | No | LinkedIn profile URL. The body also takes twitterUrl, instagramUrl, facebookUrl, youtubeUrl, tiktokUrl, threadsUrl and otherSocialUrl, each a URL or null. |
industryId |
body | string | No | Industry id, or null for none. |
sourceId |
body | string | No | Source id, or null for none. |
ownerId |
body | string | No | Team member id of the person’s owner, or null for none. |
customFields |
body | object | No | Custom field values keyed by the field’s key. Keys not sent keep their value; null clears one. |
Rules
403when the person may not create people.403when the business’s plan allows a set number of people and the business already has that many; the message says to upgrade.400when the name is missing or longer than 255 characters, an email address or phone number is invalid, more than one row is marked primary, alabelis not one of the listed values, the LinkedIn URL is not a linkedin.com address, or bothcompanyIdandclientIdare sent. Nothing is created.400whenclientIdnames an individual client: only company clients have people.404when the company, client, industry, source, owner or a custom field key is not in the business.409when an email address already belongs to another person in the business; the message names where it is. Nothing is created.- Answers 201 with the new person.
Example request
curl "https://api.onesuite.io/v1/people" \ -X POST \ -H "X-API-Key: $ONESUITE_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name":"Lee Chen","jobTitle":"Studio manager","clientId":"cm3qk1x7a0004l208c2vh9e1t","emails":[{"email":"[email protected]"}],"phones":[{"phone":"+353 87 555 0187","country":"Ireland","dialCode":"+353","label":"mobile"}]}'const response = await fetch("https://api.onesuite.io/v1/people", { method: "POST", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, "Content-Type": "application/json", }, body: JSON.stringify({ name: "Lee Chen", jobTitle: "Studio manager", clientId: "cm3qk1x7a0004l208c2vh9e1t", emails: [ { }, ], phones: [ { phone: "+353 87 555 0187", country: "Ireland", dialCode: "+353", label: "mobile", }, ], }),});const data = await response.json();Example response — status 201
{ "data": { "id": "cm3ql7d2f0011l208k9m1n2pq", "name": "Lee Chen", "firstName": null, "lastName": null, "jobTitle": "Studio manager", "avatarUrl": null, "emails": [ { "id": "cm3ql7d3a0013l208e4f5g6hj", "isPrimary": true, "createdAt": "2026-11-21T09:30:05.214Z", "updatedAt": "2026-11-21T09:30:05.214Z" } ], "phones": [ { "id": "cm3ql7d3k0015l208p7q8r9st", "phone": "+353 87 555 0187", "country": "Ireland", "dialCode": "+353", "label": "mobile", "isPrimary": true, "createdAt": "2026-11-21T09:30:05.214Z", "updatedAt": "2026-11-21T09:30:05.214Z" } ], "address1": null, "address2": null, "city": null, "state": null, "zip": null, "country": null, "countryCode": null, "linkedinUrl": null, "twitterUrl": null, "instagramUrl": null, "facebookUrl": null, "youtubeUrl": null, "tiktokUrl": null, "threadsUrl": null, "otherSocialUrl": null, "company": { "id": "cm3qk1x6z0002l2087kf3m0aa", "name": "Northwind Studio" }, "client": { "id": "cm3qk1x7a0004l208c2vh9e1t", "name": "Northwind Studio" }, "isIndividualClient": false, "isPortalOwner": false, "portalAccess": "notInvited", "industry": null, "source": null, "owner": { "id": "cm3qk0m4r0001l208own6e7f8", "name": "Sam Okafor" }, "tags": [], "customFields": {}, "lastEmailedAt": null, "createdAt": "2026-11-21T09:30:05.214Z", "updatedAt": "2026-11-21T09:30:05.214Z" }}Update a person
Section titled “Update a person”Changes the fields sent and leaves the rest as they are. Emails and phone numbers are each sent as the complete list. A row with the id of one of the person’s own addresses (or numbers) keeps that row and applies any change; a row without an id is added; any existing row not in the list is removed; an empty list removes them all. At most one row may be isPrimary: true; if none is, the first row becomes primary. Leaving emails or phones out of the body leaves them unchanged. Send companyId: null to detach the person from their company and its client.
PATCH /v1/people/:idParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The person’s id. |
name |
body | string | No | Full name, 1–255 characters. |
jobTitle |
body | string | No | Job title, up to 255 characters. Null or an empty string clears it. |
emails |
body | array of object | No | The person’s complete list of email addresses, each { id?, email, isPrimary? }. See the rule for emails and phone numbers below. |
phones |
body | array of object | No | The person’s complete list of phone numbers, each { id?, phone, country?, dialCode?, label?, isPrimary? }. label is one of office, mobile, fax, home, direct, main, other, or null. |
companyId |
body | string | No | Company the person belongs to; a company client’s company makes them one of that client’s people. Do not send together with clientId. |
clientId |
body | string | No | A company client to make the person one of its people; the same as sending that client’s company. Do not send together with companyId. |
address1 |
body | string | No | First address line. The body also takes address2, city, state, zip and country, each a string or null. |
linkedinUrl |
body | string | No | LinkedIn profile URL. The body also takes twitterUrl, instagramUrl, facebookUrl, youtubeUrl, tiktokUrl, threadsUrl and otherSocialUrl, each a URL or null. |
industryId |
body | string | No | Industry id, or null for none. |
sourceId |
body | string | No | Source id, or null for none. |
ownerId |
body | string | No | Team member id of the person’s owner, or null for none. |
customFields |
body | object | No | Custom field values keyed by the field’s key. Keys not sent keep their value; null clears one. |
Rules
403when the person may not edit people.404when the person does not exist in the business.400when the body is empty, the name is empty, an email address or phone number is invalid, more than one row is marked primary, anidinemailsorphonesis not one of this person’s, alabelis not one of the listed values, the LinkedIn URL is not a linkedin.com address, or bothcompanyIdandclientIdare sent. Nothing changes.400whenclientIdnames an individual client, or the person is themselves an individual client andcompanyIdorclientIdis sent.404when the company, client, industry, source, owner or a custom field key is not in the business.409when an added email address already belongs to another person in the business. Nothing changes.- Removing the person from a company client this way has the same effects as Remove a person from a client: if they were its point of contact the client has none, and their client portal invitation or access ends.
Example request
curl "https://api.onesuite.io/v1/people/cm3qk2a1c0009l208h7w5r3pq" \ -X PATCH \ -H "X-API-Key: $ONESUITE_TOKEN" \ -H "Content-Type: application/json" \ -d '{"jobTitle":"Head of finance","emails":[{"email":"[email protected]","isPrimary":true},{"id":"cm3qk2a2d000bl208x1y2z3ab","email":"[email protected]"}]}'const response = await fetch("https://api.onesuite.io/v1/people/cm3qk2a1c0009l208h7w5r3pq", { method: "PATCH", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, "Content-Type": "application/json", }, body: JSON.stringify({ jobTitle: "Head of finance", emails: [ { isPrimary: true, }, { id: "cm3qk2a2d000bl208x1y2z3ab", }, ], }),});const data = await response.json();Example response — status 200
{ "data": { "id": "cm3qk2a1c0009l208h7w5r3pq", "name": "Dana Reyes", "firstName": "Dana", "lastName": "Reyes", "jobTitle": "Head of finance", "avatarUrl": null, "emails": [ { "id": "cm3qm1a4b0021l208w2x3y4za", "isPrimary": true, "createdAt": "2026-11-21T10:12:44.902Z", "updatedAt": "2026-11-21T10:12:44.902Z" }, { "id": "cm3qk2a2d000bl208x1y2z3ab", "isPrimary": false, "createdAt": "2026-11-02T10:16:40.120Z", "updatedAt": "2026-11-21T10:12:44.902Z" } ], "phones": [ { "id": "cm3qk2b9e000dl208p4q5r6st", "phone": "+353 1 555 0142", "country": "Ireland", "dialCode": "+353", "label": "office", "isPrimary": true, "createdAt": "2026-11-03T14:01:12.330Z", "updatedAt": "2026-11-03T14:01:12.330Z" } ], "address1": "14 Harbour Road", "address2": null, "city": "Dublin", "state": null, "zip": "D02 XY45", "country": "Ireland", "countryCode": "IE", "linkedinUrl": "https://www.linkedin.com/in/example-dana", "twitterUrl": null, "instagramUrl": null, "facebookUrl": null, "youtubeUrl": null, "tiktokUrl": null, "threadsUrl": null, "otherSocialUrl": null, "company": { "id": "cm3qk1x6z0002l2087kf3m0aa", "name": "Northwind Studio" }, "client": { "id": "cm3qk1x7a0004l208c2vh9e1t", "name": "Northwind Studio" }, "isIndividualClient": false, "isPortalOwner": false, "portalAccess": "invited", "industry": { "id": "cm3qk0p2x0003l208ind0a1b2", "name": "Architecture" }, "source": { "id": "cm3qk0q7v0005l208src3c4d5", "name": "Referral" }, "owner": { "id": "cm3qk0m4r0001l208own6e7f8", "name": "Sam Okafor" }, "tags": [ { "id": "cm3qk0t1a0007l208tag9g0h1", "name": "Key account" } ], "customFields": { "preferred-contact-time": "Mornings" }, "lastEmailedAt": "2026-11-18T09:02:11.540Z", "createdAt": "2026-11-02T10:16:40.001Z", "updatedAt": "2026-11-21T10:12:44.902Z" }}Delete a person
Section titled “Delete a person”Permanently deletes the person with their emails, phone numbers and custom field values. Their client portal invitation or access ends first. To take someone off a client but keep them, use Remove a person from a client instead.
DELETE /v1/people/:idParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The person’s id. |
Rules
403when the person may not delete people.404when the person does not exist in the business.409when the person is an individual client: delete the client instead.- The person’s rates as a client collaborator on projects are deleted with them.
Example request
curl "https://api.onesuite.io/v1/people/cm3ql7d2f0011l208k9m1n2pq" \ -X DELETE \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/people/cm3ql7d2f0011l208k9m1n2pq", { method: "DELETE", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "message": "Person deleted"}Add people to a client
Section titled “Add people to a client”Adds one or more people to a company client. Each row either names an existing person by personId or gives a name (and usually an email) for a new one; a new row whose email belongs to a person who has no company attaches that person instead of creating another. Set inviteToPortal on a row with an email to invite that person to the client portal. Answers 201 with the people added.
POST /v1/clients/:id/peopleParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The company client’s id. |
people |
body | array of object | Yes | [{ personId } or { name, email?, inviteToPortal? }], 1 to 100 rows. |
invitationMessage |
body | string | No | Personal message added to the portal invitation email. |
Rules
403when the person may not edit clients.404when the client, or apersonId, is not in the business.400when the client is an individual client: only company clients have people.400when a row has neitherpersonIdnor a name, or an email address is invalid. Nothing is added.409when an email address, or apersonId, already belongs to a person at another company or at this client; the message says where. Nothing is added.403when a new row would take the business past the number of people its plan allows.- An invitation that cannot be sent leaves the person added; their
portalAccessstaysnotInvited.
Example request
curl "https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/people" \ -X POST \ -H "X-API-Key: $ONESUITE_TOKEN" \ -H "Content-Type: application/json" \ -d '{"people":[{"name":"Lee Chen","email":"[email protected]","inviteToPortal":true}],"invitationMessage":"Here is your access to our shared project space."}'const response = await fetch("https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/people", { method: "POST", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, "Content-Type": "application/json", }, body: JSON.stringify({ people: [ { name: "Lee Chen", inviteToPortal: true, }, ], invitationMessage: "Here is your access to our shared project space.", }),});const data = await response.json();Example response — status 201
{ "data": [ { "id": "cm3ql7d2f0011l208k9m1n2pq", "name": "Lee Chen", "firstName": null, "lastName": null, "jobTitle": null, "avatarUrl": null, "emails": [ { "id": "cm3ql7d3a0013l208e4f5g6hj", "isPrimary": true, "createdAt": "2026-11-21T09:30:05.214Z", "updatedAt": "2026-11-21T09:30:05.214Z" } ], "phones": [], "address1": null, "address2": null, "city": null, "state": null, "zip": null, "country": null, "countryCode": null, "linkedinUrl": null, "twitterUrl": null, "instagramUrl": null, "facebookUrl": null, "youtubeUrl": null, "tiktokUrl": null, "threadsUrl": null, "otherSocialUrl": null, "company": { "id": "cm3qk1x6z0002l2087kf3m0aa", "name": "Northwind Studio" }, "client": { "id": "cm3qk1x7a0004l208c2vh9e1t", "name": "Northwind Studio" }, "isIndividualClient": false, "isPortalOwner": false, "portalAccess": "invited", "industry": null, "source": null, "owner": null, "tags": [], "customFields": {}, "lastEmailedAt": null, "createdAt": "2026-11-21T09:30:05.214Z", "updatedAt": "2026-11-21T09:30:05.214Z" } ]}Remove a person from a client
Section titled “Remove a person from a client”Takes the person off the company client and keeps them as a person in the business. If they were the client’s point of contact, the client has none afterwards. A pending client portal invitation is cancelled and their portal access ends.
DELETE /v1/clients/:id/people/:personIdParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The company client’s id. |
personId |
path | string | Yes | The person’s id. |
Rules
403when the person may not edit clients.404when the client is not in the business, or the person is not one of its people.400when the client is an individual client.- The person stops being one of the client’s default invoice recipients.
Example request
curl "https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/people/cm3qk2a1c0009l208h7w5r3pq" \ -X DELETE \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/people/cm3qk2a1c0009l208h7w5r3pq", { method: "DELETE", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "message": "Person removed from client"}List a client’s default invoice recipients
Section titled “List a client’s default invoice recipients”Returns the client’s people chosen to receive its invoices by default, each as to, cc or bcc. People not listed receive nothing by default.
GET /v1/clients/:id/invoice-recipientsParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The client’s id. |
page |
query | integer | No | Page number, from 1. Default 1. |
limit |
query | integer | No | Rows per page. Default 20, at most 1000. |
Rules
403when the person may not view clients.404when the client is not in the business.
Example request
curl "https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/invoice-recipients" \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/invoice-recipients", { headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "data": [ { "person": { "id": "cm3qk2a1c0009l208h7w5r3pq", "name": "Dana Reyes" }, "role": "to" }, { "person": { "id": "cm3ql7d2f0011l208k9m1n2pq", "name": "Lee Chen" }, "role": "cc" } ], "totalCount": 2, "page": 1, "limit": 20}Replace a client’s default invoice recipients
Section titled “Replace a client’s default invoice recipients”Replaces the whole list of the client’s default invoice recipients. Send an empty list to clear it. Answers 200 with the new list.
PUT /v1/clients/:id/invoice-recipientsParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The client’s id. |
recipients |
body | array of object | Yes | [{ personId, role }], where role is to, cc or bcc. A person appears at most once. |
Rules
403when the person may not edit invoices.404when the client is not in the business.400when a person is not one of the client’s people, its point of contact or the individual client’s own person, appears twice, or a role is notto,ccorbcc. Nothing changes.
Example request
curl "https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/invoice-recipients" \ -X PUT \ -H "X-API-Key: $ONESUITE_TOKEN" \ -H "Content-Type: application/json" \ -d '{"recipients":[{"personId":"cm3qk2a1c0009l208h7w5r3pq","role":"to"},{"personId":"cm3ql7d2f0011l208k9m1n2pq","role":"cc"}]}'const response = await fetch("https://api.onesuite.io/v1/clients/cm3qk1x7a0004l208c2vh9e1t/invoice-recipients", { method: "PUT", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, "Content-Type": "application/json", }, body: JSON.stringify({ recipients: [ { personId: "cm3qk2a1c0009l208h7w5r3pq", role: "to", }, { personId: "cm3ql7d2f0011l208k9m1n2pq", role: "cc", }, ], }),});const data = await response.json();Example response — status 200
{ "data": [ { "person": { "id": "cm3qk2a1c0009l208h7w5r3pq", "name": "Dana Reyes" }, "role": "to" }, { "person": { "id": "cm3ql7d2f0011l208k9m1n2pq", "name": "Lee Chen" }, "role": "cc" } ], "totalCount": 2, "page": 1, "limit": 20}