ConsistlyAPI
Memberships

List memberships of the caller’s organisation

GET
/memberships
AuthorizationBearer <token>

Bearer API key in the form sk_live_…, sk_test_…, or pk_live_…. Keys are issued from the Consistly dashboard and carry product-prefixed scopes.

In: header

Query Parameters

organization?string

Filter by organisation id (defaults to the caller’s org).

Response Body

application/json

curl -X GET "https://example.com/memberships"
{  "object": "list",  "data": [    {      "id": "string",      "object": "membership",      "organization": "string",      "user": "string",      "role": "string",      "created": "2019-08-24T14:15:22Z",      "updated": "2019-08-24T14:15:22Z"    }  ],  "has_more": true,  "url": "string"}