List members

If the authorized user doesn’t have admin rights, information about permissions will not be fetched

Required scopes: WORKSPACE

Resource URL

GET /workspaces/:domain/projects/:project_name/members

URL Parameters

NameTypeDescription
domain
Required
StringThe workspace domain.
project_name
Required
StringThe name ID of the project.

GET Parameters

NameTypeDescription
pageIntegerThe number of the successive page (results are splitted by pages of per_page elements each).
per_pageIntegerThe number of returned elements on the page.
sort_byStringSpecifies the ordering. Can be one of email or name.
sort_directionStringSpecifies the direction of the ordering. Can be one of ASC or DESC.

Example

Request

GET https://api.buddy.works/workspaces/buddy/projects/company-website/members?page=1&per_page=2&sort_by=name&sort_direction=ASC

Sample Response

HTTP

Status: 200 OK
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
  "url": "https://api.buddy.works/workspaces/buddy/project/company-website/members",
  "html_url": "https://app.buddy.works/buddy/company-website/members",
  "members": [
    {
      "url": "https://api.buddy.works/workspaces/buddy/projects/2/member/1",
      "html_url": "https://app.buddy.works/buddy/company-website/members/profile/1",
      "id": 1,
      "name": "Mike Benson",
      "avatar_url": "https://app.buddy.works/image-server/user/0/0/0/0/0/0/1/d643744fbe5ebf2906a4d075a5b97110/w/32/32/AVATAR.png",
      "title": "Creative director"
    }
  ]
}