GetXAPI
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/unpublish

This 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

FieldTypeRequiredDescription
auth_tokenstringYesUser's auth token
article_idstringYesPublished article id
proxystringNoYour 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"
  }'

On this page