Endpoint
Overview
Delete one or more posts from your organization. This endpoint handles both scheduled posts and published posts:- Unpublished posts (
scheduled,pending,failed,retrying) are deleted immediately from the database - Published posts (
complete) trigger a deletion flow that removes the post from the social media platform (TikTok/Instagram) and then marks it asdeleted
Published Post Deletion:When deleting a
complete post, the API will:- Trigger a GeeLark automation to delete the post from the social media platform
- Set the post status to
deletingwhile the deletion is in progress - Automatically update to
deletedonce the platform deletion completes
Request Body
string[]
required
Array of post IDs to deleteAll posts must belong to your organization. Posts can be in any status.
Response
object
Deletion result information
Error Cases
- 404 Not Found: Some posts don’t exist or don’t belong to your organization
- 400 Bad Request: No post IDs provided
- Partial errors: Some posts may fail to delete while others succeed (returned in
errorsarray)
Best Practices
1
Delete posts
Call the delete endpoint with the post IDs you want to remove
2
Check response
The response tells you which posts were deleted immediately vs. queued for platform deletion
3
Monitor status (for published posts)
For posts being deleted from the platform, monitor their status until it changes to
deleted