Skip to main content
POST
/
edit_async
Edit Document (Async)
curl --request POST \
  --url https://platform.aifano.com/edit_async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "document_url": "<string>",
  "edit_instructions": "<string>",
  "async": {
    "priority": false,
    "webhook": {
      "mode": "svix",
      "url": "<string>"
    },
    "metadata": "<unknown>"
  }
}
'
{
  "job_id": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.

Body

application/json
document_url
string
required
edit_instructions
string
required
async
object

Response

Job created

job_id
string
required

Job ID for polling via GET /job/{job_id}.