List people
GEThttps://app.notert.io/api/v1/people
A page of the workspace's people, newest first: its members, the accounts it banned and its contacts, by name and what they pay the workspace for. A search finds names alone: an email address finds no one, and none is ever answered.
A token with people:read. How to send one
Request
curl "https://app.notert.io/api/v1/people?kind=contact&limit=20" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"items": [
{
"id": "c_a4c6e8f0-2b1d-4f3a-9c5e-7d9b1f3a5c70",
"kind": "contact",
"name": "Hannah Lee",
"banned": false,
"customer": {
"plan": "Business",
"trial": false
}
}
],
"nextCursor": "W2ZhbHNlLCIyMDI2LTExLTAyIDEwOjE1OjAwLjEyMzQ1NiIsImNvbnRhY3QiLCJhNGM2ZThmMC0yYjFkLTRmM2EtOWM1ZS03ZDliMWYzYTVjNzAiXQ"
}Query parameters
querystringWords every person found has in their name, each at the start of a word of it when shorter than three letters. Names alone: an email address finds no one. Empty lists everyone.
At most 200 characters.
kindstringOnly members, those on the team or banned from it (member), or only contacts, customers and others outside it (contact). Left out, both.
One ofmembercontactbannedstringtrue for only those the workspace banned, false for only those it didn't. Left out, both.
One oftruefalselimitintegerHow many people the page holds.
1 to 100. Default 50.
cursorstringThe nextCursor of the page before.
At most 4096 characters.
Response 200
itemsobject[]The page's people, newest first.
idstringThe person's id: m_ and a member's user id, or c_ and a contact's id, as the people list answers it.
kindstringWhether the person is on the workspace's team, or an account it banned from the team (member), or someone outside it the workspace knows, such as a customer who wrote in, voted or was logged by the team (contact).
One ofmembercontactnamestring or nullTheir name, as they or the team wrote it. Null for one who gave none. Their email address is never answered.
bannedbooleanWhether the workspace banned them.
customerobject or nullWhat they pay the workspace for, where its connected billing says. Null for one paying nothing, or a workspace that hasn't connected billing.
planstringThe plan's name. Of a person's, the best of their subscriptions': a paid one before a trial.
trialbooleanWhether the plan is a trial rather than paid.
nextCursorstring or nullWhere the next page starts, to send as cursor. Null on the last page.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't read your customers and teammates. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.