Generate OAuth connection link
Social Accounts
Generate OAuth connection link
Generates a single-use magic link that signs the user in and redirects straight to the OAuth authorization page. The user does not need to be logged into Juicer — just clicking the link is enough.
The link expires in 30 minutes and can only be used once.
Agent workflow:
- Call this endpoint with the provider
- Present the
connection_urlto the user (e.g., “Click here to connect Instagram”) - User clicks, authorizes, and is redirected back to Juicer
- Poll
GET /social_accountsorGET /social_accounts/statusto confirm the connection
POST
Generate OAuth connection link
Authorizations
API key prefixed with jcr_. To obtain a key programmatically
(no dashboard required), see POST /v1/authorize.
Body
application/json
OAuth provider name. Use the provider field from GET /social_accounts/status
or the requires_connection.provider field from GET /platforms.
Common values: facebook, instagram_login, tiktok, slack, tumblr.
Example:
"facebook"
Response
Magic link created