POST
/
edit_async
import requests

url = "https://platform.reducto.ai/edit_async"

payload = {
    "document_url": "<string>",
    "edit_instructions": "<string>",
    "snippets": [],
    "edit_options": {"color": "#FF0000"},
    "priority": False,
    "webhook": {
        "mode": "disabled",
        "channels": []
    }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)
{
  "job_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.