Skip to main content

Command Summary

CommandPurposeCredit cost
trigify x connectGet the connection URL for managing an X accountNo
trigify x accountsList connected X accountsNo
trigify x lookup-userResolve an X username to a user ID1 credit
trigify x create-postPublish a post1 credit
trigify x delete-postDelete your own post1 credit
trigify x likeLike a post1 credit
trigify x replyReply to a post1 credit
trigify x repostRepost a post1 credit
trigify x followFollow a user1 credit
trigify x send-dmSend a direct message2 credits

Account Management

trigify x connect

Get the URL used to connect or manage an X account:
trigify x connect

trigify x accounts

List all connected X accounts:
trigify x accounts

trigify x lookup-user

Required flags:
  • --username <username>
Example:
trigify x lookup-user --username openai

Posting And Engagement

Many X commands accept an optional --account-id <id> flag when you need to target a specific connected account.

trigify x create-post

Required flags:
  • --text <text>
Optional flags:
  • --poll-options <json>
  • --poll-duration <minutes>
  • --media-ids <json>
  • --account-id <id>
Example text post:
trigify x create-post --text "Shipping a new monitor today."
Example poll:
trigify x create-post \
  --text "Which channel should we monitor next?" \
  --poll-options '["LinkedIn","Reddit","YouTube"]' \
  --poll-duration 1440

trigify x delete-post

Required flags:
  • --tweet-id <id>
Optional flags:
  • --account-id <id>
Example:
trigify x delete-post --tweet-id 1899999999999999999

trigify x like

Required flags:
  • --tweet-id <id>
Optional flags:
  • --account-id <id>
Example:
trigify x like --tweet-id 1899999999999999999

trigify x reply

Required flags:
  • --tweet-id <id>
  • --text <text>
Optional flags:
  • --account-id <id>
Example:
trigify x reply \
  --tweet-id 1899999999999999999 \
  --text "Interesting take. We are seeing the same pattern in customer feedback."

trigify x repost

Required flags:
  • --tweet-id <id>
Optional flags:
  • --account-id <id>
Example:
trigify x repost --tweet-id 1899999999999999999

trigify x follow

Required flags:
  • --target-user-id <id>
Optional flags:
  • --account-id <id>
Example:
trigify x follow --target-user-id 2244994945

trigify x send-dm

Required flags:
  • --user-id <id>
  • --text <text>
Optional flags:
  • --account-id <id>
Example:
trigify x send-dm \
  --user-id 2244994945 \
  --text "Thanks for the feedback. We would love to learn more."