cURL
curl --request POST \ --url https://api.example.com/v1/customers/{customer_id}/tasks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "category": "sign", "description": "<string>", "weight": 0.5, "is_urgent": false, "objects": [ { "type": "document", "content": "<string>" } ], "assignees": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "metadata": {} } '
{ "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": {} } }
Create a new task
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
sign
approve
update
delete
0 <= x <= 1
Show child attributes
Task created successfully
pending
in_progress
completed
canceled
declined