SerenAI

Pay Per Call Agentic Commerce

UserOAuthConnectionResponse

Response type for user OAuth connection (excludes tokens)

Properties

PropertyTypeRequiredDescription
created_at string Yes
expires_at string,null No
id string Yes
is_valid boolean Yes
last_used_at string,null No
provider_email string,null No
provider_id string Yes
provider_logo_url string,null No
provider_name string Yes
provider_slug string Yes
provider_user_id string,null No
scopes Array<string> Yes
View JSON Schema
{
  "type": "object",
  "description": "Response type for user OAuth connection (excludes tokens)",
  "required": [
    "id",
    "provider_id",
    "provider_slug",
    "provider_name",
    "scopes",
    "is_valid",
    "created_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "is_valid": {
      "type": "boolean"
    },
    "last_used_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "provider_email": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider_id": {
      "type": "string",
      "format": "uuid"
    },
    "provider_logo_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider_name": {
      "type": "string"
    },
    "provider_slug": {
      "type": "string"
    },
    "provider_user_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}