manage_connect_links
Hosted connect links for your customers
Description
A short-lived link your customer opens to connect THEIR OWN account (Facebook and Instagram, Instagram, TikTok, YouTube, LinkedIn, X, Pinterest, Threads, Google Business Profile, the ad platforms) to the current brand, with no Hermoso login. action create (default): provider, optional externalId (your customer id, mapped to this brand), welcome (true/false: show your saved welcome screen), redirectUrl (an address registered for the account; the person returns there with the outcome), state, expiresInMinutes (5 to 2880, default 60). It opens on your connect domain when one is active, and runs through your own app when you saved one for that platform. email: send it to them in your name (optional message). action get: status (pending, opened, connected, cancelled, failed, expired, revoked), the account that connected and whether its Pages or accounts still need choosing (list_connector_accounts, then set_connector_accounts). revoke: stop it opening. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "create" | "get" | "revoke" | "providers" | "reconnect" | providers: which platforms a link can connect here; reconnect: a link for EVERY connection that needs reconnecting, on this brand or on `brands` |
brands | string[] | string | reconnect: "all" or a list of brand ids or names; omit for the current brand |
hosted | boolean | reconnect: false gives sign-in links instead of hosted links (default hosted where the platform supports it) |
email | string | |
message | string | |
provider | string | |
externalId | string | |
welcome | boolean | |
redirectUrl | string | |
state | string | |
expiresInMinutes | number | |
linkId | string | get / revoke: the link id (cl_…) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_connect_links.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_connect_links","arguments":{}}}
CLI
hermoso call manage_connect_links --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_connector_accountsList a connector’s accountsset_connector_accountsChoose which accounts a brand may usemanage_external_idsFind a customer by your own idphone_handoffFinish connecting on a phonemanage_connect_domainsConnect pages on your own domainmanage_hosted_formsForms your client fills in themselvesconnect_welcome_screenThe branded page on connect linksmanage_org_connectionsMicrosoft 365 / Google Workspace organization connectionsmanage_oauth_appsYour own OAuth apps for connecting accountscreate_tiktok_ads_identityCreate a TikTok custom ad identity