Team Members
List team members.
Changed onReturns a paginated list of all members belonging to the specified team, including their assigned roles.
get/api/v1/teams/members
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Page number to retrieve. Page numbering starts at 1.
Increment until the response's last_page value is reached to paginate through all results. Default: 1.
limitinteger
Limit the number of results to return. Defaults to 20.
Response
List of members belonging to the team
Example response
{
"status": "success",
"data": {
"current_page": 1,
"data": [
{
"user_id": 1,
"name": "John Doe",
"email": "user@example.com",
"role_id": 2,
"created_at": "2023-04-30 16:43:53"
}
],
"first_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"next_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"path": "https://app.customgpt.ai/api/v1/users?page=1",
"per_page": 10,
"prev_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"to": 1,
"total": 1
}
}Changes
- info
endpoint added
- info