ChakraHQ APIs
HomeSign In
HomeSign In
  1. Process
  • 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
        GET
      • List Processes
        POST
      • Create Process
        POST
      • Update Process
        PUT
      • Update Process By Primary Key
        PUT
      • Delete Process
        DELETE
      • Delete Process By Primary Key Value
        DELETE
      • Bulk Create Process API
        POST
      • Bulk Update Process API
        PATCH
    • Task
      • Create Task API
    • 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. Process

Update Process

PUT
https://api.chakrahq.com/v1/ext/procedure/{procedureShortId}/process/{processId}
This API allow you to update a single process. A process can be updated basis its chakra process id.

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 short if of the procedure to which this process belongs
Example:
lead
processId
string 
required
The internal process id of the process
Example:
3396ea03-cc82-4a52-967b-dc2a94b50f12
Body Params application/json
data
object 
optional
should be an object. keys should be attribute short ids. value should denote the update value for the provided attribute
firstname
string 
optional
lastname
string 
optional
score
integer 
optional
status
string 
optional
the updated status of the process - can be one of OPEN, COMPLETED or CANCELLED.
state
string 
optional
the updated state - the list of possible states depends on the procedure to which this process belongs
nextActionAt
integer 
optional
accepts a unix epoch timestamp in milliseconds. This value updates the nextActionAt field of a process
Example
{
  "data": {
    "firstname": "Ted",
    "lastname": "Mosby",
    "score": 5
  },
  "status": "COMPLETED",
  "state": "CONVERTED",
  "nextActionAt": 1618558867539
}

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 PUT 'https://api.chakrahq.com/v1/ext/procedure/lead/process/3396ea03-cc82-4a52-967b-dc2a94b50f12' \
--header 'Content-Type: application/json' \
--data-raw '{
  "data": {
    "firstname": "Ted",
    "lastname": "Mosby",
    "score": 5
  },
  "status": "COMPLETED",
  "state": "CONVERTED",
  "nextActionAt": 1618558867539
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Create Process
Next
Update Process By Primary Key
Built with