๐Create a Briefing Document
Step 1: Create the Document Request
curl -X POST "https://api.autocontentapi.com/content/Create" \
-H "accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"outputType": "briefing_doc",
"format": "pdf",
"resources": [
{
"type": "website",
"content": "https://example.com/enterprise-ai-market-update"
}
],
"text": "Create an executive briefing for B2B SaaS leaders. Include market shifts, key risks, and recommended actions.",
"language": "en"
}'Example Response
Step 2: Poll for Status
While Processing
Status Values
Step 3: Read the Result from /content/Status/{id}
/content/Status/{id}Completed PDF Result
Completed HTML or Text Result
Step 4: Use the Documents API
List Documents
Fetch One Document
Download the Stored Asset
Supported Source Types
Type
Description
Example
Format Options
Format
Behavior
Best for
Tips for Better Results
Error Handling
What's Next?
Last updated