Posts
Update Release ID
PUT /posts/{id}/release-id — Infipost Public API
Updates the `releaseId` of a post that currently has its release ID set to `"missing"`. This connects the post to its actual published content on the platform, enabling analytics and statistics tracking. Typically used after calling the **Get Missing Content** endpoint to retrieve the list of available content items.
cURL
curl --request PUT \
--url 'https://api.infipost.asia/public/v1/posts/{id}/release-id' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"releaseId": "7321456789012345678"
}'Authorization
Authorizationstring · headerrequiredWorkspace API key or OAuth access token. Send the token directly without a Bearer prefix.
Parameters
idstring · pathrequiredPost ID
Body
releaseIdstringrequiredThe platform-specific content ID to connect to this post
Response
Release ID updated successfully
application/json
{
"id": "post-123",
"releaseId": "7321456789012345678"
}idstringreleaseIdstringBài viết này có hữu ích không?