Articles
Unpublish Article
Move a published Twitter/X article back to draft and remove the wrapper tweet from the timeline. $0.005 per call.
POST
/twitter/article/unpublishThis endpoint costs $0.005 per API call.
Moves a published article back to draft and removes the wrapper tweet from the timeline. The article entity is preserved as a draft.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
auth_token | string | Yes | User's auth token |
article_id | string | Yes | Published article id |
proxy | string | No | Your proxy URL |
Response (200)
{
"status": "success",
"msg": "Article unpublished",
"data": { "article_id": "2055606612363202560" }
}Examples
curl -X POST "https://api.getxapi.com/twitter/article/unpublish" \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{
"auth_token": "your_auth_token",
"article_id": "2055606612363202560"
}'