recomentionDocs
API reference

Create a connect link

A single-use link, valid for 10 minutes, that opens the dashboard's connect flow for one platform of this project. Give it to the account owner to open in their browser: it opens only for that owner's signed-in session, never signs anyone in, and only preselects the project and platform; the owner still approves the platform's own consent. Whether the platform is switched on is checked when the link is opened: if it isn't, the page says why instead of continuing. At most 5 unused links at a time and 10 per hour.

POST
/v1/projects/{id}/connections/links

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (rmk_…).

Path Parameters

id*string

Request Body

application/json
  1. body
platform*string
Value in"x""linkedin""instagram""tiktok""bluesky""threads""youtube""facebook""pinterest""google-business"

Response Body

The link.

application/json
  1. response
link*
Example Request
curl -X POST 'https://api.recomention.com/v1/projects/string/connections/links' \  -H 'Content-Type: application/json' \  -d '{  "platform": "x"}'
Example Response
{  "link": {    "url": "string",    "expiresAt": "string",    "platform": "x",    "singleUse": true  }}