Social

Youtube Analytics Authorize

Request yt-analytics.readonly for an already-connected YouTube account.

Uses incremental authorization (include_granted_scopes) so Google issues a token covering both the existing publish scope and the new analytics scope, rather than silently narrowing the account to analytics-only.

get/social/youtube/analytics/authorize

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/social/youtube/analytics/authorize
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Query parameters

account_idinteger required

Existing ConnectedSocialAccount to add analytics scope to

redirect_tostring
team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.