CreateOAuthClientRequest

Request to create a new OAuth 2.0 client for API access.

  • m2m
    Type: boolean
    required

    Whether this is a machine-to-machine (M2M) client using client credentials flow.

  • botUserId
    Type: null | string
    max length:  
    450

    Required bot user ID for M2M clients. Optional for interactive clients.

  • displayName
    Type: null | string
    max length:  
    255

    Optional friendly name for this OAuth client (e.g., "Production CRM Integration").

  • redirectUri
    Type: null | string
    max length:  
    2000

    Redirect URI for OAuth authorization code flow. Required for interactive flows, not needed for M2M flows.