Teammates API Reference

Get teammates

Endpoint:

GET /v1/:page_id/team?page=:page&per_page=:per_page
  • The default page number is 1.
  • The default per_page number is 50 and the maximum is 100 items per page.

Example response

[
{
"id": "ckg8atgc1o3eo0a3572ix475l",
"user": {
"id": "ckg8atfj8o3ec0a35p3ol3r1b",
"name": "Ali Salah",
"email": "ali@instatus.com",
"avatar": "https://res.cloudinary.com/sup/image/upload/v1600287654/avatars/uuhfbauwwv7zjzzejgik.jpg"
}
}
]

Add a team member

POST /v1/:page_id/team

Example request

{
"email": "john@instatus.com"
}

Delete a team member

DELETE /v1/:page_id/team/:member_id