API

X Publish

post/api/v1/x-publish

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/x-publish
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Query parameters

webhookstring
team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

account_idinteger required

ID of the connected X (Twitter) account (from GET /social/accounts).

media_urlstring uri required

Public URL of the video or image to post.

captionstring

Tweet text (max 280 chars).

reply_settings'everyone' | 'subscribers' | 'mentioned'

Who can reply to the post. 'everyone' is Twitter's default (omitted from API call).

webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.