v1Resources/Connections/postCreate a connect link

Create a connect link

Creates a single-use link that connects a client's brand-level account on Facebook, Instagram, LinkedIn, X, Pinterest or YouTube. Send the url to someone who can access the client in Synup: they open it while signed in and approve the connection in their own browser. The link works once and expires after an hour if no one opens it. This endpoint never completes the connection itself; check the link's status to see when it finishes. YouTube must be enabled for the workspace (403 otherwise).

post/api/v1/connections/connect-links
connections:write
Request body
clientIdstringrequired
The client whose account to connect.
platformstring (facebook | instagram | linkedin | x | pinterest | youtube)required
The network to connect: facebook, instagram, linkedin, x, pinterest or youtube.
reconnectConnectionIdstringoptional
An existing connection of this client to reconnect instead of adding a new one. Facebook and YouTube only.
Response
dataobjectoptional
idstringoptional
The link's id. Use it to check the status or cancel the link.
platformstringoptional
The network the link connects.
clientIdstringoptional
The client the link is for.
statusstring (pending | started | completed | abandoned | cancelled | expired)optional
Where the link stands: pending (not opened yet), started (opened, waiting for the person to finish), completed (the account is connected), abandoned (opened but not finished within an hour), cancelled, or expired (not opened before expiresAt).
expiresAtstringoptional
When the link stops working if no one has opened it.
startedAtstringoptional
When the link was opened, or null if it hasn't been.
connectionIdstringoptional
The connection the link produced, once completed. Null until then.
reconnectConnectionIdstringoptional
The connection being reconnected, when the link was created to reconnect one. Only the create response returns it; status lookups return null.
urlstringoptional
The link to send. It opens in a browser, carries no credentials and works once.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/connections/connect-links
Your API key
Request body*
{}

Guides that use this resource