Build with the AI Marketing Platform REST API
Base URL:
https://api.aimarketing.com/v1
Authentication:
Authorization: Bearer YOUR_API_KEY
| Method | Endpoint | Description |
|---|---|---|
| GET | /posts | Get all posts |
| POST | /posts | Create a post |
| GET | /analytics | Get analytics data |
| GET | /accounts | Get social accounts |
| POST | /ai/generate | Generate AI content |
| POST | /schedule | Schedule a post |
| DELETE | /posts/{id} | Delete a post |
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"]}'