Skip to main content
GET
Returns all active team members and pending invitations for the Settings - Team page.
This endpoint uses intelligent caching. Member data is cached for 5 minutes and automatically refreshed via Clerk webhooks when members join/leave. Most requests respond in ~10ms using cached data.

Path Parameters

string
required
The Clerk organization ID

Query Parameters

integer
default:"100"
Maximum number of members to return
integer
default:"0"
Pagination offset
boolean
default:"true"
Whether to include pending invitations
boolean
default:"false"
Bypass cache and fetch fresh data from Clerk API. Use sparingly as this is slower (~200ms vs ~10ms).

Response

string
The organization ID
boolean
Whether the data was served from cache (true) or fetched fresh from Clerk (false)
array
List of active team members
integer
Total count of active members
array
List of pending invitations (if include_pending=true)

Member Object

Pending Invitation Object

Performance

This endpoint uses smart caching for optimal performance:
  • Cache Hit (~95% of requests): ~10-20ms response time
  • Cache Miss: ~200-300ms (fetches from Clerk, then caches)
  • Cache Duration: 5 minutes
  • Auto-Refresh: Clerk webhooks update cache in real-time when members change
Use force_refresh=true only when you need guaranteed fresh data (e.g., immediately after bulk operations).

Notes

  • Requires authentication with a valid Clerk JWT token
  • User must be a member of the organization to view members
  • Pending invitations are only returned if include_pending=true
  • Member data is automatically synced via Clerk webhook