Home / Docs / API reference / Create jobs
POST /v1/jobs

Create jobs

Create a new jobs; returns the full object with defaults applied.

Request

curl -X POST https://api.restorephotos.us.ci/v1/jobs \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json"

Response

{
  "object": "jobs",
  "id": "obj_2X9fQ",
  "status": "succeeded",
  "created": 1788123456
}

Errors

CodeMeaning
400Invalid parameters — see the error's details.
401Missing or invalid API key.
429Rate limit hit — back off and retry with jitter.