POST
/
image
/
task
/
create
Create a new task
curl --request POST \
  --url https://whilter-api-host/image/task/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "campaign-id": "<string>",
  "template-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "file-name": "<string>",
  "file-path": "<string>",
  "row-count": 2,
  "expected-output-duration": 2,
  "priority": 123
}'
{
  "client-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "campaign-id": "<string>",
  "template-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json

Task created successfully

The response is of type object.