Get a team member
Get a team member
GET https://api.complycube.com/v1/teamMembers/:id
This endpoint allows you to retrieve a specific team member.
Path Parameters
Name
Type
Description
id
string
The ID of the team member.
Headers
Name
Type
Description
Authorization
string
The live or sandbox API key.
{
"id": "VNARgK33nMASdJKdi",
"firstName": "John",
"lastName": "Doe",
"role": "owner",
"createdAt": "2020-01-01T10:15:42.087Z"
}{
"type": "resource_not_found",
"message": "Invalid team member id 'MOARgK33nMASdJKdd'"
}Example request
curl -X GET https://api.complycube.com/v1/teamMembers/{:teamMemberId} \
-H 'Authorization: <YOUR_API_KEY>' const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
const teamMember = await complycube.teamMember.get("TEAM_MEMBER_ID");from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR API KEY>')
team_member = cc_api.teammembers.get('TEAM_MEMBER_ID')use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR API KEY>');
$client = $ccapi->teamMembers()->get($id);Last updated
Was this helpful?