WorkOS · Schema

UserApiKey

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
object string Distinguishes the API Key object.
id string Unique identifier of the API Key.
owner object The entity that owns the API Key.
name string A descriptive name for the API Key.
obfuscated_value string An obfuscated representation of the API Key value.
last_used_at stringnull Timestamp of when the API Key was last used.
permissions array The permission slugs assigned to the API Key.
created_at string An ISO 8601 timestamp.
updated_at string An ISO 8601 timestamp.
View JSON Schema on GitHub

JSON Schema

workos-userapikey-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UserApiKey",
  "title": "UserApiKey",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Distinguishes the API Key object.",
      "const": "api_key"
    },
    "id": {
      "type": "string",
      "description": "Unique identifier of the API Key.",
      "example": "api_key_01EHZNVPK3SFK441A1RGBFSHRT"
    },
    "owner": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of the API Key owner.",
          "example": "user",
          "const": "user"
        },
        "id": {
          "type": "string",
          "description": "Unique identifier of the API Key owner.",
          "example": "user_01EHZNVPK3SFK441A1RGBFSHRT"
        },
        "organization_id": {
          "type": "string",
          "description": "Unique identifier of the organization the API Key can access.",
          "example": "org_01EHZNVPK3SFK441A1RGBFSHRT"
        }
      },
      "required": [
        "type",
        "id",
        "organization_id"
      ],
      "description": "The entity that owns the API Key."
    },
    "name": {
      "type": "string",
      "description": "A descriptive name for the API Key.",
      "example": "Production API Key"
    },
    "obfuscated_value": {
      "type": "string",
      "description": "An obfuscated representation of the API Key value.",
      "example": "sk_...3456"
    },
    "last_used_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Timestamp of when the API Key was last used.",
      "example": null
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The permission slugs assigned to the API Key.",
      "example": [
        "posts:read",
        "posts:write"
      ]
    },
    "created_at": {
      "format": "date-time",
      "type": "string",
      "description": "An ISO 8601 timestamp.",
      "example": "2026-01-15T12:00:00.000Z"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string",
      "description": "An ISO 8601 timestamp.",
      "example": "2026-01-15T12:00:00.000Z"
    }
  },
  "required": [
    "object",
    "id",
    "owner",
    "name",
    "obfuscated_value",
    "last_used_at",
    "permissions",
    "created_at",
    "updated_at"
  ]
}

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/workos-userapikey"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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