Connect your X (Twitter) account

Updated Nov 28, 20263 min read
English
On this page

Connect your X (Twitter) account and answer its Direct Messages in Deskwoot, next to email and chat, without opening twitter.com. Incoming DMs become conversations and your replies reach the customer on X; public mentions and tweets are not synced.

Step 1: Get your keys from X

  1. In the X Developer Portal, create an app (or open the one you have).
  2. Go to Keys and tokens.
  3. Copy the API Key and API Secret, an Access Token and Access Token Secret, and the Bearer Token.

Step 2: Create the X inbox in Deskwoot

  1. Go to Settings > Inboxes.
  2. Click Add Inbox.
  3. Pick X.
  4. Enter an Inbox Name.
  5. Fill in API Key, API Secret, Access Token, Access Token Secret and Bearer Token.
  6. Enter Your X user ID: the numeric user ID of the X account that receives the DMs.
  7. Click Create Inbox.
The X form for a new inbox: API Key, API Secret, Access Token, Access Token Secret, Bearer Token and Your X user ID

Step 3: Register the webhook at X

  1. Open the new inbox.
  2. Under Only on X, click Webhook at X.
  3. Copy the Webhook URL.
  4. In the X Developer Portal, set it as the Account Activity webhook URL.

Direct Messages to your X account now arrive in this inbox.

How it works

When someone sends a Direct Message to your connected X account, it shows up as a new conversation in Deskwoot. Your team can reply, assign the conversation to agents, add internal notes and use every other inbox feature, as on any other channel.

Troubleshooting

  • No messages arrive: check that the webhook URL from the inbox's row Webhook at X is set as the Account Activity webhook URL in the X Developer Portal, and that Your X user ID is the numeric ID of the account that receives the DMs.
  • Some messages are missing: only Direct Messages come in. Public mentions and replies are not pulled into the inbox.
  • Disconnected account: X may revoke your app's access when you change your password or the app's permissions on X. Generate new keys and tokens in the X Developer Portal, then paste them under Credentials in the inbox (Only on X).

Tips

  • Allow DMs from everyone. In your X settings, allow Direct Messages from all users, not just followers, so customers can reach you without following you first.
  • Use assignment. Set up team assignment or round robin in Deskwoot so X DMs reach the right agents quickly.
  • Keep replies short. DMs allow longer text than tweets, but customers on X usually expect quick, direct answers.

Frequently asked questions

Can I send a DM to someone who hasn't written to me?

No. The compose button in Deskwoot does not offer X, so you cannot start a new DM from Deskwoot. You reply to the DMs customers send you.

Does the bot reply to DMs on X?

Yes, once you switch it on. Fynn answers X DMs as on any other channel: he detects the language and replies from your knowledge sources.

Under his first reply in a conversation, customers see a line such as "Fynn, the AI assistant of Acme". Useful outside your working hours, when DMs would otherwise wait.

What about media in DMs?

The text of incoming DMs shows up in the conversation. Images and videos in a DM are not shown; a DM that only contains media appears as a short placeholder.

Files you attach to a reply are sent as a download link in the DM text, valid for 7 days.

Can I connect multiple X accounts?

Yes. Each X account becomes a separate inbox. Useful for companies with several brands and one X account per brand.

What happens if I delete the X inbox?

Existing conversations stay in Deskwoot for reference, but no new Direct Messages arrive. You can connect the account again at any time as a new inbox.

Can I see DM analytics in Reports?

Yes. In Reports, click + Filter, pick Inbox and choose your X inbox. The board then counts only the conversations of that inbox. See Reports: answers and the numbers behind them.

Was this guide helpful?

Keep reading

Still need help?

Fynn answers from these guides in the chat, and you can reach the team there too.