Skip to content

Complete OAuth callback

Exchange the OAuth authorization code for tokens and connect the account to the specified profile.

POST /v1/connect/{platform}

Exchange the OAuth authorization code for tokens and connect the account to the specified profile.

Parameters

  • platform (path, string) required

Request body

Content-Type: application/json

  • code (string) required
  • state (string) required
  • profileId (string) required

Responses

200 — Account connected

400 — Invalid params

401

403 — BYOK required for AppSumo Twitter

500 — Failed to connect account