TypeScript client
Social accounts
Start OAuth
Start a social account connection and return the vendor consent URL. Complete vendor consent, then poll the returned flow identifier; no Octospark browser interface is required.
POST
TypeScript client
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Social platform identifier: x, tiktok, instagram, facebook, youtube, linkedin, threads, or pinterest.
Available options:
x, tiktok, instagram, facebook, youtube, linkedin, threads, pinterest Example:
"x"
Body
application/json
Approved application destination after vendor consent; omit to use the default connection return page.