{
"auth_url": "https://www.instagram.com/oauth/authorize/?...",
"message": "Redirect the user to auth_url",
"state": "4a8f2c1e9b3d7f06a5c2e8b4d1f3a7e2",
"metadata": {}
}
Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to.
For apikey/credentials platforms stores the credentials immediately and returns account_id.
For WhatsApp, open auth_url to run Meta’s signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/ and pick one with POST /v1/accounts/pending//select.
Set the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.
{
"auth_url": "https://www.instagram.com/oauth/authorize/?...",
"message": "Redirect the user to auth_url",
"state": "4a8f2c1e9b3d7f06a5c2e8b4d1f3a7e2",
"metadata": {}
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Platform and metadata
platform
enum<string>
required
Platform identifies the social platform to connect (e.g. instagram, facebook, google, threads, tiktok, linkedin).
Available options:
app_store_connect,
bluesky,
facebook,
google,
instagram,
instagram_fb,
linkedin,
linkedin_page,
pinterest,
telegram,
threads,
tiktok,
twitter,
whatsapp,
youtube,
zalo
Example:
"instagram"
brand_id
string
BrandID optionally specifies which brand to attach the account to. If omitted, a new brand is auto-created.
Example:
"b_01HZ9X3Q4R5M6N7P8V2K0W1J"
metadata
object
Metadata contains platform-specific connection data. For tiktok, connection_type "creator" connects through TikTok's Content Posting API instead of the default Business API ("business"). For linkedin, connection_type "profile" or "organization" limits the connect to the member profile or to company Pages; without it, one authorization offers both, and the user picks one when there are several.
Show child attributes
onboarding
enum<string>
Onboarding applies to WhatsApp only. cloud_api (default) connects the number for use through the API alone. business_app connects a number that stays in use on the WhatsApp Business app, and imports its recent chats.
Available options:
cloud_api,
business_app
Example:
"cloud_api"
permissions
string[]
Permissions are the permissions to request for this account. If omitted, the brand's existing selection for this platform applies, and a brand with none gets every permission. Valid values: posts.read, posts.write, comments.read, comments.write, messages.read, messages.write, reviews.read, reviews.write, analytics.read.
Example:
["comments.read", "comments.write"]
redirect_uri
string
RedirectURI is the customer's URL to redirect the user to after OAuth completes.
If you have registered redirect URIs in the dashboard, the value must match one of them.
If you have none registered, any valid https URI is accepted. If omitted, the default HTML success page is shown.
Example:
"https://app.acme.com/oauth/done"
state
string
CustomerState is an opaque value echoed back to the customer's redirect URI. Max 512 chars.
Example:
"session_abc123"
Response
Account connected (direct auth)
account_id
string
required
Example:
"acc_01HZ9X3Q4R5M6N7P8V2K0W1J"
brand_id
string
required
BrandID is the brand the account was connected to. When the connect request named no brand, this is the brand created for it.
Example:
"b7e3c1a2-4f5d-4e8a-9b1c-2d3e4f5a6b7c"
display_name
string
required
Example:
"Acme Corp"
platform
enum<string>
required
Available options:
app_store_connect,
bluesky,
facebook,
google,
instagram,
instagram_fb,
linkedin,
linkedin_page,
pinterest,
telegram,
threads,
tiktok,
twitter,
whatsapp,
youtube,
zalo
Example:
"instagram"
username
string
required
Example:
"acmecorp"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SocialAPI","description":"SocialAPI is a unified social media API and MCP server: one REST API to read and answer comments, DMs, reviews, and mentions, run Automations, and publish posts across the major social platforms. Support differs per platform.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/socialapi/l-gMJpOd5UpXAgo0/logo/light.svg?fit=max\u0026auto=format\u0026n=l-gMJpOd5UpXAgo0\u0026q=85\u0026s=e4c786f38e66a0e28b8b7a4d7a2c69ff","dark":"https://mintcdn.com/socialapi/l-gMJpOd5UpXAgo0/logo/dark.svg?fit=max\u0026auto=format\u0026n=l-gMJpOd5UpXAgo0\u0026q=85\u0026s=db8b4bb0a2d02ef4eb0e14f8acb9e928","href":"https://social-api.ai/?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav"},"favicon":"https://mintcdn.com/socialapi/l-gMJpOd5UpXAgo0/favicon.svg?fit=max\u0026auto=format\u0026n=l-gMJpOd5UpXAgo0\u0026q=85\u0026s=ad1371171cb19602ebbab9bf9a1183a6","api":{"examples":{"languages":["bash","javascript","python"]}},"navbar":{"links":[{"href":"https://social-api.ai/?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav","label":"← SocialAPI"},{"href":"https://social-api.ai/pricing","label":"Pricing"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.social-api.ai"}},"footer":{"socials":{"x":"https://x.com/socialapiai","github":"https://github.com/SocialAPI-AI","linkedin":"https://www.linkedin.com/company/socialapi-ai"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://social-api.ai/pricing"}]}]},"seo":{"metatags":{"og:site_name":"SocialAPI"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":["Base URL: https://api.social-api.ai/v1. Send your API key in the Authorization header: Authorization: Bearer \u003cyour API key>.","Every error response from /v1 is JSON: { \"error\": { \"code\", \"message\", \"meta\" (optional) }, \"request_id\" }. Branch on error.code; use error.message only for logs.","A 429 response carries a Retry-After header, in seconds, when the limit has a known wait. Authenticated responses can carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset for the per-minute request budget your SocialAPI account shares across every API key (see /guides/rate-limits).","Paginated list endpoints return next_cursor, at the top level or inside pagination (see /guides/pagination). Pass it as the cursor query parameter to get the next page. An absent or empty next_cursor means you have the last page.","Treat every ID as an opaque string: do not parse it or assume a format.","Support differs by platform and by operation. Check /platforms/overview before assuming an operation works on a platform. An unsupported operation returns 501 with error.code resource.not_supported. Some families return their own code instead: reviews, and posts with a target on Telegram or App Store Connect, return 422 account.platform_unsupported; Automations 422 automation.platform_unsupported."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Support","icon":"envelope","href":"mailto:[email protected]"},{"anchor":"GitHub","icon":"github","href":"https://github.com/SocialAPI-AI"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"socialapi","hasAudioNarration":false,"actualSubdomain":"socialapi","customDomains":["docs.social-api.ai"],"gitSource":{"type":"github","owner":"socialapi-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10d6869ffae5051c40d50f"},"entitlements":{},"buildId":"6b12dbf2938a854137f9c631","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API reference","count":172},{"language":"default","tag":"Endpoints","count":171},{"language":"default","tag":"Platforms","count":92},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"Google","count":19},{"language":"default","tag":"Accounts","count":18},{"language":"default","tag":"Inbox","count":17},{"language":"default","tag":"WhatsApp","count":16},{"language":"default","tag":"Posts","count":13},{"language":"default","tag":"Webhooks","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/accounts/connect-a-social-account","slug":"/api-reference/accounts/connect-a-social-account","pageMetadata":{"title":"Connect a social account","description":"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to.\nFor apikey/credentials platforms stores the credentials immediately and returns account_id.\nFor WhatsApp, open auth_url to run Meta's signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select.\nSet the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/connect","href":"/api-reference/accounts/connect-a-social-account","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to.\\nFor apikey/credentials platforms stores the credentials immediately and returns account_id.\\nFor WhatsApp, open auth_url to run Meta’s signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/\", \" and pick one with POST /v1/accounts/pending/\", \"/select.\\nSet the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect a social account","description":"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to.\nFor apikey/credentials platforms stores the credentials immediately and returns account_id.\nFor WhatsApp, open auth_url to run Meta's signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select.\nSet the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/connect","href":"/api-reference/accounts/connect-a-social-account","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["15b28b08-c4be-4823-ae4b-cfa4e373ef8b"],"description":"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to.\nFor apikey/credentials platforms stores the credentials immediately and returns account_id.\nFor WhatsApp, open auth_url to run Meta's signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select.\nSet the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.","tags":["Accounts"],"summary":"Connect a social account","operationId":"connectAccount","requestBody":"606879b1-8718-4667-a545-41834d31be82","responses":{"201":"14cd8156-40a2-41f4-a7dc-188d7df80335","202":"d3e8aa4f-0da0-4584-a6ca-b634d205836f","400":"98a673e3-8374-455e-a4fc-978e03222177","401":"44abef48-29a7-4a76-921b-071c019b0dcd","403":"88f72a73-6873-4805-bac9-e137663f0971"},"method":"post","type":"path","servers":["c48b76a4-12f7-4a25-a4dd-92e897c09ad2"],"path":"/accounts/connect","baseUrlOptions":["https://api.social-api.ai/v1"],"title":"Connect a social account","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["platform"],"properties":{"platform":{"type":"string","description":"Platform identifies the social platform to connect (e.g. instagram, facebook, google, threads, tiktok, linkedin).","enum":["app_store_connect","bluesky","facebook","google","instagram","instagram_fb","linkedin","linkedin_page","pinterest","telegram","threads","tiktok","twitter","whatsapp","youtube","zalo"],"x-enum-varnames":["PlatformAppStoreConnect","PlatformBluesky","PlatformFacebook","PlatformGoogle","PlatformInstagram","PlatformInstagramFB","PlatformLinkedIn","PlatformLinkedInPage","PlatformPinterest","PlatformTelegram","PlatformThreads","PlatformTikTok","PlatformTwitter","PlatformWhatsApp","PlatformYouTube","PlatformZalo"],"example":"instagram","isRequired":true,"uniqueKey":"platform","typeLabel":"enum\u003cstring>"},"brand_id":{"description":"BrandID optionally specifies which brand to attach the account to. If omitted, a new brand is auto-created.","type":"string","example":"b_01HZ9X3Q4R5M6N7P8V2K0W1J","uniqueKey":"brand_id","typeLabel":"string"},"metadata":{"description":"Metadata contains platform-specific connection data. For tiktok, connection_type \"creator\" connects through TikTok's Content Posting API instead of the default Business API (\"business\"). For linkedin, connection_type \"profile\" or \"organization\" limits the connect to the member profile or to company Pages; without it, one authorization offers both, and the user picks one when there are several.","type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.additionalProperties","typeLabel":"any"},"uniqueKey":"metadata","typeLabel":"object"},"onboarding":{"type":"string","description":"Onboarding applies to WhatsApp only. cloud_api (default) connects the number for use through the API alone. business_app connects a number that stays in use on the WhatsApp Business app, and imports its recent chats.","enum":["cloud_api","business_app"],"x-enum-varnames":["WhatsAppOnboardingCloudAPI","WhatsAppOnboardingBusinessApp"],"example":"cloud_api","uniqueKey":"onboarding","typeLabel":"enum\u003cstring>"},"permissions":{"description":"Permissions are the permissions to request for this account. If omitted, the brand's existing selection for this platform applies, and a brand with none gets every permission. Valid values: posts.read, posts.write, comments.read, comments.write, messages.read, messages.write, reviews.read, reviews.write, analytics.read.","type":"array","items":{"type":"string","uniqueKey":"permissions.items.[INDEX]","typeLabel":"string"},"example":["comments.read","comments.write"],"uniqueKey":"permissions","typeLabel":"string[]"},"redirect_uri":{"description":"RedirectURI is the customer's URL to redirect the user to after OAuth completes.\nIf you have registered redirect URIs in the dashboard, the value must match one of them.\nIf you have none registered, any valid https URI is accepted. If omitted, the default HTML success page is shown.","type":"string","example":"https://app.acme.com/oauth/done","uniqueKey":"redirect_uri","typeLabel":"string"},"state":{"description":"CustomerState is an opaque value echoed back to the customer's redirect URI. Max 512 chars.","type":"string","example":"session_abc123","uniqueKey":"state","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"platform":"instagram","brand_id":"b_01HZ9X3Q4R5M6N7P8V2K0W1J","metadata":{},"onboarding":"cloud_api","permissions":["comments.read","comments.write"],"redirect_uri":"https://app.acme.com/oauth/done","state":"session_abc123"}}},"exampleType":"generated"}},"description":"Platform and metadata","required":true,"exampleType":"generated"},"responses":{"14cd8156-40a2-41f4-a7dc-188d7df80335":{"description":"Account connected (direct auth)","content":{"application/json":{"schema":{"type":"object","required":["account_id","brand_id","display_name","platform","username"],"properties":{"account_id":{"type":"string","example":"acc_01HZ9X3Q4R5M6N7P8V2K0W1J","isRequired":true,"uniqueKey":"account_id","typeLabel":"string"},"brand_id":{"description":"BrandID is the brand the account was connected to. When the connect request named no brand, this is the brand created for it.","type":"string","example":"b7e3c1a2-4f5d-4e8a-9b1c-2d3e4f5a6b7c","isRequired":true,"uniqueKey":"brand_id","typeLabel":"string"},"display_name":{"type":"string","example":"Acme Corp","isRequired":true,"uniqueKey":"display_name","typeLabel":"string"},"platform":{"type":"string","enum":["app_store_connect","bluesky","facebook","google","instagram","instagram_fb","linkedin","linkedin_page","pinterest","telegram","threads","tiktok","twitter","whatsapp","youtube","zalo"],"x-enum-varnames":["PlatformAppStoreConnect","PlatformBluesky","PlatformFacebook","PlatformGoogle","PlatformInstagram","PlatformInstagramFB","PlatformLinkedIn","PlatformLinkedInPage","PlatformPinterest","PlatformTelegram","PlatformThreads","PlatformTikTok","PlatformTwitter","PlatformWhatsApp","PlatformYouTube","PlatformZalo"],"example":"instagram","isRequired":true,"uniqueKey":"platform","typeLabel":"enum\u003cstring>"},"username":{"type":"string","example":"acmecorp","isRequired":true,"uniqueKey":"username","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"account_id":"acc_01HZ9X3Q4R5M6N7P8V2K0W1J","brand_id":"b7e3c1a2-4f5d-4e8a-9b1c-2d3e4f5a6b7c","display_name":"Acme Corp","platform":"instagram","username":"acmecorp"}}},"exampleType":"generated"}},"exampleType":"generated"},"d3e8aa4f-0da0-4584-a6ca-b634d205836f":{"description":"OAuth2 flow initiated","content":{"application/json":{"schema":{"type":"object","required":["auth_url","message","state"],"properties":{"auth_url":{"type":"string","example":"https://www.instagram.com/oauth/authorize/?...","isRequired":true,"uniqueKey":"auth_url","typeLabel":"string"},"message":{"type":"string","example":"Redirect the user to auth_url","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"state":{"type":"string","example":"4a8f2c1e9b3d7f06a5c2e8b4d1f3a7e2","isRequired":true,"uniqueKey":"state","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.additionalProperties","typeLabel":"any"},"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"auth_url":"https://www.instagram.com/oauth/authorize/?...","message":"Redirect the user to auth_url","state":"4a8f2c1e9b3d7f06a5c2e8b4d1f3a7e2","metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"98a673e3-8374-455e-a4fc-978e03222177":{"description":"Missing platform, unsupported platform, or invalid permissions (validation.permissions_empty, validation.permission_unknown)","content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"resource.not_found","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Account not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"meta":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"error.meta.additionalProperties","typeLabel":"any"},"uniqueKey":"error.meta","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"description":"RequestID matches the X-Request-ID response header. Include it when contacting support.","type":"string","example":"01HZ9X3Q4R5M6N7P8V2K0W1J","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"resource.not_found","message":"Account not found","meta":{}},"request_id":"01HZ9X3Q4R5M6N7P8V2K0W1J"}}},"exampleType":"generated"}},"exampleType":"generated"},"44abef48-29a7-4a76-921b-071c019b0dcd":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"resource.not_found","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Account not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"meta":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"error.meta.additionalProperties","typeLabel":"any"},"uniqueKey":"error.meta","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"description":"RequestID matches the X-Request-ID response header. Include it when contacting support.","type":"string","example":"01HZ9X3Q4R5M6N7P8V2K0W1J","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"resource.not_found","message":"Account not found","meta":{}},"request_id":"01HZ9X3Q4R5M6N7P8V2K0W1J"}}},"exampleType":"generated"}},"exampleType":"generated"},"88f72a73-6873-4805-bac9-e137663f0971":{"description":"Plan limit reached (billing.platform_not_available or billing.brands_limit)","content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"resource.not_found","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Account not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"meta":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"error.meta.additionalProperties","typeLabel":"any"},"uniqueKey":"error.meta","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"description":"RequestID matches the X-Request-ID response header. Include it when contacting support.","type":"string","example":"01HZ9X3Q4R5M6N7P8V2K0W1J","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"resource.not_found","message":"Account not found","meta":{}},"request_id":"01HZ9X3Q4R5M6N7P8V2K0W1J"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"15b28b08-c4be-4823-ae4b-cfa4e373ef8b":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"c48b76a4-12f7-4a25-a4dd-92e897c09ad2":{"url":"https://api.social-api.ai/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"socialapi","siteName":"SocialAPI","title":"Connect a social account - SocialAPI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/accounts/connect-a-social-account.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to. For apikey/credentials platforms stores the credentials immediately and returns account_id. For WhatsApp, open auth_url to run Meta\u0026#x27;s signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select. Set the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SocialAPI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect a social account - SocialAPI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to. For apikey/credentials platforms stores the credentials immediately and returns account_id. For WhatsApp, open auth_url to run Meta\u0026#x27;s signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select. Set the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SocialAPI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://socialapi.mintlify.site/_mintlify/api/og/v2?division=Accounts\u0026amp;title=Connect+a+social+account\u0026amp;description=Initiates+account+connection.+For+OAuth2+platforms+returns+an+auth_url+to+redirect+the+user+to.%0AFor+apikey%2Fcredentials+platforms+stores+the+credentials+immediat\u0026amp;theme=fcbffe98e0ab1bbb1e268657\u0026amp;signature=edf3da254fe0212c6d60fac2343a2e17b32a65d512a6b9b97f613b5e824acce5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connect a social account - SocialAPI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to. For apikey/credentials platforms stores the credentials immediately and returns account_id. For WhatsApp, open auth_url to run Meta\u0026#x27;s signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select. Set the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://socialapi.mintlify.site/_mintlify/api/og/v2?division=Accounts\u0026amp;title=Connect+a+social+account\u0026amp;description=Initiates+account+connection.+For+OAuth2+platforms+returns+an+auth_url+to+redirect+the+user+to.%0AFor+apikey%2Fcredentials+platforms+stores+the+credentials+immediat\u0026amp;theme=fcbffe98e0ab1bbb1e268657\u0026amp;signature=edf3da254fe0212c6d60fac2343a2e17b32a65d512a6b9b97f613b5e824acce5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/socialapi/BRXSXcviDNPDlPFJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SocialAPI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/accounts/connect-a-social-account.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.social-api.ai/#organization\",\"name\":\"SocialAPI\",\"url\":\"https://docs.social-api.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/socialapi/l-gMJpOd5UpXAgo0/logo/light.svg?fit=max\u0026auto=format\u0026n=l-gMJpOd5UpXAgo0\u0026q=85\u0026s=e4c786f38e66a0e28b8b7a4d7a2c69ff\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.social-api.ai#website\",\"name\":\"SocialAPI\",\"url\":\"https://docs.social-api.ai\",\"publisher\":{\"@id\":\"https://docs.social-api.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account#webpage\",\"url\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account\",\"name\":\"Connect a social account\",\"description\":\"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to. For apikey/credentials platforms stores the credentials immediately and returns account_id. For WhatsApp, open auth_url to run Meta's signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select. Set the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.\",\"isPartOf\":{\"@id\":\"https://docs.social-api.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.social-api.ai/api-reference/accounts/list-connected-accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accounts\",\"item\":\"https://docs.social-api.ai/api-reference/accounts/list-connected-accounts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Connect a social account\",\"item\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account#apireference\",\"headline\":\"Connect a social account\",\"name\":\"Connect a social account\",\"description\":\"Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to. For apikey/credentials platforms stores the credentials immediately and returns account_id. For WhatsApp, open auth_url to run Meta's signup. When the WhatsApp Business account holds several numbers, the redirect to your redirect_uri carries status=selection_required and a connection_id: list the numbers with GET /v1/accounts/pending/{connection_id} and pick one with POST /v1/accounts/pending/{connection_id}/select. Set the top-level redirect_uri field when connecting WhatsApp so the result reaches a page you control.\",\"url\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account\",\"mainEntityOfPage\":{\"@id\":\"https://docs.social-api.ai/api-reference/accounts/connect-a-social-account#webpage\"},\"publisher\":{\"@id\":\"https://docs.social-api.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.social-api.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SocialAPI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SocialAPI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/accounts/connect-a-social-account.md","siteName":"SocialAPI","nav":{"global":{"anchors":[{"anchor":"Support","icon":"envelope","href":"mailto:[email protected]"},{"anchor":"GitHub","icon":"github","href":"https://github.com/SocialAPI-AI"}]},"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"Platforms","icon":"grid-2","pages":[{"title":"Platforms","href":"/platforms/overview"}]},{"tab":"AI agents","icon":"robot","pages":[{"title":"AI agents","href":"/integrations/overview"}]},{"tab":"Changelog","icon":"list","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"Get started","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Accounts","pages":[{"title":"List connected accounts","description":"Returns all active social media accounts connected to the authenticated API key's workspace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts","href":"/api-reference/accounts/list-connected-accounts"},{"title":"Connect a social account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/connect","href":"/api-reference/accounts/connect-a-social-account"},{"title":"Get a pending account selection","description":"Returns the candidates of a pending connection: the Google Business Profiles of a Google login that manages more than one, the LinkedIn member profile and company Pages of a LinkedIn authorization that offers more than one, or the phone numbers of a WhatsApp Business account that holds several. Choose one with the select endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/pending/{connection_id}","href":"/api-reference/accounts/get-a-pending-account-selection"},{"title":"Select the account or Pages to connect from a pending connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/pending/{connection_id}/select","href":"/api-reference/accounts/select-the-account-or-pages-to-connect-from-a-pending-connection"},{"title":"Disconnect a social account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /accounts/{account_id}","href":"/api-reference/accounts/disconnect-a-social-account"},{"title":"Update an account's permissions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /accounts/{account_id}","href":"/api-reference/accounts/update-an-accounts-permissions"},{"title":"List Pinterest boards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/boards","href":"/api-reference/accounts/list-pinterest-boards"},{"title":"Create Pinterest board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/{account_id}/boards","href":"/api-reference/accounts/create-pinterest-board"},{"title":"Delete Pinterest board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /accounts/{account_id}/boards/{board_id}","href":"/api-reference/accounts/delete-pinterest-board"},{"title":"Update Pinterest board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /accounts/{account_id}/boards/{board_id}","href":"/api-reference/accounts/update-pinterest-board"},{"title":"Get creator info for publishing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/creator-info","href":"/api-reference/accounts/get-creator-info-for-publishing"},{"title":"List account pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/pages","href":"/api-reference/accounts/list-account-pages"},{"title":"Update account page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /accounts/{account_id}/pages/{page_id}","href":"/api-reference/accounts/update-account-page"},{"title":"Get the post sync status of a connected account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/sync","href":"/api-reference/accounts/get-the-post-sync-status-of-a-connected-account"},{"title":"Start a sync of a connected account's posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/{account_id}/sync","href":"/api-reference/accounts/start-a-sync-of-a-connected-accounts-posts"},{"title":"Exchange OAuth code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /oauth/exchange","href":"/api-reference/accounts/exchange-oauth-code"},{"title":"List Pinterest pins","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/pinterest/accounts/{account_id}/pins","href":"/api-reference/accounts/list-pinterest-pins"},{"title":"Get Pinterest account summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/pinterest/accounts/{account_id}/summary","href":"/api-reference/accounts/get-pinterest-account-summary"}]},{"group":"Analytics","pages":[{"title":"Get account analytics history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/analytics","href":"/api-reference/analytics/get-account-analytics-history"},{"title":"Get analytics overview","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /analytics/overview","href":"/api-reference/analytics/get-analytics-overview"},{"title":"Get brand analytics history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /brands/{brand_id}/analytics","href":"/api-reference/analytics/get-brand-analytics-history"},{"title":"Get post analytics history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /posts/{post_id}/analytics","href":"/api-reference/analytics/get-post-analytics-history"}]},{"group":"Exports","pages":[{"title":"Create analytics export","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/{account_id}/export","href":"/api-reference/exports/create-analytics-export"},{"title":"List analytics exports","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exports","href":"/api-reference/exports/list-analytics-exports"},{"title":"Get export status and result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exports/{export_id}","href":"/api-reference/exports/get-export-status-and-result"},{"title":"Get export videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exports/{export_id}/videos","href":"/api-reference/exports/get-export-videos"}]},{"group":"Usage","pages":[{"title":"Get platform usage limits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/limits","href":"/api-reference/usage/get-platform-usage-limits"},{"title":"Get resource usage for the current billing period","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /usage","href":"/api-reference/usage/get-resource-usage-for-the-current-billing-period"}]},{"group":"Mentions","pages":[{"title":"List brand mentions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{account_id}/mentions","href":"/api-reference/mentions/list-brand-mentions"},{"title":"Reply to a mention","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /accounts/{account_id}/mentions/reply","href":"/api-reference/mentions/reply-to-a-mention"}]},{"group":"Automations","pages":[{"title":"List Automations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /automations","href":"/api-reference/automations/list-automations"},{"title":"Create an Automation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /automations","href":"/api-reference/automations/create-an-automation"},{"title":"Get an Automation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /automations/{automation_id}","href":"/api-reference/automations/get-an-automation"},{"title":"Delete an Automation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /automations/{automation_id}","href":"/api-reference/automations/delete-an-automation"},{"title":"Update an Automation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /automations/{automation_id}","href":"/api-reference/automations/update-an-automation"},{"title":"List an Automation's runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /automations/{automation_id}/firings","href":"/api-reference/automations/list-an-automations-runs"}]},{"group":"Brands","pages":[{"title":"List brands","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /brands","href":"/api-reference/brands/list-brands"},{"title":"Create a brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /brands","href":"/api-reference/brands/create-a-brand"},{"title":"Delete a brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /brands/{brand_id}","href":"/api-reference/brands/delete-a-brand"},{"title":"Update a brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /brands/{brand_id}","href":"/api-reference/brands/update-a-brand"}]},{"group":"Events","pages":[{"title":"List developer events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /events","href":"/api-reference/events/list-developer-events"},{"title":"Event summary counts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /events/summary","href":"/api-reference/events/event-summary-counts"}]},{"group":"Inbox Comments","pages":[{"title":"List commented posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/comments","href":"/api-reference/inbox-comments/list-commented-posts"},{"title":"List comments on a post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/comments/{post_id}","href":"/api-reference/inbox-comments/list-comments-on-a-post"},{"title":"Reply to a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/comments/{post_id}","href":"/api-reference/inbox-comments/reply-to-a-comment"},{"title":"Delete a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /inbox/comments/{post_id}/{comment_id}","href":"/api-reference/inbox-comments/delete-a-comment"},{"title":"Hide a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/comments/{post_id}/{comment_id}/hide","href":"/api-reference/inbox-comments/hide-a-comment"},{"title":"Unhide a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /inbox/comments/{post_id}/{comment_id}/hide","href":"/api-reference/inbox-comments/unhide-a-comment"},{"title":"Like a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/comments/{post_id}/{comment_id}/like","href":"/api-reference/inbox-comments/like-a-comment"},{"title":"Unlike a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /inbox/comments/{post_id}/{comment_id}/like","href":"/api-reference/inbox-comments/unlike-a-comment"},{"title":"Send a private reply to a commenter","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/comments/{post_id}/{comment_id}/private-reply","href":"/api-reference/inbox-comments/send-a-private-reply-to-a-commenter"},{"title":"List replies to a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/comments/{post_id}/{comment_id}/replies","href":"/api-reference/inbox-comments/list-replies-to-a-comment"}]},{"group":"Inbox","pages":[{"title":"List inbox conversations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/conversations","href":"/api-reference/inbox/list-inbox-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/conversations/{conversation_id}","href":"/api-reference/inbox/get-a-conversation"},{"title":"Update conversation status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /inbox/conversations/{conversation_id}","href":"/api-reference/inbox/update-conversation-status"},{"title":"List messages in a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/conversations/{conversation_id}/messages","href":"/api-reference/inbox/list-messages-in-a-conversation"},{"title":"Send a message in a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/conversations/{conversation_id}/messages","href":"/api-reference/inbox/send-a-message-in-a-conversation"},{"title":"React to a message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/conversations/{conversation_id}/messages/{message_id}/reaction","href":"/api-reference/inbox/react-to-a-message"},{"title":"Remove a reaction from a message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /inbox/conversations/{conversation_id}/messages/{message_id}/reaction","href":"/api-reference/inbox/remove-a-reaction-from-a-message"},{"title":"Mark conversation as read","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/conversations/{conversation_id}/read","href":"/api-reference/inbox/mark-conversation-as-read"},{"title":"Show typing or mark seen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/conversations/{conversation_id}/sender-action","href":"/api-reference/inbox/show-typing-or-mark-seen"},{"title":"Get inbox media","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/media/{media_id}","href":"/api-reference/inbox/get-inbox-media"},{"title":"Get inbox sync status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/sync","href":"/api-reference/inbox/get-inbox-sync-status"},{"title":"Start an inbox sync","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/sync","href":"/api-reference/inbox/start-an-inbox-sync"}]},{"group":"Inbox Reviews","pages":[{"title":"List Accounts with reviews","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/reviews","href":"/api-reference/inbox-reviews/list-accounts-with-reviews"},{"title":"List reviews for an Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /inbox/reviews/{account_id}","href":"/api-reference/inbox-reviews/list-reviews-for-an-account"},{"title":"Reply to a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /inbox/reviews/{review_id}/reply","href":"/api-reference/inbox-reviews/reply-to-a-review"}]},{"group":"Invites","pages":[{"title":"List invites for a brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /invites","href":"/api-reference/invites/list-invites-for-a-brand"},{"title":"Create an invite link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invites","href":"/api-reference/invites/create-an-invite-link"},{"title":"Revoke an invite","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /invites/{invite_id}","href":"/api-reference/invites/revoke-an-invite"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /keys","href":"/api-reference/api-keys/create-api-key"},{"title":"List API key scopes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /keys/scopes","href":"/api-reference/api-keys/list-api-key-scopes"},{"title":"Revoke API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /keys/{key_id}","href":"/api-reference/api-keys/revoke-api-key"},{"title":"Update API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /keys/{key_id}","href":"/api-reference/api-keys/update-api-key"},{"title":"Rotate API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /keys/{key_id}/rotate","href":"/api-reference/api-keys/rotate-api-key"}]},{"group":"Media","pages":[{"title":"List media files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /media","href":"/api-reference/media/list-media-files"},{"title":"Get storage usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /media/storage","href":"/api-reference/media/get-storage-usage"},{"title":"Upload media (server-side)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /media/upload","href":"/api-reference/media/upload-media-server-side"},{"title":"Get a presigned media upload URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /media/upload-url","href":"/api-reference/media/get-a-presigned-media-upload-url"},{"title":"Delete a media file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /media/{media_id}","href":"/api-reference/media/delete-a-media-file"},{"title":"Verify a media upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /media/{media_id}/verify","href":"/api-reference/media/verify-a-media-upload"}]},{"group":"Migration","pages":[{"title":"Start a migration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /migrations","href":"/api-reference/migration/start-a-migration"},{"title":"Get a migration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /migrations/{provider}","href":"/api-reference/migration/get-a-migration"},{"title":"Stop a migration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /migrations/{provider}","href":"/api-reference/migration/stop-a-migration"}]},{"group":"Facebook","pages":[{"title":"Get daily Facebook Page insights","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/facebook/accounts/{account_id}/insights/daily","href":"/api-reference/facebook/get-daily-facebook-page-insights"},{"title":"Get Facebook Page insights summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/facebook/accounts/{account_id}/summary","href":"/api-reference/facebook/get-facebook-page-insights-summary"},{"title":"List a Facebook login's Pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/facebook/logins/{login_id}/pages","href":"/api-reference/facebook/list-a-facebook-logins-pages"},{"title":"Assign a Facebook Page to a brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/facebook/logins/{login_id}/pages/{page_id}/assign","href":"/api-reference/facebook/assign-a-facebook-page-to-a-brand"}]},{"group":"Google","pages":[{"title":"Update a Google Business Profile location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /platforms/google/accounts/{account_id}","href":"/api-reference/google/update-a-google-business-profile-location"},{"title":"List a Google Business Profile location's attributes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/attributes","href":"/api-reference/google/list-a-google-business-profile-locations-attributes"},{"title":"Update a Google Business Profile location's attributes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /platforms/google/accounts/{account_id}/attributes","href":"/api-reference/google/update-a-google-business-profile-locations-attributes"},{"title":"List the attributes a Google Business Profile location accepts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/attributes/available","href":"/api-reference/google/list-the-attributes-a-google-business-profile-location-accepts"},{"title":"Get a Google Business Profile location's food menus","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/food-menus","href":"/api-reference/google/get-a-google-business-profile-locations-food-menus"},{"title":"Replace a Google Business Profile location's food menus","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /platforms/google/accounts/{account_id}/food-menus","href":"/api-reference/google/replace-a-google-business-profile-locations-food-menus"},{"title":"Get Google Business Profile performance metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/insights","href":"/api-reference/google/get-google-business-profile-performance-metrics"},{"title":"List a Google Business Profile location's media","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/media","href":"/api-reference/google/list-a-google-business-profile-locations-media"},{"title":"Add media to a Google Business Profile location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/google/accounts/{account_id}/media","href":"/api-reference/google/add-media-to-a-google-business-profile-location"},{"title":"Get one Google Business Profile media item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/media/{media_id}","href":"/api-reference/google/get-one-google-business-profile-media-item"},{"title":"Remove media from a Google Business Profile location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /platforms/google/accounts/{account_id}/media/{media_id}","href":"/api-reference/google/remove-media-from-a-google-business-profile-location"},{"title":"List a Google Business Profile location's action links","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/place-action-links","href":"/api-reference/google/list-a-google-business-profile-locations-action-links"},{"title":"Add an action link to a Google Business Profile location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/google/accounts/{account_id}/place-action-links","href":"/api-reference/google/add-an-action-link-to-a-google-business-profile-location"},{"title":"Remove an action link from a Google Business Profile location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /platforms/google/accounts/{account_id}/place-action-links/{link_id}","href":"/api-reference/google/remove-an-action-link-from-a-google-business-profile-location"},{"title":"Update an action link on a Google Business Profile location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /platforms/google/accounts/{account_id}/place-action-links/{link_id}","href":"/api-reference/google/update-an-action-link-on-a-google-business-profile-location"},{"title":"List the action link types a Google Business Profile location can offer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/place-action-types","href":"/api-reference/google/list-the-action-link-types-a-google-business-profile-location-can-offer"},{"title":"Get the search keywords that surfaced a Google Business Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/accounts/{account_id}/search-keywords","href":"/api-reference/google/get-the-search-keywords-that-surfaced-a-google-business-profile"},{"title":"List a Google login's Business Profile locations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/google/logins/{login_id}/locations","href":"/api-reference/google/list-a-google-logins-business-profile-locations"},{"title":"Assign a Google Business Profile location to a brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/google/logins/{login_id}/locations/{location_id}/assign","href":"/api-reference/google/assign-a-google-business-profile-location-to-a-brand"}]},{"group":"Instagram","pages":[{"title":"Accept an Instagram collaboration invite","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/instagram/accounts/{account_id}/media/{media_id}/collab/accept","href":"/api-reference/instagram/accept-an-instagram-collaboration-invite"},{"title":"Decline an Instagram collaboration invite","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/instagram/accounts/{account_id}/media/{media_id}/collab/decline","href":"/api-reference/instagram/decline-an-instagram-collaboration-invite"},{"title":"List collaborators on an Instagram post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/instagram/accounts/{account_id}/media/{media_id}/collaborators","href":"/api-reference/instagram/list-collaborators-on-an-instagram-post"},{"title":"Get an Instagram messaging participant's profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/instagram/accounts/{account_id}/participants/{participant_id}/profile","href":"/api-reference/instagram/get-an-instagram-messaging-participants-profile"},{"title":"List active Instagram stories","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/instagram/accounts/{account_id}/stories","href":"/api-reference/instagram/list-active-instagram-stories"},{"title":"Get Instagram account insights summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/instagram/accounts/{account_id}/summary","href":"/api-reference/instagram/get-instagram-account-insights-summary"}]},{"group":"LinkedIn","pages":[{"title":"Get LinkedIn insights","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/linkedin/insights","href":"/api-reference/linkedin/get-linkedin-insights"},{"title":"List the profile and Pages of a LinkedIn login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/linkedin/logins/{login_id}/profiles","href":"/api-reference/linkedin/list-the-profile-and-pages-of-a-linkedin-login"},{"title":"Connect a LinkedIn profile or Page from a login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/linkedin/logins/{login_id}/profiles/{profile_id}/assign","href":"/api-reference/linkedin/connect-a-linkedin-profile-or-page-from-a-login"}]},{"group":"Threads","pages":[{"title":"Get Threads insights","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/threads/insights","href":"/api-reference/threads/get-threads-insights"},{"title":"Look up a public Threads profile (beta)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/threads/profile-lookup","href":"/api-reference/threads/look-up-a-public-threads-profile-beta"}]},{"group":"TikTok","pages":[{"title":"Get TikTok account summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/tiktok/accounts/{account_id}/summary","href":"/api-reference/tiktok/get-tiktok-account-summary"},{"title":"Re-sync a TikTok account's videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/tiktok/accounts/{account_id}/sync","href":"/api-reference/tiktok/re-sync-a-tiktok-accounts-videos"}]},{"group":"WhatsApp","pages":[{"title":"Send a template message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/accounts/{account_id}/send-template","href":"/api-reference/whatsapp/send-a-template-message"},{"title":"List message templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/whatsapp/accounts/{account_id}/templates","href":"/api-reference/whatsapp/list-message-templates"},{"title":"Create a message template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/accounts/{account_id}/templates","href":"/api-reference/whatsapp/create-a-message-template"},{"title":"Delete a message template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /platforms/whatsapp/accounts/{account_id}/templates","href":"/api-reference/whatsapp/delete-a-message-template"},{"title":"Deregister a phone number from WhatsApp Business","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/phone-numbers/{account_id}/deregister","href":"/api-reference/whatsapp/deregister-a-phone-number-from-whatsapp-business"},{"title":"Register a phone number with WhatsApp Business","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/phone-numbers/{account_id}/register","href":"/api-reference/whatsapp/register-a-phone-number-with-whatsapp-business"},{"title":"Request a phone number verification code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/phone-numbers/{account_id}/request-code","href":"/api-reference/whatsapp/request-a-phone-number-verification-code"},{"title":"Get phone number registration status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/whatsapp/phone-numbers/{account_id}/status","href":"/api-reference/whatsapp/get-phone-number-registration-status"},{"title":"Verify a phone number with a code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/phone-numbers/{account_id}/verify-code","href":"/api-reference/whatsapp/verify-a-phone-number-with-a-code"},{"title":"Get a WhatsApp Business Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/whatsapp/phone-numbers/{phone_number_id}/business-profile","href":"/api-reference/whatsapp/get-a-whatsapp-business-profile"},{"title":"Update a WhatsApp Business Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /platforms/whatsapp/phone-numbers/{phone_number_id}/business-profile","href":"/api-reference/whatsapp/update-a-whatsapp-business-profile"},{"title":"Validate a message template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/whatsapp/templates/validate","href":"/api-reference/whatsapp/validate-a-message-template"},{"title":"Get a message template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/whatsapp/templates/{template_id}","href":"/api-reference/whatsapp/get-a-message-template"},{"title":"Edit a message template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /platforms/whatsapp/templates/{template_id}","href":"/api-reference/whatsapp/edit-a-message-template"}]},{"group":"YouTube","pages":[{"title":"Get YouTube channel summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /platforms/youtube/accounts/{account_id}/summary","href":"/api-reference/youtube/get-youtube-channel-summary"},{"title":"Re-sync a YouTube account's videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/youtube/accounts/{account_id}/sync","href":"/api-reference/youtube/re-sync-a-youtube-accounts-videos"},{"title":"Edit a published YouTube video (title, description, visibility, Studio tags, cover)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /platforms/youtube/accounts/{account_id}/videos/{video_id}","href":"/api-reference/youtube/edit-a-published-youtube-video-title-description-visibility-studio-tags-cover"},{"title":"Edit a YouTube comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /platforms/youtube/comments/{comment_id}","href":"/api-reference/youtube/edit-a-youtube-comment"},{"title":"Moderate a YouTube comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /platforms/youtube/comments/{comment_id}/moderate","href":"/api-reference/youtube/moderate-a-youtube-comment"}]},{"group":"Posts","pages":[{"title":"List all posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /posts","href":"/api-reference/posts/list-all-posts"},{"title":"Create or schedule a post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /posts","href":"/api-reference/posts/create-or-schedule-a-post"},{"title":"Bulk import posts from CSV","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /posts/import","href":"/api-reference/posts/bulk-import-posts-from-csv"},{"title":"Get metrics for several posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /posts/metrics","href":"/api-reference/posts/get-metrics-for-several-posts"},{"title":"Get platform constraints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /posts/validate","href":"/api-reference/posts/get-platform-constraints"},{"title":"Validate post content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /posts/validate","href":"/api-reference/posts/validate-post-content"},{"title":"Get a single post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /posts/{post_id}","href":"/api-reference/posts/get-a-single-post"},{"title":"Delete or cancel a post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /posts/{post_id}","href":"/api-reference/posts/delete-or-cancel-a-post"},{"title":"Update a post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /posts/{post_id}","href":"/api-reference/posts/update-a-post"},{"title":"Get post metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /posts/{post_id}/metrics","href":"/api-reference/posts/get-post-metrics"},{"title":"Publish a draft post now","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /posts/{post_id}/publish","href":"/api-reference/posts/publish-a-draft-post-now"},{"title":"Retry a failed post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /posts/{post_id}/retry","href":"/api-reference/posts/retry-a-failed-post"},{"title":"Unpublish a post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /posts/{post_id}/unpublish","href":"/api-reference/posts/unpublish-a-post"}]},{"group":"Queues","pages":[{"title":"List Queues","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /queues","href":"/api-reference/queues/list-queues"},{"title":"Create a Queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /queues","href":"/api-reference/queues/create-a-queue"},{"title":"Get a Queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /queues/{queue_id}","href":"/api-reference/queues/get-a-queue"},{"title":"Delete a Queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /queues/{queue_id}","href":"/api-reference/queues/delete-a-queue"},{"title":"Update a Queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /queues/{queue_id}","href":"/api-reference/queues/update-a-queue"},{"title":"Preview a Queue's next times","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /queues/{queue_id}/preview","href":"/api-reference/queues/preview-a-queues-next-times"}]},{"group":"Users","pages":[{"title":"Get current user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /users/me","href":"/api-reference/users/get-current-user"},{"title":"Update current user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /users/me","href":"/api-reference/users/update-current-user"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhooks","href":"/api-reference/webhooks/create-webhook-endpoint"},{"title":"List available webhook event types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks/events","href":"/api-reference/webhooks/list-available-webhook-event-types"},{"title":"Get webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks/{webhook_id}","href":"/api-reference/webhooks/get-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-webhook-endpoint"},{"title":"Update webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /webhooks/{webhook_id}","href":"/api-reference/webhooks/update-webhook-endpoint"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks/{webhook_id}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get webhook delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks/{webhook_id}/deliveries/{delivery_id}","href":"/api-reference/webhooks/get-webhook-delivery"},{"title":"Retry webhook delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhooks/{webhook_id}/deliveries/{delivery_id}/retry","href":"/api-reference/webhooks/retry-webhook-delivery"},{"title":"Send test webhook delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhooks/{webhook_id}/test","href":"/api-reference/webhooks/send-test-webhook-delivery"}]}]}]}]},"basePath":"","title":"Connect a social account - SocialAPI","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}