Get organization members
GET/v2/orgs/:org_id/members
Retrieves organization members based on the organization ID and the cursor, or based on the user emails provided in the request.
Required scope
organizations:readRate limiting
Level 3Enterprise only
This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.
Request
Path Parameters
id of the organization
Query Parameters
Possible values: [organization_internal_admin
, organization_internal_user
, organization_external_user
, organization_team_guest_user
, unknown
]
Possible values: [full
, occasional
, free
, free_restricted
, full_trial
, unknown
]
Possible values: >= 1
and <= 100
Default value: 100
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
Organization members queries successfully
- application/json
- Schema
- Example (from schema)
Schema
- OrganizationMembersSearchResponse
- OrganizationMembersSearchByEmailsResponse
Array [
]
Array [
]
oneOf
Maximum number of results returned based on the limit specified in the request. For example, if there are 20 results, the request has no cursor value, and the limit is set to 20, the size of the results will be 20. The rest of the results will not be returned. To retrieve the rest of the results, you must make another request and set the appropriate value for the cursor parameter value.
Number of results returned in the response considering the cursor and the limit values sent in the request. For example, if there are 20 results, the request does not have a cursor value, and the limit set to 10, the size of the results will be 10.
data
object[]
Id of the user
Flag is user active
User email
Last time when the user was active
Possible values: [full
, occasional
, free
, free_restricted
, full_trial
, unknown
]
Name of the current user license in the organization
Time when the license was assigned to the user
Possible values: [organization_internal_admin
, organization_internal_user
, organization_external_user
, organization_team_guest_user
, unknown
]
Name of the user role in the organization
Default value: organization-member
Type of the object returned.
Indicator of the position of the next page of the result. To retrieve the next page, make another query setting its cursor field to the value returned by the current query. If the value is empty, there are no more pages to fetch.
Default value: cursor-list
Type of the object returned.
Id of the user
Flag is user active
User email
Last time when the user was active
Possible values: [full
, occasional
, free
, free_restricted
, full_trial
, unknown
]
Name of the current user license in the organization
Time when the license was assigned to the user
Possible values: [organization_internal_admin
, organization_internal_user
, organization_external_user
, organization_team_guest_user
, unknown
]
Name of the user role in the organization
Default value: organization-member
Type of the object returned.
{}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Default value: 400
HTTP status code.
Default value: invalidParameters
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 400,
"code": "invalidParameters",
"message": "string",
"type": "error"
}
Invalid authentication credentials
- application/json
- Schema
- Example (from schema)
Schema
Default value: 401
HTTP status code.
Default value: tokenNotProvided
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 401,
"code": "tokenNotProvided",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 403
HTTP status code.
Default value: forbiddenAccess
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 403,
"code": "forbiddenAccess",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 404
HTTP status code.
Default value: notFound
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 404,
"code": "notFound",
"message": "string",
"type": "error"
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Default value: 409
HTTP status code.
Default value: conflict
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 409,
"code": "conflict",
"message": "string",
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Default value: 429
HTTP status code.
Default value: tooManyRequests
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 429,
"code": "tooManyRequests",
"message": "string",
"type": "error"
}