Skip to main content

Staff API

Manage workspace staff members and their permissions using the Staff API endpoints.


Endpoints

1. List/Search Staff

GET /v1/staffs

  • Description: Retrieve a list of staff members with optional filtering and search.
  • Authentication: Requires x-api-key header.

Query Parameters:

NameInTypeRequiredDescription
workspaceIdquerystringNoFilter by workspace ID
limitquerystringNoMax number of results
pagequerystringNoPage number for pagination
searchTextquerystringNoFree text search
x-api-keyheaderstringYesAPI authentication key

Response: [200 OK] - Array of Staff


2. Get Staff by ID

GET /v1/staffs/{staffId}

  • Description: Retrieve a staff member by their unique ID.
  • Authentication: Requires x-api-key header.

Path Parameters:

NameInTypeRequiredDescription
staffIdpathstringYesStaff unique ID
x-api-keyheaderstringYesAPI authentication key

Response: [200 OK] - Staff


Schemas

Staff Schema

{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"countryCode": "string",
"phone": "string",
"active": true,
"workspaces": ["string"]
}

Staffs Schema

[
{ /* Staff object */ }
]