URL
GET https://api.complycube.com/v1/teamMembers
This endpoint allows you to list all team members.
The team members are returned sorted by creation date, with the most recent team member appearing first.
Name Type Description The API live
or test
key.
Query parameters
Name Type Description The number of items to return and the number of pages to offset.
Example request
cURL Node.js Python PHP .NET
Copy curl -X GET https://api.complycube.com/v1/teamMembers \
-H 'Authorization: <YOUR_API_KEY>'
Copy const { ComplyCube } = require ( "@complycube/api" );
const complycube = new ComplyCube ({ apiKey : "<YOUR_API_KEY>" });
const teamMembers = await complycube . teamMember .list ();
Copy from complycube import ComplyCubeClient
cc_api = ComplyCubeClient (api_key = '<YOUR_API_KEY>' )
team_members = cc_api . teammembers . list ()
Copy use ComplyCube \ ComplyCubeClient ;
$ccapi = new ComplyCubeClient ( '<YOUR_API_KEY>' );
$client = $ccapi -> teamMembers () -> list () ;
Copy using ComplyCube . Net ;
using ComplyCube . Net . Resources . TeamMembers ;
var teamMemberApi = new TeamMemberApi ( new ComplyCubeClient ( "<YOUR_API_KEY>" ));
var teamMembers = await teamMemberApi . ListAsync ();
Example response
Success (200)
Copy {
"page" : 1,
"pageSize" : 100,
"totalItems" : 2,
"pages" : 1,
"items" : [
{
"id" : "VNARgK33nMASdJKdi" ,
"firstName" : "John" ,
"lastName" : "Doe" ,
"role" : "owner" ,
"createdAt" : "2020-01-01T10:15:42.087Z"
},
{
"id" : "LAMKgK25nDKYpNLbl" ,
"firstName" : "Jane" ,
"lastName" : "Doe" ,
"role" : "administrator" ,
"createdAt" : "2020-01-01T11:16:62.000Z"
}
]
}
Last updated 7 months ago