Socials

Repost an X post

Changed on

Reposts as the connected X account. Shares X's 300-per-3-hours creation budget with publishing.

post/socials/twitter/retweets

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
account_id, string

Connected X account to act as (sacct_ prefix id). Optional when one X account is connected; required when there are several, and a call without it answers 422 with code account_id_required, listing each account's id.

tweet_id, string required

Numeric id of the X post to repost.

Response

Repost confirmation

object required
tweet_id, string
retweeted, boolean
platform, string

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    5 more changes in this revision