Posts
Publish or schedule a draft post
Scheduling the draft for a future scheduledAt also needs posts.schedule, and publishing it now also needs posts.publish, so a key that holds only posts.draft cannot publish; the call answers 403 permission_denied. Requires the posts.draft permission.
post/social-posts/{id}/publish
Request
- Base URL: https://post.adaptlypost.com/post/api/v1
- URL: https://post.adaptlypost.com/post/api/v1/social-posts/{id}/publish
- Auth: HTTP bearer
Path parameters
idstring required
Post ID
Headers
X-Workspace-Idstring
The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from GET /workspaces. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with code: workspace_access_denied. An API key belongs to one workspace: send its own id or leave the header out
Request body
Example request
{
"timezone": "UTC"
}Response
Publish result
Changes
No recorded changes to this operation across all 2 revisions of this API.