Skip to main content
Like a post on X using your connected account.

Overview

The Like Post endpoint allows you to like a specific post. You can provide either a numeric post ID or a full post URL.

Authentication

Requires a valid API key with a connected X account.
curl -X POST https://api.trigify.io/v1/x/like-post \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tweet_id": "1234567890123456789"
  }'

Input

FieldTypeDescription
tweet_idstringRequired. A numeric post ID or full post URL

Credit Usage

This endpoint charges 1 credit per like.

Notes

  • If the post is already liked, the response will include already_done: true
  • Accepts both numeric IDs ("1234567890123456789") and full URLs ("https://x.com/user/status/1234567890123456789")