The Accounts API lets you connect and disconnect a site's social channels, retrieve its connected accounts, and check whether those connections are still valid. An account represents a channel the site owner has connected, such as an Instagram business account or a Facebook page. You need an account's id when you create or publish items to that channel.
With the Accounts API, you can:
To connect a channel without a browser popup, call Get Connect Url to retrieve the channel's OAuth authorization URL, surface it to the site owner, and have them authorize the channel in their browser. The channel's OAuth redirect completes the connection server-side, after which the channel becomes connected. Poll Get Long Lived Token Status until the status is VALID to confirm. To disconnect a channel, call Disconnect.
It's important to note the following points before starting to code:
Last updated: 28 June 2026