PUThttps://tryferra.co/api/public/v1/posts/{id}/status
Moves a post between draft and schedule state.
schedule→ sets the post state toQUEUEand (re)starts the publishing workflow so it will be published at its stored date.draft→ sets the post state toDRAFTand terminates any currently running publishing workflow for the post, so it will not be published.
The post keeps its stored date; only the state (and the workflow) changes.
Authorization
Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.
Parameters
idstringrequiredpath · Post ID
Body
status"draft" | "schedule"requiredNew status for the post
Request
curl -X PUT 'https://tryferra.co/api/public/v1/posts/{id}/status' \
-H 'Authorization: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"status": "schedule"
}'Responses
200Post status updated successfully
{
"id": "post-123",
"state": "QUEUE"
}