X Accounts

Starts re-authentication for an existing X account connection. Needs a dashboard session, so X credentials never pass through an API key.

post/api/v1/x/accounts/{id}/reauth

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/x/accounts/{id}/reauth
  • Auth: API key in cookie __Host-xquik_session

Path parameters

idstring required

Resource ID returned by the matching create or list endpoint.

Request body

passwordstring required

Updated account password

totp_secretstring

Replacement Authenticator App TOTP secret. Omit it to reuse the saved secret.

emailstring

Email for the X account. It replaces the stored email.

Example request

{
  "password": "<ACCOUNT_PASSWORD>",
  "totp_secret": "<TOTP_SECRET>",
  "email": "account@example.invalid"
}

Response

Re-authenticated

idstring required
xUserIdstring required
xUsernamestring required
status'active' required
health'healthy' | 'locked' | 'needsReauth' | 'recovering' | 'suspended' | 'temporaryIssue' required
createdAtstring date-time required

Example response

{
  "id": "42",
  "xUserId": "9876543210",
  "xUsername": "elonmusk",
  "status": "active",
  "health": "healthy",
  "createdAt": "2025-01-15T12:00:00Z"
}

Changes

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status