Skip to contentSkip to navigation

List Agency Team Beta

List the agency team with the client workspaces each person can open.

GET /api/v1/agency/team

Requires an API key with the read scope.

Only API keys of an Agency workspace can call this endpoint (403 agency_required otherwise). The call always runs in the key's own workspace; X-Workspace-Id is ignored. Any key of the agency workspace can read the team.

The team is the people the agency owner added in Agency Admin, Team or through this API. Oldest first. The list is not paginated.

Response

data array
Team member
id string
Team member id. Pass it to update or remove them.
userId string
The person's FoxReach user id.
email string
Their email.
name string
Their name, or null.
role string
Agency role: manager or member.
workspaceRole string
The role the agency role gives in client workspaces: admin for a manager, member for a member.
workspaceIds string[]
Every client workspace of the agency they can open, including access a client gave them in its own Settings, Team.
joinedAt string
ISO 8601 timestamp.

Errors

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: read
403agency_required: the key's workspace does not hold an Agency plan

Rate Limit

  • 300 requests per minute, shared by every read call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (read).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?