Skip to main content
Get the connection URL and current status for your X account.

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.
curl -X GET https://api.trigify.io/v1/x/connect \
  -H "x-api-key: YOUR_API_KEY"

Response Fields

FieldTypeDescription
successbooleanWhether the request succeeded
connectedbooleanWhether an X account is currently connected
urlstringThe social accounts settings URL
authorize_urlstringOAuth authorization URL (only when not connected)
messagestringHuman-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