Search Organization Memberships

Retrieve data for multiple memberships with a GET request to the endpoint.

Search by Organization ID

Retrieve all memberships associated with a specific organization.

Example

curl -u '[email protected]:{password}' "https://www.keycafe.com/v0/organizationMembership?organization=123456" -H "Accept: application/json"

Search by User ID

Retrieve all memberships associated with a specific user.

Example

curl -u '[email protected]:{password}' "https://www.keycafe.com/v0/organizationMembership?user=123456" -H "Accept: application/json"

Retrieve All Memberships

If no search parameters are provided, the API will return all organization memberships.

Pagination

Results are paginated, with a maximum of 50 memberships per page. Additional pages can be accessed using the Link response header

Example

Link: <https://www.keycafe.com/v0/organizationMembership?organization=123456&page=2>; rel="next", <https://www.keycafe.com/v0/organizationMembership?organization=123456&page=5>; rel="last"
  • rel="first": URL to retrieve the first page of results.
  • rel="prev": URL to retrieve the previous page of results.
  • rel="next": URL to retrieve the next page of results.
  • rel="last": URL to retrieve the final page of results.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!