Automation & Connectors
How to use the API connector for custom tweet automation
The API connector provides a webhook endpoint that accepts POST requests with custom data. When your system sends data to the webhook, OpenTweet generates and schedules a tweet based on the payload. This is the most flexible connector — it works with any data source.
Setting up an API connector
- Go to Connectors and create a new "API" connector.
- Configure a tweet template with variables like
{title},{message},{url}. - OpenTweet generates a unique webhook URL for this connector.
- Send POST requests to this URL from your application, Zapier, Make, n8n, or any automation tool.
Webhook payload
Send a JSON POST request with the fields matching your template variables. OpenTweet substitutes the variables and creates a tweet.
Use cases
- E-commerce — Tweet about new products when they're added to your store.
- Monitoring — Share uptime achievements or incident resolutions.
- Custom events — Trigger tweets from form submissions, signups, or any business event.
- Zapier/Make/n8n integration — Use the webhook as an action step in any automation platform.