Skip to content

REST API documentation for TendSocial - AI-powered social media content platform.

  • 🔗 Interactive API Explorer - Try endpoints directly in your browser
  • Base URL: https://api.tendsocial.com (Production) or http://localhost:5000 (Development)
  • Authentication: JWT-based auth via Supabase
  • API Version: v1 (current)

📖 Reference Documentation

Endpoint Categories

Public Endpoints (/api/public/*)

  • Package/pricing information
  • OAuth callbacks
  • Public resources (no auth required)

Platform Admin (/api/platform/*)

  • System settings and configuration
  • User and company management
  • Analytics and reporting
  • Feature flags

Company/Tenant (/api/company/*)

  • Company-scoped resources
  • Posts, campaigns, assets
  • Analytics connections
  • Team management

User (/api/user/*)

  • User profile
  • Social account connections
  • Personal settings

📚 Integration Guides

🔍 Feature-Specific References

🛠️ Development

Authentication

All protected endpoints require a JWT token in the Authorization header:

Authorization: Bearer <your_jwt_token>

Rate Limiting

  • Authenticated requests: 100 requests per minute per user
  • Public endpoints: 20 requests per minute per IP

Response Format

All responses use JSON with consistent error handling:

json
{
  "success": true,
  "data": { /* response data */ }
}

Error Responses

json
{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message"
  }
}

TendSocial Documentation