Logo
Accusoft API Documentation

2) Start an Image Editor Process

POST {{imagegear_base_url}}/api/v1/imageEditors

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accusoft-Affinity-Token
string




RESPONSES

status OK

{ "processId": "8iTUqC1uE8YrHpa9o36c5A", "state": "processing", "expirationDateTime": "2023-02-08T15:50:35.404Z", "input": { "source": { "fileId": "1dPOWLExCgHWU2nLor-J5w" }, "operations": [ { "type": "crop", "top": 0, "left": 0, "width": 200, "height": 200 } ] } }



Curl
curl -X POST 'imagegear_base_url/api/v1/imageEditors' -H 'Content-Type: application/json' -H 'Accusoft-Affinity-Token: ' -d '{"input":{"source":{"fileId":""},"operations":[{"type":"crop","top":0,"left":0,"width":200,"height":200}]},"minSecondsAvailable":60}'

ENDPOINTS