Complete OAuth callback
Exchange an OAuth code and save the account after revalidating the flow's initial workspace grant, initiating API key, and exact dashboard session (when applicable). Reconnects never move an existing identity implicitly.
Authorization
Bearer API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Path Parameters
OAuth platform to complete
Value in
- "twitter"
- "instagram"
- "facebook"
- "linkedin"
- "tiktok"
- "youtube"
- "pinterest"
- "reddit"
- "threads"
- "snapchat"
- "googlebusiness"
- "mastodon"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/connect/twitter" \ -H "Content-Type: application/json" \ -d '{ "code": "string" }'{ "connect_token": "string", "platform": "twitter", "status": "pending_selection"}Found something wrong? Help us improve this page.