curl -X POST https://api.infinipost.co/v1/posts \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "accountIds": ["acc_123", "acc_456"], "contentType": "video", "contentUrl": "https://example.com/video.mp4", "caption": "Check out this amazing content! #viral", "soundUrl": "https://example.com/audio.mp3", "scheduledTime": "2024-04-22T12:00:00Z" }'
{ "posts": [ { "id": "post_abc123", "accountId": "acc_123", "platform": "tiktok", "contentType": "video", "status": "scheduled", "scheduledTime": "2024-04-22T12:00:00Z", "createdAt": "2024-04-21T20:15:00Z" }, { "id": "post_def456", "accountId": "acc_456", "platform": "instagram", "contentType": "video", "status": "scheduled", "scheduledTime": "2024-04-22T12:00:00Z", "createdAt": "2024-04-21T20:15:00Z" } ] }
Create and schedule a video or slideshow post
["acc_123", "acc_456"]
video
slideshow