WorkOS · Schema

NewConnectApplicationSecret

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
object string Distinguishes the connect application secret object.
id string The unique ID of the client secret.
secret_hint string A hint showing the last few characters of the secret value.
last_used_at stringnull The timestamp when the client secret was last used, or null if never used.
created_at string An ISO 8601 timestamp.
updated_at string An ISO 8601 timestamp.
secret string The plaintext secret value. Only returned at creation time and cannot be retrieved later.
View JSON Schema on GitHub

JSON Schema

workos-newconnectapplicationsecret-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NewConnectApplicationSecret",
  "title": "NewConnectApplicationSecret",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Distinguishes the connect application secret object.",
      "const": "connect_application_secret"
    },
    "id": {
      "type": "string",
      "description": "The unique ID of the client secret.",
      "example": "secret_01J9Q2Z3X4Y5W6V7U8T9S0R1Q"
    },
    "secret_hint": {
      "type": "string",
      "description": "A hint showing the last few characters of the secret value.",
      "example": "abc123"
    },
    "last_used_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "The timestamp when the client secret was last used, or null if never used.",
      "example": null
    },
    "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"
    },
    "secret": {
      "type": "string",
      "description": "The plaintext secret value. Only returned at creation time and cannot be retrieved later.",
      "example": "abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
    }
  },
  "required": [
    "object",
    "id",
    "secret_hint",
    "last_used_at",
    "created_at",
    "updated_at",
    "secret"
  ]
}