write

Connect an X account → login_cookie

Return a sealed login_cookie the caller passes to write endpoints. Nothing is stored server-side. BYO: pass auth_token+ct0. Credentialed: pass username+password (+totp) — needs a device in the loop.

post/twitter/user_login_v2

Request

  • Base URL: https://api.relayxapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.relayxapi.com/twitter/user_login_v2
  • Auth: none declared

Headers

x-api-keystring nullable

Request body

auth_tokenstring nullable

web session cookie (BYO path)

ct0string nullable

web CSRF cookie (BYO path)

twidstring nullable
guest_idstring nullable
usernamestring nullable
passwordstring nullable
totpstring nullable

TOTP code/secret if the account has 2FA

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.