Jagel.Co
  1. Template
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. Template

List Template

GET
https://dashboard.jagel.co/api/v1/templates

Request

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

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 --request GET 'https://dashboard.jagel.co/api/v1/templates?page=1&name=search by name' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "Request is processed successfully",
    "errors": [],
    "data": {
        "current_page": 1,
        "data": [
            {
                "unique_id": "5335092419777963ef9660546.60061518",
                "name": "template_1",
                "template_id": "916258730517464",
                "language": "id",
                "status": "APPROVED",
                "category": "UTILITY",
                "quality": null
            },
            {
                "unique_id": "5335092419788963ef95f6bf1.27037665",
                "name": "template_2",
                "template_id": "412536308464367",
                "language": "id",
                "status": "APPROVED",
                "category": "MARKETING",
                "quality": null
            }
        ],
        "first_page_url": "https://dashboard.jagel.co/api/v1/templates?page=1",
        "from": 1,
        "last_page": 13,
        "last_page_url": "https://dashboard.jagel.co/api/v1/templates?page=13",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "https://dashboard.jagel.co/api/v1/templates?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://dashboard.jagel.co/api/v1/templates?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://dashboard.jagel.co/api/v1/templates?page=2",
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": "https://dashboard.jagel.co/api/v1/templates?page=2",
        "path": "https://dashboard.jagel.co/api/v1/templates",
        "per_page": 25,
        "prev_page_url": null,
        "to": 25,
        "total": 308
    }
}
🟠401Unauthorized
🟠404Not Found
🟠422Parameter Error
Modified at 2024-07-23 04:33:30
Previous
Send Template
Next
Template Content
Built with