List team members
GET
/team/members
const url = 'https://app.whatsetter.com/api/v1/team/members';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.whatsetter.com/api/v1/team/members \ --header 'Authorization: Bearer <token>'The workspace’s members, owner first: the ids that PATCH /leads/{id}
accepts as assigned_to. role is the dashboard preset (owner,
admin, editor, responder, viewer or custom). Pending
invitations are not listed. No pagination (at most 200). Requires
scope team:read.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The members
Media typeapplication/json
object
data
Array<object>
object
id
The value to use as assigned_to.
string
name
string | null
email
string | null
role
string
is_owner
boolean
Example
{ "data": [ { "id": "66a1f2c3d4e5f60718293a4b", "name": "Alexis Dubain", "email": "alexis@acme.com", "role": "owner", "is_owner": true }, { "id": "66b2e3d4c5f6a7b8c9d0e1f2", "name": "Julien Martin", "email": "julien@acme.com", "role": "responder", "is_owner": false } ]}Missing, unknown or revoked API key
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}The key lacks the required scope
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}
