Bearer JWT
The default for every Core API and Search API endpoint. Pass a short-lived JSON Web Token in theAuthorization header:
401. Get a new one either by exchanging your API key again, or by refreshing the token:
API keys
Long-lived secrets you generate from the console, prefixed withsk-som-. Three scopes are available:
- User key — acts on behalf of a user across their organizations. Limited to 5 keys per user.
- Organization key — scoped to one organization.
- Workspace key — scoped to one workspace; safest for backend integrations.
secret_key:
OAuth 2.0
Used in two places, and in neither do you call the OAuth endpoints directly:- MCP server — MCP clients sign you in through OAuth 2.0 with your Share Of Model account; the client opens your browser and stores the resulting token. See MCP Integration.
- Platform Accounts — connecting Google Ads or TikTok runs through the console UI. See the Platform Integrations group in the API Reference for the resulting resources.