API Keys
Secure authentication with rotating API keys and OAuth 2.0 support.
Rate Limiting
Intelligent rate limiting with generous quotas for all plan tiers.
SDKs
SDK support is on our roadmap. In the meantime, the REST API works with any HTTP client.
Webhooks
Receive real-time POST notifications to any URL you configure. Supported events: post.published, campaign.completed, analytics.report_ready.
API Endpoints
Explore our RESTful API endpoints organized by functionality
Authentication
/api/auth/loginAuthenticate user and receive access token
/api/auth/registerCreate a new user account
/api/auth/refreshRefresh access token
/api/auth/logoutInvalidate current session
Content Generation
/api/ai-content/generateGenerate AI-powered social media content
/api/ai-content/optimizeOptimize existing content for engagement
/api/ai-content/translateTranslate content to target language
/api/ai-content/hashtagsGenerate relevant hashtags
Scheduling
/api/postsList all scheduled posts
/api/postsCreate and schedule a new post
/api/posts/:idUpdate a scheduled post
/api/posts/:idDelete a scheduled post
Analytics
/api/analytics/overviewGet engagement overview metrics
/api/analytics/posts/:idGet analytics for a specific post
/api/analytics/audienceGet audience demographics data
/api/analytics/trendsGet trending topics and patterns
Quick Start
Get started with the Synthex API in minutes
// Generate AI-powered content
const response = await fetch('https://api.synthex.social/ai-content/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
prompt: 'Launch announcement for new feature',
platform: 'twitter',
tone: 'professional',
includeHashtags: true,
}),
});
const { content, hashtags } = await response.json();
console.log(content);
// "We're thrilled to announce our latest feature! 🚀 ..."