Connecting an X (Twitter) channel lets you receive Direct Messages and mentions as PingBack conversations. Agents can reply from within PingBack and the reply is posted back on X.Documentation Index
Fetch the complete documentation index at: https://docs.pingback.live/llms.txt
Use this file to discover all available pages before exploring further.
X is available on the Mini and Pro plans only.
Prerequisites
Before you start, you need an X Developer App with the following settings configured in the X Developer Portal:- App permissions: Read and Write
- Direct Message access: Enabled
- All four credentials generated: API Key, API Key Secret, Access Token, and Access Token Secret
- A Bearer Token for the app
Setup
Gather your X credentials
From your X Developer App dashboard, collect the following five values:
| Field | Where to find it |
|---|---|
api_key | App Keys and Tokens > API Key |
api_secret | App Keys and Tokens > API Key Secret |
access_token | App Keys and Tokens > Access Token |
access_token_secret | App Keys and Tokens > Access Token Secret |
bearer_token | App Keys and Tokens > Bearer Token |
Create the X channel in PingBack
Send a
POST request to /api/v1/channels/ with type set to "x" and all five credentials in the config object.Webhook registration (automatic)
PingBack automatically registers a webhook endpoint for your X channel at:Where
{channel_id} is the numeric id returned in the response above. You may need to register this URL as the webhook endpoint in your X Developer App’s Dev Environments section if you are using the Account Activity API.