Members
List members
Members
List members
Get a list of all the members in the project.
GET
/
members
curl --request GET \
--url https://api.chatling.ai/v2/members \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"data": {
"pages": {
"current_page": 1,
"last_page": 1,
"per_page": 15
},
"members": [
{
"email": "[email protected]",
"status": "Active",
"roles": [
"Owner"
]
},
{
"email": "[email protected]",
"status": "Active",
"roles": [
"Admin"
]
},
{
"email": "[email protected]",
"status": "Pending",
"roles": [
"Editor",
"Billing"
]
}
]
}
}
Request parameters
Query
page
integer
default: "1"The page number for pagination.
Response
status
string
The status of the request. Will be success
if the request was successful, otherwise error
.
data
object
pages
object
current_page
integer
The current page number.
last_page
integer
The last page number.
per_page
integer
The number of items per page.
members
array
email
string
The email address of the member.
status
string
The status of the member (Active
or Pending
).
roles
array
The roles of the member in the project.
{
"status": "success",
"data": {
"pages": {
"current_page": 1,
"last_page": 1,
"per_page": 15
},
"members": [
{
"email": "[email protected]",
"status": "Active",
"roles": [
"Owner"
]
},
{
"email": "[email protected]",
"status": "Active",
"roles": [
"Admin"
]
},
{
"email": "[email protected]",
"status": "Pending",
"roles": [
"Editor",
"Billing"
]
}
]
}
}
curl --request GET \
--url https://api.chatling.ai/v2/members \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"data": {
"pages": {
"current_page": 1,
"last_page": 1,
"per_page": 15
},
"members": [
{
"email": "[email protected]",
"status": "Active",
"roles": [
"Owner"
]
},
{
"email": "[email protected]",
"status": "Active",
"roles": [
"Admin"
]
},
{
"email": "[email protected]",
"status": "Pending",
"roles": [
"Editor",
"Billing"
]
}
]
}
}