API Documentation

Build with the AI Marketing Platform REST API

Getting Started

Base URL:

https://api.aimarketing.com/v1

Authentication:

Authorization: Bearer YOUR_API_KEY
Endpoints
MethodEndpointDescription
GET/postsGet all posts
POST/postsCreate a post
GET/analyticsGet analytics data
GET/accountsGet social accounts
POST/ai/generateGenerate AI content
POST/scheduleSchedule a post
DELETE/posts/{id}Delete a post
Example Request
curl -X POST https://api.aimarketing.com/v1/posts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"Hello World!","platforms":["facebook","instagram"]}'