The Bridge · Schema

TenantUserResponseDto

CompanyAuthenticationPaymentsSubscriptionFeature FlagsDeveloper Platform

Properties

Name Type Description
id string Shared properties with AuthTenantUserResponseDto
role string Role of the user. Grants a set of privileges. Privileges are configured on the `App` model.
email string Email address, same as username ATM
username string Username, same as Email address ATM
firstName string Users first name
lastName string Users last name
fullName string Users full name (first name and last name concatenated)
onboarded boolean If user is onboarded or not (should be put through app onboarding). If `firstname` and `lastname` are set on invitation `onboarded` is set to true
consentsToPrivacyPolicy boolean If user have left consent to the app privacy policy or not (should be set during app onboarding)
enabled boolean Custom properties different from AuthTenantUserResponseDto
teams array Array of identifiers that can be used to group several users into teams or groups
createdAt string Date when the user was created
lastSeen string Any account activity: sign-in, token refresh, email verification or a credentials change. NOT a sign-in timestamp — use `lastSignIn` for that. Undefined if never seen.
lastSignIn string When the user last signed in. Undefined if never signed in. Account-wide: a user who belongs to several workspaces has one value across all of them. Use `lastWorkspaceSignIn` to scope it to this works
lastWorkspaceSignIn string When the user last signed in to THIS workspace. Undefined if they have not signed in here since 2026-09-08, when the field shipped — it is not backfilled, because the historical data does not exist. U
customParams array
tenant object Users tenant
View JSON Schema on GitHub

JSON Schema

thebridge-dev-tenant-user-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thebridge-dev/json-schema/thebridge-dev-tenant-user-response-dto-schema.json",
  "title": "TenantUserResponseDto",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thebridge-dev-openapi.json#/components/schemas/TenantUserResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Shared properties with AuthTenantUserResponseDto"
    },
    "role": {
      "type": "string",
      "description": "Role of the user. Grants a set of privileges. Privileges are configured on the `App` model."
    },
    "email": {
      "type": "string",
      "description": "Email address, same as username ATM"
    },
    "username": {
      "type": "string",
      "description": "Username, same as Email address ATM"
    },
    "firstName": {
      "type": "string",
      "description": "Users first name"
    },
    "lastName": {
      "type": "string",
      "description": "Users last name"
    },
    "fullName": {
      "type": "string",
      "description": "Users full name (first name and last name concatenated)"
    },
    "onboarded": {
      "type": "boolean",
      "description": "If user is onboarded or not (should be put through app onboarding). If `firstname` and `lastname` are set on invitation `onboarded` is set to true"
    },
    "consentsToPrivacyPolicy": {
      "type": "boolean",
      "description": "If user have left consent to the app privacy policy or not (should be set during app onboarding)"
    },
    "enabled": {
      "type": "boolean",
      "description": "Custom properties different from AuthTenantUserResponseDto"
    },
    "teams": {
      "description": "Array of identifiers that can be used to group several users into teams or groups",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "Date when the user was created"
    },
    "lastSeen": {
      "format": "date-time",
      "type": "string",
      "description": "Any account activity: sign-in, token refresh, email verification or a credentials change. NOT a sign-in timestamp — use `lastSignIn` for that. Undefined if never seen."
    },
    "lastSignIn": {
      "format": "date-time",
      "type": "string",
      "description": "When the user last signed in. Undefined if never signed in. Account-wide: a user who belongs to several workspaces has one value across all of them. Use `lastWorkspaceSignIn` to scope it to this workspace."
    },
    "lastWorkspaceSignIn": {
      "format": "date-time",
      "type": "string",
      "description": "When the user last signed in to THIS workspace. Undefined if they have not signed in here since 2026-09-08, when the field shipped — it is not backfilled, because the historical data does not exist. Unlike `lastSignIn`, a user who belongs to several workspaces has a separate value per workspace. Token refresh does not move it."
    },
    "customParams": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CustomParam"
      }
    },
    "tenant": {
      "description": "Users tenant",
      "allOf": [
        {
          "$ref": "#/$defs/TenantResponseDto"
        }
      ]
    }
  },
  "required": [
    "id",
    "role",
    "email",
    "username",
    "onboarded",
    "consentsToPrivacyPolicy",
    "enabled",
    "teams",
    "createdAt",
    "lastSeen",
    "customParams",
    "tenant"
  ],
  "$defs": {
    "CustomParam": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "userLabel": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "email",
            "phone",
            "number",
            "integer",
            "text",
            "regex",
            "boolean"
          ]
        },
        "regex": {
          "type": "string"
        }
      },
      "required": [
        "value",
        "label",
        "type",
        "regex"
      ]
    },
    "TenantResponseDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Logical id reference to this instance"
        },
        "plan": {
          "type": "string",
          "description": "Name of the subscription plan. (Read only)\nUse `setPlanDetails` to change it\nAutomatically set by the payment service if tenant used the checkout process"
        },
        "mfa": {
          "type": "boolean",
          "description": "MFA enabled"
        },
        "paymentStatus": {
          "type": "object",
          "description": "Payment status"
        },
        "trial": {
          "type": "boolean",
          "description": "Tenant is trialing (Read only)"
        },
        "locale": {
          "type": "string",
          "description": "The default locale / lang code for all users in this tenant (`ISO_639-1` format).\nThis property will set the i18n for all platform emails and can be used to"
        },
        "name": {
          "type": "string",
          "description": "Name of the tenant. Undefined from the begining until the Tenant owner complets tenant onboarding."
        },
        "logo": {
          "type": "string",
          "description": "Url to a public accessible logo"
        },
        "metadata": {
          "type": "object",
          "description": "Store app specific meta data for this tenant"
        },
        "onboarded": {
          "type": "boolean",
          "description": "If this tenant is considered onboarded"
        },
        "federationConnection": {
          "type": "string",
          "description": "Logins are made with this enterprise login connection"
        },
        "signupBy": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string"
            },
            "firstName": {
              "type": "string"
            },
            "lastName": {
              "type": "string"
            }
          },
          "required": []
        },
        "createdAt": {
          "format": "date-time",
          "type": "string",
          "description": "Timestamp when created"
        }
      },
      "required": [
        "id",
        "mfa",
        "paymentStatus",
        "trial",
        "locale",
        "metadata",
        "onboarded",
        "createdAt"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thebridge-dev-tenant-user-response-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.