POST/social-media/connect-link

Generates a secure connect link that lets someone connect their social accounts to your workspace without a PostFast account. Optionally emails the link.

https://api.postfa.st/Auth: pf-api-keyRate limit: 50 requests per hour

Important

The token in the URL is a JWT and can be quite long. Make sure to use the full connectUrl as returned, do not truncate or modify it, or the link will not work.

Usage

Share the connectUrl with your client or collaborator. When they open the link, they can connect their social media accounts directly to your workspace, no PostFast account required.

Request body

expiryDaysnumberoptionaldefault 7

Number of days until the connect link expires. Min: 1, max: 30.

sendEmailbooleanoptionaldefault false

Whether to send the connect link to the specified email address.

emailstringRequired when sendEmail is true

The email address to send the connect link to. Must be a valid email address.

Response

201 Created A JSON object containing the connect URL.

connectUrlstringoptional

The secure URL that the recipient can use to connect their social media accounts to your workspace.