Skip to main content
PUT
/
posts
/
{id}
/
release-id
Update release ID
curl --request PUT \
  --url https://api.postiz.com/public/v1/posts/{id}/release-id \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "releaseId": "7321456789012345678"
}
'
{
  "id": "post-123",
  "releaseId": "7321456789012345678"
}

Authorizations

Authorization
string
header
required

Your Postiz API key

Path Parameters

id
string
required

Post ID

Body

application/json
releaseId
string
required

The platform-specific content ID to connect to this post

Response

200 - application/json

Release ID updated successfully

id
string
releaseId
string