API Documentation
Integrate Twixium.ai's powerful AI social media automation into your applications with our RESTful API.
RESTful API
Simple, HTTP-based API with JSON responses that's easy to integrate with any programming language.
AI-Powered
Access our advanced AI content generation, optimization, and analytics capabilities programmatically.
Reliable
Enterprise-grade reliability with 99.9% uptime SLA and comprehensive error handling.
Getting Started
To get started with the Twixium.ai API, you'll need an API key. You can generate one from your dashboard:
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.twixium.ai/v1/content/generate"Endpoints
POST/v1/content/generate
Generate AI-powered social media content based on your prompts and brand guidelines.
POST/v1/posts/schedule
Schedule posts across multiple social media platforms with optimal timing.
GET/v1/analytics/insights
Retrieve detailed analytics and performance insights for your social media content.
POST/v1/images/generate
Generate custom images and graphics using AI for your social media posts.
Authentication
All API requests must include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYKeep your API key secure and never expose it in client-side code.
Rate Limits
To ensure fair usage and maintain service quality, we implement the following rate limits:
- Free Plan: 100 requests per hour
- Pro Plan: 1,000 requests per hour
- Enterprise Plan: 10,000 requests per hour
Rate limit headers are included in all responses to help you track your usage.
SDKs and Libraries
We provide official SDKs for popular programming languages:
JavaScript/Node.js
npm install @twixium/api-clientPython
pip install twixium-apiPHP
composer require twixium/api-clientRuby
gem install twixium_apiSupport
Need help with the API? Our developer support team is here to help:
- Email: developers@twixium.ai
- Discord: Join our developer community
- GitHub: Report issues and contribute