Get an OAuth connect URL
Changed onReturns an OAuth URL to connect a social account on the given platform. Activates the account on first connect; requires an active subscription. A platform can hold several accounts: without account_id the URL adds another one and counts toward the plan's channel limit. To repair an account that needs reconnecting, pass its account_id: the URL re-authorizes that account in place, it keeps its id and scheduled posts, and signing in as a different account is refused.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
URL to redirect to after connection
Instagram only; ignored on every other platform. instagram_login (the default) authorizes the Instagram professional account directly. facebook_login authorizes the Facebook Page linked to that account instead, and every call then runs through the Page. Use it when Instagram's own dialog will not render a consent screen for the account, or when the seller manages Instagram through a Page.
Reconnect this connected account (sacct_ prefix id) instead of adding a new one. It must be on platform. Omit it to connect another account.
Response
Connect URL
Changes
- info
added the new optional request property
account_id
- info
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
5 more changes in this revision
- warning