Get Team Members
GET/api/teams/:TEAM_SLUG/members
This endpoint retrieves the list of team members based on the provided API key and team slug.
Request
Path Parameters
TEAM_SLUG stringrequired
The slug of the team.
Header Parameters
x-api-key stringrequired
API key to authorize the request.
Responses
- 200
- 403
- 404
- 500
Successfully retrieved team members.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
id string
The ID of the team member.
name string
The name of the team member.
email string
The email of the team member.
{
"data": [
{
"id": "string",
"name": "string",
"email": "string"
}
]
}
Invalid API key.
- application/json
- Schema
- Example (from schema)
Schema
error
object
message string
Detailed error message indicating that the API key is invalid.
{
"error": {
"message": "string"
}
}
Team not found.
- application/json
- Schema
- Example (from schema)
Schema
error
object
message string
Error message indicating that the team was not found.
{
"error": {
"message": "string"
}
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
message string
Error message indicating an internal server error.
{
"message": "string"
}
Loading...