Python
import requests url = "https://platform.reducto.ai/edit" payload = { "document_url": "<string>", "edit_instructions": "<string>", "snippets": [], "edit_options": { "color": "#FF0000" }, "priority": True } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.json())
{ "document_url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object
Was this page helpful?