{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-create-integration-secret-request-schema.json",
  "title": "CreateIntegrationSecretRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-integration-secrets-api-openapi.yml#/components/schemas/CreateIntegrationSecretRequest",
  "properties": {
    "identifier": {
      "description": "The unique identifier of the secret.",
      "title": "Identifier",
      "type": "string"
    },
    "password": {
      "description": "The password for the secret. Required for basic type secrets, ignored otherwise.",
      "title": "Password",
      "type": "string"
    },
    "token": {
      "description": "The token for the secret. Required for bearer type secrets, ignored otherwise.",
      "title": "Token",
      "type": "string"
    },
    "type": {
      "description": "The type of secret.",
      "enum": [
        "bearer",
        "basic"
      ],
      "title": "Type",
      "type": "string"
    },
    "username": {
      "description": "The username for the secret. Required for basic type secrets, ignored otherwise.",
      "title": "Username",
      "type": "string"
    }
  },
  "required": [
    "identifier",
    "type"
  ],
  "type": "object"
}