# 1. Send file for conversion
curl -X POST https://api.convertflow.com/v2/convert \
-H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@report.pdf" \
-F "to_format=xlsx" \
-F "callback_url=https://yourdomain.com/webhook"
# 2. Receive task_id: {"task_id":"abc123","status":"pending"}
# 3. After completion POST to your webhook:
{
"task_id": "abc123",
"status": "done",
"result_url": "https://cdn.convertflow.com/result/report.xlsx"
}