illu Help Desk

βœ…Update Job Status on Approval

Set job status to "closed" when job is approved

Example code below, note status_id of 3 for the example org is the id for closed but will be different if your org has customized job statuses:

curl -X 'PUT' https://api.illu.works/orgs/{org_id}/jobs/{job_id} \
  -H 'Authorization: Bearer {API_KEY}' \
  --json '{"status_id": 3}'

Last updated