Skip to main content
POST
/
v1
/
customers
/
{customer_id}
/
tasks
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "<string>",
  "category": "sign",
  "description": "<string>",
  "is_urgent": true,
  "status": "pending",
  "weight": 123,
  "performed_weight": 123,
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assignees": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "pending",
      "weight": 123,
      "task_completed": true,
      "assigned_at": "2023-11-07T05:31:56Z"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": {
    "logs": [
      {}
    ],
    "actions": {}
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

customer_id
string<uuid>
required

Body

application/json
title
string
required
category
enum<string>
required
Available options:
sign,
approve,
update,
delete
description
string
required
weight
number
required
Required range: 0 <= x <= 1
is_urgent
boolean
default:false
objects
object[]
assignees
string<uuid>[]
metadata
object

Response

Task created successfully

id
string<uuid>
title
string
category
enum<string>
Available options:
sign,
approve,
update,
delete
description
string
is_urgent
boolean
status
enum<string>
Available options:
pending,
in_progress,
completed,
canceled,
declined
weight
number
performed_weight
number
customer_id
string<uuid>
assignees
object[]
created_at
string<date-time>
created_by
string<uuid>
metadata
object