Skip to main content
GET
/
v1
/
organizations
/
{organization}
/
memberships
List Memberships
curl --request GET \
  --url https://api.aspect-dev.systems/v1/organizations/{organization}/memberships \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "type": "memberships",
      "attributes": {
        "id": "<string>",
        "name": [
          "<unknown>"
        ],
        "type": "public"
      },
      "relationships": {
        "division": {
          "data": {
            "type": "divisions",
            "id": "<string>"
          }
        }
      }
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  },
  "meta": {
    "path": "<string>",
    "per_page": 123,
    "next_cursor": "<string>",
    "prev_cursor": "<string>"
  },
  "included": [
    {
      "id": "<string>",
      "type": "divisions",
      "attributes": {
        "id": "<string>",
        "name": "<string>",
        "industry": "golf"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization
string
required

Query Parameters

include
string

Available includes are division. You can include multiple options by separating them with a comma.

page[size]
integer
default:30

The number of results that will be returned per page.

page[cursor]
string

The cursor to start the pagination from.

filter[division_id]
string

Filter by division ID.

Example:

310476121357873150

filter[type]
string

Filter by membership type.

Example:

"public"

Response

Paginated set of MembershipResource

data
MembershipResource · object[]
required
meta
object
required
included
DivisionResource · object[]