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

Bulk Create Process API

Developing
POST
https://api.chakrahq.com/v1/ext/procedure/{procedureShortId}/process/bulk-create
This API allows you to create multiple processes in a single API call. This API is asynchronous - meaning the request is accepted and an acknowledgment is returned while the creates are carried out in the background. Use this API when you have to update 1000s of processes in one go.

Request Body#

In the request body you need to pass a collection of process objects which are to be created. A single process object will be same as for the Create Process API.

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
Body Params application/json
array of:
lead_id
string 
optional
data
object 
optional
score
string 
optional
city
string 
optional
state
string 
optional
Example
[
	{
		"lead_id": "EXT-TEST-143",
		"data": {
			"score": "105"
		}
	},
	{
		"lead_id": "EXT-TEST-164",
		"data": {
			"city": "Goa"
		},
		"state": "IN_PROGRESS"
	}
]

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/procedure/lead/process/bulk-create' \
--header 'Content-Type: application/json' \
--data-raw '[
	{
		"lead_id": "EXT-TEST-143",
		"data": {
			"score": "105"
		}
	},
	{
		"lead_id": "EXT-TEST-164",
		"data": {
			"city": "Goa"
		},
		"state": "IN_PROGRESS"
	}
]'

Responses

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