Clerk icon

Clerk

A custom node in n8n for Clerk.dev allows you to automate interactions with Clerk’s APIs directly within your workflows

Organization API → Get Organization Invitation List

AI-generated

Summary

Retrieve a list of invitations for a specified organization.

Inputs

  • organizationId (required) — The ID of the organization to fetch.
  • limit — Max number of results to return, defaults to 50.
  • offset — Cursor for pagination, defaults to 0.

Output shape

a list of organization invitations

The result will contain invitation details for the specified organization. If pagination is used, ensure to adjust 'limit' and 'offset' accordingly.

Examples

Example 1: Fetch all invitations for a specific organization by ID, with a limit of 100.

Set 'organizationId' to 'org_12345', 'limit' to 100, and omit 'offset'.

Example 2: Retrieve the first batch of invitations, retrieving a maximum of 25 at a time, and paginating through the results.

Set 'organizationId' to 'org_54321', 'limit' to 25, and apply an 'offset' of 0 for the first call, then adjust 'offset' for subsequent calls.

Discussion