Skip to main content
POST
/
v1
/
tasks
Create task
curl --request POST \
  --url https://api.clientcommander.com/v1/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Follow up on property showing",
  "description": "Call to discuss feedback",
  "dueDate": "2023-11-20T14:00:00Z",
  "priority": "high",
  "personId": "jd79abc123"
}
'
{
  "meta": {
    "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timestamp": "2023-11-07T05:31:56Z",
    "version": "1.0.0"
  },
  "data": {
    "id": "<string>",
    "title": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "dueDate": "2023-11-07T05:31:56Z",
    "priority": "medium",
    "completedAt": "2023-11-07T05:31:56Z",
    "personId": "<string>",
    "assignedTo": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.clientcommander.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for authentication using Bearer token scheme.

How to get your API key:

  1. Log into Client Commander
  2. Go to Admin > API Keys
  3. Click Create API Key
  4. Copy the key and use it in the Authorization header:
Authorization: Bearer ccmd_live_your_key_here

Body

application/json
title
string
required
Required string length: 1 - 200
description
string
Maximum string length: 5000
dueDate
string<date-time>
priority
enum<string>
default:medium
Available options:
low,
medium,
high
personId
string
assignedTo
string

Response

Task created successfully

meta
object
required
data
object