Connect a Social Account
Starts an OAuth connection flow and returns an authorize_url where the user can connect a social account.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"platform": "meta_business",
"redirect_url": "https://example.com/settings/social-accounts",
"scopes": [
"advertise"
]
}Response
authorize url returned
Example response
{
"authorize_url": "https://www.facebook.com/v25.0/dialog/oauth"
}Changes
Changed in 4 of the 45 revisions of this API.15
- ▲
the request property
became requiredrequest-property-became-required
- ▲
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
- ○
added the new
tiktokenum value to the request propertyrequest-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 45 revisions, 1 has no diff computed.