Skip to main content
The Twitter/X endpoints give you two capabilities: listing your active Twitter/X connections and publishing text tweets to any of those connected accounts. Use the connections endpoint to discover available account IDs, then pass the relevant connectionId to the publish endpoint to send a tweet. All requests authenticate with your Dohoo API key.

List Twitter/X connections

Retrieve all active Twitter/X account connections linked to your Dohoo workspace.

Endpoint

Request headers

Example request

Example response


Publish a tweet

Post a text tweet to a connected Twitter/X account.

Endpoint

Request headers

Request body

Example request

Example response

The current Twitter/X API integration supports text-only tweets. Media attachments (images, videos, GIFs) are not yet supported but are coming in a future release.
Twitter/X enforces a 280-character limit on tweet text. Requests exceeding this limit will be rejected with a 400 Bad Request response. Count characters in your application before calling this endpoint.
Use the GET /api/v2/twitter/connections endpoint to programmatically discover all your connected Twitter/X accounts and retrieve their connectionId values rather than hardcoding them.