FalconryScale
DevelopersAPI reference

Get the caller's team

Returns the caller's team: its name, the caller's role, members (display names and roles only), seat usage, and, for an owner or admin, pending invites with masked addresses. `team` is null when the caller is not on a team.

GET
/team

Authorization

bearerAuth
headerAuthorizationBearer <token>

A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.

Response Body

Get the caller's team

application/json
  1. response
team*|

null when the caller is not on a team.

Example Request
curl -X GET 'https://app.falconryscale.com/api/v1/team'
Example Response
{
  "team": {
    "id": "string",
    "name": "string",
    "myRole": "owner",
    "seatsUsed": -9007199254740991,
    "seatsTotal": -9007199254740991,
    "overLimit": true,
    "members": [
      {
        "membershipId": "string",
        "name": "string",
        "role": "owner",
        "joinedAt": "string",
        "isMe": true
      }
    ],
    "pendingInvites": [
      {
        "inviteId": "string",
        "emailMasked": "string",
        "role": "admin",
        "expiresAt": "string",
        "expired": true,
        "emailStatus": "queued"
      }
    ]
  }
}