๐Create a Briefing Document from a PDF Upload
Option A: Base64 PDF Payload
curl -X POST "https://api.autocontentapi.com/content/Create" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"outputType": "briefing_doc",
"format": "pdf",
"resources": [
{
"type": "pdf",
"content": "BASE64_ENCODED_PDF"
}
],
"text": "Extract the executive summary, highlight three supporting data points, and end with recommended actions."
}'Option B: Uploaded File ID
Try it in code
Last updated