API reference / People
People
The organisation's directory.
Base URL https://api.zilomail.in
List people#
GET/v1/people
The organisation's directory: everyone with an active account, by name.
Query
qstringUp to 200 characters.
limitintegerHow many to return (1–200). Default 50.
cursorstringThe
next value from the previous page. Up to 500 characters.Answer · 200 OK
dataarray of objectidstringnamestring | nullemailstringusernamestring | nulljobTitlestring | nulldepartmentstring | nullnextstring | nullPass as
cursor for the next page; null on the last.curl "https://api.zilomail.in/v1/people?limit=20" \
-H "Authorization: Bearer $ZILO_TOKEN"Answer · 200 OK
{
"data": [
{
"id": "string",
"name": "string",
"email": "string",
"username": "string",
"jobTitle": "string",
"department": "string"
}
],
"next": "string"
}Try it
Sign in to call it as yourself.
Get a person#
GET/v1/people/{id}
Path
idstringrequiredTheir user id or email address. Up to 64 characters.
Answer · 200 OK
idstringnamestring | nullemailstringusernamestring | nulljobTitlestring | nulldepartmentstring | nullcurl "https://api.zilomail.in/v1/people/ID" \
-H "Authorization: Bearer $ZILO_TOKEN"Answer · 200 OK
{
"id": "string",
"name": "string",
"email": "string",
"username": "string",
"jobTitle": "string",
"department": "string"
}Try it
Sign in to call it as yourself.