GET
/
organizations
/
{id}
/
memberships
TypeScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: 'My API Key',
});

// Automatically fetches more pages as needed.
for await (const membershipListResponse of client.organizations.memberships.list('id')) {
  console.log(membershipListResponse.org_id);
}
{
  "data": [
    {
      "org_id": "org_01jh6jk82zjq9deye73h0mzcaq",
      "user_id": "user_01jh6jk831bzen14edngw38we9",
      "kind": "org-membership",
      "email": "ray@info.tomlinson.ai",
      "role": "owner",
      "status": "active",
      "created_at": "2025-01-09T22:22:41.247Z",
      "modified_at": "2025-01-09T22:22:41.247Z",
      "region": "eu-west-1",
      "display_name": "Ray Tomlinson org"
    }
  ],
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Path Parameters

id
string
required

The organization id previously created

Query Parameters

limit
number
default:10

The number of emails to return

Required range: 1 <= x <= 30
cursor
string

The cursor to use for pagination

Response

200
application/json

A successful response

The response is of type object.