Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/social-post-ideas/link-post-idea-to-social-post

Link post idea to social post

Links a generated post idea to a published social post, so the idea is marked as used and tracked against the social post.

Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Headers

NameTypeRequiredDescription
Synup-VersionstringrequiredAPI version date (YYYY-MM-DD).

Body

NameTypeRequiredDescription
postIdeaIdstringrequired
socialPostIdstringrequired

Request

Request
curl -X POST 'https://api.synup.com/api/v4/social-post-ideas/link-post-idea-to-social-post' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "postIdeaId": "91b2...",
  "socialPostId": "5d7e..."
}'

Responses

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "linkPostIdeaToSocialPost": {
      "success": true,
      "error": {
        "message": "string",
        "code": "string",
        "contextInfo": [
          {
            "key": "string",
            "value": "string"
          }
        ]
      }
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.linkPostIdeaToSocialPostobjectoptional
data.linkPostIdeaToSocialPost.successbooleanoptional
data.linkPostIdeaToSocialPost.errorobjectoptional
data.linkPostIdeaToSocialPost.error.messagestringoptional
data.linkPostIdeaToSocialPost.error.codestringoptional
data.linkPostIdeaToSocialPost.error.contextInfoarray of objectoptional
data.linkPostIdeaToSocialPost.error.contextInfo[].keystringoptional
data.linkPostIdeaToSocialPost.error.contextInfo[].valuestringoptional