Posts
Create and publish a post now
Creates a post group and publishes it immediately to every channel in the providers map. Partial success returns 200 with publishStatus.partial set to true (it is not an error).
post/api/posts/publish
Request
- Base URL: https://api-app.postnext.io
- URL: https://api-app.postnext.io/api/posts/publish
- Auth: API key in header x-api-key
Request body
Example request
{
"title": "Launch announcement",
"tags": [
"launch"
],
"providers": {
"twitter": {
"channelName": "@focusbox",
"providerId": "tw_9f3a1c20e5",
"content": {
"text": "We just shipped v2. Faster, cleaner, yours.",
"mediaUrls": [
"https://cdn.postnext.io/assets/launch-hero.png"
],
"mediaType": "IMAGE",
"hashtags": [
"launch",
"v2"
]
}
}
}
}Response
Created and published
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.