Record the link of a published post the platform returned none for

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-posts-setremote"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/084c40ac-0154-41eb-8852-5dc99a320a28/social-card.svg?v=3e7ae33eec8b" alt="Record the link of a published post the platform returned none for" width="600" height="315"></a>
PUT http://localhost:4000/api/v1/posts/{id}/remote

targetId is the id of one of the post's targets, part the index of the part (0 for the post itself, 1 and up for thread entries). remoteUrl becomes the part's link; remoteId, when you know the platform's own id, replaces the stored one so analytics and replies can find the post.

Parameters

id
string
path
required

Request body

application/json
targetId
string
required
part
integer
= 0
remoteId
string
remoteUrl
string
required
{
  "targetId": "string",
  "part": 0,
  "remoteId": "string",
  "remoteUrl": "string"
}

Code samples

cURL
curl -X PUT "http://localhost:4000/api/v1/posts/{id}/remote" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"targetId":"string","part":0,"remoteId":"string","remoteUrl":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated