Skip to main content

ComplyAI API (complyai-api)

Type: Core API
Stack: Python, Flask, Postgres, Celery

The complyai-api is the central core API for gocomply.ai. It handles the primary business logic, database interactions, and asynchronous task management.

Key Features

  • Ad Spend Tracking: Manages SpendClientAdAccounts.
  • Facebook Integration: Handles Facebook Webhooks for ad status and changes.
  • Reporting: Generates performance and compliance reports.
  • Async Tasks: Uses Celery for background processing (e.g., syncing, notifications).

Setup & Running

  • Dependencies: Managed via requirements.txt.
  • Run Command: flask run (typically on port 5001).