🚀 Our new and improved config V3 is now live! See API reference for details.
import requests
url = "https://platform.reducto.ai/edit_async"
payload = {
"document_url": "<string>",
"edit_instructions": "<string>",
"edit_options": {
"color": "#FF0000",
"enable_overflow_pages": False
},
"form_schema": [
{
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
},
"description": "<string>",
"type": "text",
"fill": True,
"value": "<string>"
}
],
"priority": False,
"webhook": {
"mode": "disabled",
"channels": []
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json()){
"job_id": "<string>"
}import requests
url = "https://platform.reducto.ai/edit_async"
payload = {
"document_url": "<string>",
"edit_instructions": "<string>",
"edit_options": {
"color": "#FF0000",
"enable_overflow_pages": False
},
"form_schema": [
{
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
},
"description": "<string>",
"type": "text",
"fill": True,
"value": "<string>"
}
],
"priority": False,
"webhook": {
"mode": "disabled",
"channels": []
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json()){
"job_id": "<string>"
}Show child attributes
text, checkbox, dropdown, barcode Was this page helpful?