oauth_clients
Create OAuth client
Register an OAuth application: the server mints client_id; public PKCE clients, no secret. permissions is the ceiling a grant may request, inside the caller's own (403 scope_missing); redirect_uris the exact-match https allow-list. actor_kind: integration (default) or agent. platform true registers a platform client (no owning team, writable by a system actor only afterwards): leave it to provisioning. A name already live in the team is 409 duplicate_rejected, never already_exists.
Contract:
- MCP tool create_oauth_client, registry package mcp.id/oauth_clients, mount id.access.
- Operation create, response envelope create.
- Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
post/api/oauth-clients
Request
- Base URLhttps://beta.getsales.io/id/v1
- AuthHTTP bearer and API key in header Team-SID
Request body
Response
create success envelope.
Changes
No recorded changes to this operation across all 1 revision of this API.