Skip to main content
Create a custom task
curl --request POST \
  --url https://{tenant_name}.{region}.techwolf.ai/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "task_name": "Review quarterly performance reports for direct reports"
}
'
{
  "task_id": "ba418404-3df1-cb19-a73c-1fb9351846d5",
  "task_name": "Review quarterly performance reports for direct reports"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
task_name
string
required

The composed task name. Must satisfy the same structural heuristics enforced by POST /tasks/validate (length 15–320, ≥3 words, ≤30% non-letter characters).

Required string length: 15 - 320
Example:

"Review quarterly performance reports for direct reports"

Response

Created

task_id
string
required

Identifier of the Task.

Example:

"ba418404-3df1-cb19-a73c-1fb9351846d5"

task_name
string
required

The stored task name.

Example:

"Review quarterly performance reports for direct reports"