Generate social connection URL
API Reference
Generate social connection URL
Returns a browser URL that starts connecting a social network to a workspace. Open the returned URL while signed in to Ocoya to approve OAuth and select profiles.
POST
Generate social connection URL
Authorizations
Query Parameters
Ocoya workspace ID. Get one from GET /workspaces.
Example:
"cmayvq3hk00017apshay5qezu"
Body
application/json
Social network used for the connection flow.
Available options:
facebook, instagram, x, linkedin, pinterest Example:
"instagram"
Response
Success
Browser URL to open while signed in to Ocoya to start the connection flow.
Example:
"https://app.ocoya.com/api/social-connect/start?provider=instagram&workspaceId=cmayvq3hk00017apshay5qezu"