Populate fields inside a DOCX template using SuperDoc annotations. Supports text, images, dates, and numbers. Can target individual fields by ID or multiple fields by group.
curl -X POST "https://api.case.dev/superdoc/v1/annotate" \
-H "Authorization: Bearer $CASEDEV_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document": {
"url": "<string>",
"base64": "<string>"
},
"fields": [
{
"type": "text",
"value": "<string>"
}
]
}'"<string>"Documentation Index
Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key starting with sk_case_
Annotated document
The response is of type file.
Was this page helpful?
curl -X POST "https://api.case.dev/superdoc/v1/annotate" \
-H "Authorization: Bearer $CASEDEV_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document": {
"url": "<string>",
"base64": "<string>"
},
"fields": [
{
"type": "text",
"value": "<string>"
}
]
}'"<string>"