ChakraHQ APIs
HomeSign In
HomeSign In
  1. Task
  • API Keys
  • Response Format
  • Whatsapp
    • Inbound Events Webhook
    • Pass Through APIs
      • Create WhatsApp Message Template (pass-through)
      • List WhatsApp Message Templates (pass-through)
      • Update WhatsApp Message Template (pass-through)
    • Send Whatsapp Template Message For Process
      POST
    • Send Whatsapp Template Message For A Phone Number
      POST
    • Upload Public Media
      POST
    • Whatsapp Messages API (pass-through)
      POST
  • Platform
    • Process
      • Fetch Process By Id
      • List Processes
      • Create Process
      • Update Process
      • Update Process By Primary Key
      • Delete Process
      • Delete Process By Primary Key Value
      • Bulk Create Process API
      • Bulk Update Process API
    • Task
      • Create Task API
        POST
    • User
      • List Users API
      • List Users API (V2)
      • Fetch User API
      • Fetch User API (V2)
      • Update User API
    • Photo
      • Fetch Photo API
      • Upload Photo API
      • Upload Photo API With Id
    • Background Job
      • Fetch Background Job
      • Fetch Background Job Entries API
    • Fetch Config
      GET
  1. Task

Create Task API

POST
https://api.chakrahq.com/v1/ext/p/{procedureShortId}/{processIdOrPrimaryKey}/task/{stateTaskShortId}
The following API allow you to creat a task for a process.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
procedureShortId
string 
required
The procedure shortId of the procedure of the process for which the task is to be created
Example:
lead
processIdOrPrimaryKey
string 
required
The process id or the primary key value
Example:
LEAD-000042
stateTaskShortId
string 
required
Task short id
Example:
call
Body Params application/json
data
object 
optional
pass the task data as an object. keys should be task attribute short ids
call_disposition
string 
optional
Sample task field
next_call_time
string 
optional
Sample task field
remarks
string 
optional
Sample task field
status
string 
optional
the status of the task - can be one of OPEN, COMPLETED or CANCELLED.
assignedTo
string 
optional
the username of the user to whom the task is assigne to
Example
{
  "data": {
    "call_disposition": "RNR",
    "next_call_time": "2023-11-15T09:30:00",
    "remarks": "Couldnt reach out to the customer"
  },
  "status": "COMPLETED",
  "assignedTo": "alex@paisapay.com"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.chakrahq.com/v1/ext/p/lead/LEAD-000042/task/call' \
--header 'Content-Type: application/json' \
--data-raw '{
  "data": {
    "call_disposition": "RNR",
    "next_call_time": "2023-11-15T09:30:00",
    "remarks": "Couldnt reach out to the customer"
  },
  "status": "COMPLETED",
  "assignedTo": "alex@paisapay.com"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-05-12 09:05:42
Previous
Bulk Update Process API
Next
List Users API
Built with