- API reference
- Teammates
List teammates
GEThttps://app.notert.io/api/v1/teammates
A page of the workspace's members, whom a request may be assigned to, by name, never an email address. Every id a request's ownerIds holds is among them, a teammate who hasn't set a name included.
A token with requests:read. How to send one
Request
curl "https://app.notert.io/api/v1/teammates?limit=20" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"items": [
{
"id": "m_5k2m9p4q7r1t",
"name": "Hannah Lee",
"role": "admin"
}
],
"nextCursor": "WyJoYW5uYWggbGVlIiwidXNlcl81azJtOXA0cTdyMXQiXQ"
}Query parameters
querystringOnly the teammates whose name holds every word of it, whatever its accents. Empty lists them all, and a teammate without a name is never found by one.
At most 200 characters.
limitintegerHow many teammates the page holds.
1 to 100. Default 50.
cursorstringThe nextCursor of the page before.
At most 4096 characters.
Response 200
itemsobject[]The page's teammates by name, those who haven't set a name first.
idstringThe teammate's id: m_ and their user id, as the people endpoints name them, which a request's ownerIds take.
namestring or nullThe teammate's name. Null for one who hasn't set a name. Their email address is never answered.
rolestringTheir role in the workspace: owner, admin or member, the highest where they hold several.
One ofmemberadminowner
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 requests, boards, tags and statuses. 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.