Get started
Connecting accounts
How accounts are connected, and how to tell what each one can do.
Accounts are connected in the dashboard, under Accounts, by workspace owners and admins. There’s no API for connecting accounts: your API key posts to the accounts your workspace has connected.
How each platform connects
Sign in: Facebook, Instagram, X, YouTube, TikTok, LinkedIn, Pinterest, Threads, Tumblr, Google Search Console, Google Analytics, Google Ads and Google Business Profile. You approve access on the platform’s own screen, through SocialHelper’s app. One sign-in can connect more than one account where the platform allows it.
Credentials: Telegram, Discord, Bluesky, Mastodon, WordPress, WooCommerce and Ghost. The connect form asks for:
-
Telegram · Bot tokenpassword - Create a bot with @BotFather and paste the token it gives you. Then add the bot to your channel as an administrator allowed to post messages.
-
Telegram · Channel or grouptext - The public @username, or the numeric chat id of a private channel or group, such as -1001234567890.
-
Discord · Webhook URLurl - In Discord, open the channel’s settings → Integrations → Webhooks → New Webhook, then click Copy Webhook URL.
-
Bluesky · Handle or emailtext - Your Bluesky handle, or the email you sign in with.
-
Bluesky · App passwordpassword - Create one in Bluesky under Settings → Privacy and security → App passwords. Do not use your account password.
-
Mastodon · Serverurl - The address of your Mastodon server.
-
Mastodon · Access tokenpassword - In Mastodon, open Preferences → Development → New application. Tick the scopes read:accounts, read:statuses, write:statuses and write:media, save, then open the application and copy “Your access token”.
-
WordPress · Site addressurl - Your WordPress site’s address. It must use https://.
-
WordPress · Usernametext - The WordPress username (or email) you log in with.
-
WordPress · Application passwordpassword - In WordPress, open Users → Profile and scroll to Application Passwords. Enter a name such as “SocialHelper”, click Add New Application Password and copy the password it shows (spaces are fine). Your login password won’t work.
-
WooCommerce · Store addressurl - Your store’s address, as it opens in a browser. It must start with https://.
-
WooCommerce · Consumer keytext - In WordPress, open WooCommerce → Settings → Advanced → REST API and click Add key. Choose a user who can manage WooCommerce (an administrator or shop manager), set Permissions to Read (or Read/Write to let tools create coupons), click Generate API key, then copy the consumer key and secret.
-
WooCommerce · Consumer secretpassword - Shown once, under the consumer key. It starts with cs_.
-
Ghost · Admin API URLurl - In Ghost Admin, open Settings → Integrations → Add custom integration, name it SocialHelper and save. Copy the API URL it shows: your site’s address, such as https://example.ghost.io.
-
Ghost · Admin API keypassword - From the same integration, copy the Admin API key (not the Content API key). It is an ID, a colon, then a long code.
Credentials and tokens are encrypted at rest and never returned by the API.
Listing accounts
curl https://socialhelper.app/api/v1/accounts \
-H "Authorization: Bearer $SOCIALHELPER_API_KEY"
Each account has:
-
idstring - Use it in accounts when you create a post, and in the tools endpoints.
-
platformstring - The platform key, e.g. bluesky or linkedin.
-
statusstring - active, or needs_reconnect when the platform withdrew access. status_reason explains why.
-
can_publishboolean - Whether the account can receive posts.
-
toolsarray - The names of the account’s tools, if it has any. See Account tools.
-
name, username, avatar_url, profile_urlstring - How the account appears on the platform.
-
reconnect_bystring|null - When the connection stops working unless it’s reconnected (LinkedIn profiles every 60 days). null when access renews itself.
-
connected_at, last_published_atstring - ISO 8601 timestamps in UTC.
GET /api/v1/platforms lists the platforms you can connect right now, with each one’s posting rules (or null if it doesn’t publish) and its tools.
When an account needs reconnecting
If a platform withdraws access (a password change, an expired grant, a revoked app), the account’s status becomes needs_reconnect, the workspace owner gets an email, and an account.needs_reconnect webhook is sent. Reconnect it from Accounts in the dashboard.
SocialHelper renews access tokens itself. Some connections can’t be renewed forever, though: LinkedIn asks members to sign in again every 60 days. For those, reconnect_by gives the date, and the workspace owner gets an email a week before it. Reconnecting keeps the account’s ID and its scheduled posts.
Disconnecting
Disconnecting an account deletes its credentials, cancels any of its posts that haven’t started publishing and, where the platform allows it, revokes SocialHelper’s access there. Posts that are already live stay on the platform.