Skip to main content
POST
Generates a secure OAuth 2.0 authorization URL to connect a new social media platform (YouTube, Instagram, Facebook, LinkedIn, Pinterest, Snapchat, Bluesky, TikTok, X) to the user workspace. For Bluesky, passing handle and app_password completes connection immediately without OAuth browser redirects. Included at zero credits with an active paid plan.
Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.

Endpoint

POST https://api.creatorinsights.in/api/v1/tools/get_social_account_connection_url Content type: application/json Authentication: x-api-key: YOUR_SAVED_API_KEY MCP tool: get_social_account_connection_url. See MCP Setup for AI clients. For paid MCP calls in an organization with multiple workspaces, pass the intended workspace ID. Calls without it are rejected before execution.

Request parameters

string
Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body.
string
required
Target social platform to connect Allowed values: youtube, instagram, facebook, linkedin, pinterest, snapchat, bluesky, tiktok, x, twitter.
string
Owned workspace ID, current name, or immutable publishing key. Omit to use the credential’s assigned workspace; a legacy unbound key uses the primary workspace. The browser selection is not inferred.Workspace ID, current name, or immutable publishing key in the authenticated organization. Required for paid requests when more than one active workspace exists; pass an active workspace to select its accounts and data. Discover IDs with list_workspaces; reuse the selected canonical ID throughout the workflow.
string
Optional custom redirect URL after OAuth authorization completes in the browser.
string
Account handle or identifier (required for direct Bluesky authentication, e.g. username.bsky.social, or Snapchat profile URL/ID).
string
Application app password for Bluesky (generated from Bluesky Settings > App Passwords).

Request example

Send these arguments directly as the JSON body.

Response example

HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.

Response fields

boolean
required
Whether this operation succeeded. Also check HTTP status and nested platform statuses.
string
required
The invoked tool name.
number
required
Creator Insights plan credits for this call; the example is illustrative.
object
required
Operation-specific payload. See the nested field table and response example below.
The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.

n8n and JSON tool endpoint

POST https://api.creatorinsights.in/api/v1/tools/get_social_account_connection_url. Use Header Auth with x-api-key and body content type JSON. This alias returns the n8n envelope below; included operations can report zero credits_deducted.

Errors

Handle non-2xx responses before mapping data. Error codes vary with the cause; these are representative examples. A 429 response may be plain text. Never treat a queued post as published or blindly retry a partial publication.