Typical Workflow
Here is a practical workflow for integrating with the current microservice:
- Create API key
- Call
POST /api-keysand store the returned key securely.
- Call
- Register webhook (optional, recommended)
- Call
POST /webhooksto receivepost.published,post.failed,post.partial.
- Call
- Create post
- Immediate publish:
POST /posts - Scheduled publish:
POST /posts/schedule
- Immediate publish:
- Track result
- Fetch list:
GET /posts - Fetch one post:
GET /posts/:id
- Fetch list:
- Cancel scheduled post if needed
- Call
DELETE /posts/:id(only works when status isscheduled)
- Call
Recommended target strategy
Use social_account_ids instead of platforms.
platforms is still accepted for legacy compatibility.