Overview
Before using any X action endpoints, you need to connect your X account via OAuth. This endpoint returns the authorization URL and whether you already have an active connection.Authentication
Requires a valid API key.Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request succeeded |
connected | boolean | Whether an X account is currently connected |
url | string | The social accounts settings URL |
authorize_url | string | OAuth authorization URL (only when not connected) |
message | string | Human-readable status message |
Credit Usage
This endpoint does not charge any credits.Use Cases
- Pre-flight check: Verify connection before running action workflows
- OAuth flow: Get the authorization URL to connect a new X account
- Status monitoring: Check connection health in automated pipelines