DMs and engagement actions run from your own X account. Connect it once — we store the session encrypted and keep it alive — then reference it by account_id.
Connecting an account requires an active subscription plan with an available account slot. Subscribe in the dashboard first, or the connect call returns 403 seat_limit.
Connect (username & password)
POST/v1/accounts/connect50 credits
We log in on your behalf via the upstream layer and store the resulting session. Credentials are used once and encrypted at rest.
If you already have a session, pass your X cookies (a Cookie-Editor JSON export). This performs no login and is never rate-limited, but can't auto-relogin when it expires.
X sessions expire. When a call hits an expired session, we automatically re-login using your stored credentials (login method only) and retry — you don't have to do anything. If a session can't be recovered, the account is flagged and calls return 409 account_needs_reconnect.