Jagel.Co
  1. Create Batch List
Jagel.Co
  • Jagel.Co
  • Send Broadcast Direct
    • Send Template
      POST
  • Template
    • List Template
      GET
    • Template Content
      GET
  • Create Batch
    • Create Batch
      POST
  • Create Batch List
    • Create Batch List
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Create Batch List

Create Batch List

POST
https://dashboard.jagel.co/api/v1/batch/{{batch_unique_id}}/lists

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
  "lists": [
    { "name": "customer_1", "phone": "081234567XXX" },
    { "name": "customer_2", "phone": "081234567XXX" }
  ]
}

Request Code 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 -g --request POST 'https://dashboard.jagel.co/api/v1/batch/{{batch_unique_id}}/lists' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "lists": [
    { "name": "customer_1", "phone": "081234567XXX" },
    { "name": "customer_2", "phone": "081234567XXX" }
  ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "BatchList is successfully created",
    "errors": [],
    "data": {
        "batch_unique_id": "XXXXX9253367a089b0c242d7.441XXXXX"
    }
}
Modified at 2025-02-03 09:46:32
Previous
Create Batch
Next
Pet
Built with