List Agency Team Beta
List the agency team with the client workspaces each person can open.
GET
https://api.foxreach.io/ api/ v1/ agency/ teamRequires 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
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: read |
403 | agency_required: the key's workspace does not hold an Agency plan |
Rate Limit
- 300 requests per minute, shared by every
readcall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(read). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.
Was this page helpful?