OAuth Clients
Register a third-party OAuth client
Registers an OAuth client (authorization-code + PKCE only) for a workspace: confidential by default, or public with token_endpoint_auth_method none. The client secret is returned once, and a public client has none.
post/workspaces/{workspace_id}/oauth-clients
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/oauth-clients
- Auth: one of:
- HTTP bearer
- API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID
Path parameters
workspace_idinteger required
Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
Example:4
Request body
Example request
{
"name": "Example Integration",
"description": "Third-party integration example",
"redirect_uris": [
"https://example-integration.com/oauth/callback"
]
}Response
Successful create
Changes
No recorded changes to this operation across all 4 revisions of this API.