API
API Documentation
Integrate Marq AI directly into your workflow with our REST API.
Authentication
All API requests require a Bearer token. Get your API key from the dashboard settings.
Authorization: Bearer sk_live_your_api_key_here
Endpoints
POST
/api/v1/ads/generateGenerate ad copy variationsPOST
/api/v1/social/generateGenerate social media postsPOST
/api/v1/email/generateGenerate email sequencesPOST
/api/v1/brand/scanScan website for Brand DNAGET
/api/v1/creditsCheck remaining creditsExample Request
curl -X POST https://api.trymarq.com/v1/ads/generate \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"platform": "Meta/Facebook",
"goal": "Sales/Conversions",
"description": "AI marketing tool",
"targetAudience": "Startup founders",
"tone": "Professional",
"variations": 3
}'
API access is available on Pro and Enterprise plans.
Get Started