ChakraHQ APIs
HomeSign In
HomeSign In
  1. Background Job
  • 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
    • 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
        GET
      • Fetch Background Job Entries API
        GET
    • Fetch Config
      GET
  1. Background Job

Fetch Background Job Entries API

GET
https://api.chakrahq.com/v1/ext/background-job/{backgroundJobId}/entries
If you want to get the status of the individual entries supplied to the background job you can do so with this api

Response#

_data field returns an array of background job entries
_meta returns meta information like total entries and the path for the next page of data

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
backgroundJobId
string 
required
The id of the background job - should be a uuid
Example:
006af7f9-d5fb-4d1a-8b31-ac6f3a3a1dfc
Query Params
completionStatus
string 
optional
you can filter by completion status. accepted values - INVALID, NOT_STARTED, IN_PROGRESS, SUCCESS, ERROR, CANCELLED
Example:
SUCCESS
limit
integer 
optional
number of entries to return. default and max is 100
Example:
10
skip
integer 
optional
number of entries to skip
Example:
2000

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 GET 'https://api.chakrahq.com/v1/ext/background-job/006af7f9-d5fb-4d1a-8b31-ac6f3a3a1dfc/entries?completionStatus=SUCCESS&limit=10&skip=2000'

Responses

🟢200Success
application/json
Body
_data
array [object {13}] 
required
id
string 
required
createdAt
integer 
required
updatedAt
integer 
required
data
object 
required
validationStatus
string 
required
validationMessage
string 
required
validationResult
null 
required
completionStatus
string 
required
completionMessage
string 
required
completionResult
null 
required
team
string 
required
backgroundJob
string 
required
createdBy
string 
required
_meta
object 
required
total
integer 
required
next
string 
required
Example
{
  "_data": [
    {
      "id": "e9bc853c-0af7-414c-bc7b-ccc7a40aa510",
      "createdAt": 1617966536310,
      "updatedAt": 1617966539528,
      "data": {
        "apiData": {
          "processId": "1e50dd73-9ce6-405b-932a-9c4c5e7b5599",
          "procedureId": "f3eb37a9-b54e-4088-bc5f-948d37f8aa62",
          "processUpdate": {
            "data": {
              "lead_id": "100"
            }
          }
        },
        "apiType": "process:ext-update"
      },
      "validationStatus": "SUCCESS",
      "validationMessage": "",
      "validationResult": null,
      "completionStatus": "SUCCESS",
      "completionMessage": "",
      "completionResult": null,
      "team": "d3e64510-b75a-43a0-8ae5-dde78dac56c0",
      "backgroundJob": "19632427-908f-4bf3-a6f5-69b9a0bbfc63",
      "createdBy": "5acc9b3b-9850-422b-81ce-22b01cb74356"
    },
    {
      "id": "8bbaa9b5-14d9-4594-b68f-053e362ff5b3",
      "createdAt": 1617966536310,
      "updatedAt": 1617966537260,
      "data": {
        "apiData": {
          "processId": "1e50dd73-9ce6-405b-932a-9c4c5e7b5599",
          "procedureId": "f3eb37a9-b54e-4088-bc5f-948d37f8aa62",
          "processUpdate": {
            "data": {
              "lead_id": "100"
            }
          }
        },
        "apiType": "process:ext-update"
      },
      "validationStatus": "SUCCESS",
      "validationMessage": "",
      "validationResult": null,
      "completionStatus": "ERROR",
      "completionMessage": "",
      "completionResult": null,
      "team": "d3e64510-b75a-43a0-8ae5-dde78dac56c0",
      "backgroundJob": "19632427-908f-4bf3-a6f5-69b9a0bbfc63",
      "createdBy": "5acc9b3b-9850-422b-81ce-22b01cb74356"
    }
  ],
  "_meta": {
    "total": 770,
    "next": "/v1/ext/background-job/19632427-908f-4bf3-a6f5-69b9a0bbfc63/entries?skip=2limit=2"
  }
}
Previous
Fetch Background Job
Next
Fetch Config
Built with