Create a confidential OAuth client (client ID and secret) for an agent platform.

Owners and admins only. Each member who connects through the client signs in to Banger, approves access, and acts with their own role in this workspace.

post/v1/workspaces/{workspaceId}/oauth-clients

Request

  • Base URL: https://api.bangermail.com
  • URL: https://api.bangermail.com/v1/workspaces/{workspaceId}/oauth-clients
  • Auth: HTTP bearer

Request body

namestring

Shown in Connected apps. Defaults to "Gemini Enterprise" for that preset.

preset'gemini_enterprise' | 'custom'

gemini_enterprise uses Google's redirect URI; custom requires redirect_uris.

redirect_urisstring[]

Custom preset only. HTTPS redirect URIs, fixed at creation.

Response

OAuth client created. The client secret is returned only once.

Changes

No recorded changes to this operation across all 1 revision of this API.