{
    "info": {
        "name": "WbJet API",
        "description": "Ready-to-use Postman collection for WbJet API. Set your `api_token` variable once in Collection Variables and start testing.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "token",
                "value": "{{api_token}}",
                "type": "string"
            }
        ]
    },
    "variable": [
        {
            "key": "base_url",
            "value": "https://app.wbjet.com",
            "type": "string"
        },
        {
            "key": "api_token",
            "value": "YOUR_API_BEARER_TOKEN",
            "type": "string"
        }
    ],
    "item": [
        {
            "name": "Authentication",
            "item": [
                {
                    "name": "Verify API Key",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/verify",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "verify"
                            ]
                        },
                        "description": "Checks whether the provided Bearer API key is valid and the organization has an active subscription."
                    },
                    "response": []
                },
                {
                    "name": "Check Account, WhatsApp & Wallet Status",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/account/status",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "account",
                                "status"
                            ]
                        },
                        "description": "Returns organization details, WhatsApp Cloud API connection status, phone_number_id, waba_id, subscription status, and wallet balance."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Messages",
            "item": [
                {
                    "name": "Send Text / Interactive Message",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/send",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "send"
                            ]
                        },
                        "description": "Sends a WhatsApp text message or interactive reply-button message. Automatically creates a contact if the phone number does not exist yet.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"phone\": \"+919876543210\",\n    \"message\": \"Hello John, how are you?\",\n    \"header\": \"Support Update\",\n    \"footer\": \"Reply below\",\n    \"buttons\": [\n        {\n            \"id\": \"btn_1\",\n            \"title\": \"Fine\"\n        },\n        {\n            \"id\": \"btn_2\",\n            \"title\": \"Need Help\"\n        }\n    ]\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Send Media Message",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/send/media",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "send",
                                "media"
                            ]
                        },
                        "description": "Sends an image, video, audio, or document via WhatsApp using a public media URL. Auto-creates the contact if needed.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"phone\": \"+919876543210\",\n    \"media_type\": \"image\",\n    \"media_url\": \"https://images.pexels.com/photos/276267/pexels-photo-276267.jpeg\",\n    \"caption\": \"Order receipt image\",\n    \"file_name\": \"receipt.jpg\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Send Template Message",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/send/template",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "send",
                                "template"
                            ]
                        },
                        "description": "Sends a Meta-approved WhatsApp template message with optional header, body, and button variables.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"phone\": \"+919876543210\",\n    \"template\": {\n        \"name\": \"hello_world\",\n        \"language\": {\n            \"code\": \"en_US\"\n        },\n        \"components\": [\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"John\"\n                    }\n                ]\n            }\n        ]\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Contacts",
            "item": [
                {
                    "name": "Get Contact List (with Search & Group Filter)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contacts",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contacts"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "",
                                    "description": "Search by first name, last name, phone, or email",
                                    "disabled": true
                                },
                                {
                                    "key": "group_uuid",
                                    "value": "",
                                    "description": "Filter contacts belonging to a Contact Group UUID",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns paginated contacts for the organization. Supports searching by name, phone, or email and filtering by group UUID."
                    },
                    "response": []
                },
                {
                    "name": "Get Single Contact Details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contacts/{identifier}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contacts",
                                ":identifier"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Fetches full profile, groups, labels, ticket status, AI toggle state, and unread count using Contact UUID or phone number."
                    },
                    "response": []
                },
                {
                    "name": "Add Contact",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contacts",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contacts"
                            ]
                        },
                        "description": "Creates a new contact in your organization.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"johndoe@gmail.com\",\n    \"phone\": \"+919876543210\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Edit Contact",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contacts/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contacts",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the contact"
                                }
                            ]
                        },
                        "description": "Updates an existing contact by UUID.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe Updated\",\n    \"email\": \"johndoe@gmail.com\",\n    \"phone\": \"+919876543210\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Delete Contact",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contacts/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contacts",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the contact"
                                }
                            ]
                        },
                        "description": "Soft-deletes a contact by UUID."
                    },
                    "response": []
                },
                {
                    "name": "Assign / Sync Contact Labels",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contacts/{identifier}/labels",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contacts",
                                ":identifier",
                                "labels"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Assigns, syncs, or detaches CRM labels/tags on a contact (by Contact UUID or phone number).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"label_uuids\": [\n        \"label-uuid-1\"\n    ],\n    \"mode\": \"attach\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "CRM Labels",
            "item": [
                {
                    "name": "List CRM Labels",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/labels",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "labels"
                            ]
                        },
                        "description": "Returns all labels/tags configured in the organization."
                    },
                    "response": []
                },
                {
                    "name": "Create CRM Label",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/labels",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "labels"
                            ]
                        },
                        "description": "Creates a new CRM label/tag.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"Hot Lead\",\n    \"color\": \"#16a34a\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Delete CRM Label",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/labels/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "labels",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the label"
                                }
                            ]
                        },
                        "description": "Deletes a label and detaches it from all contacts."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Contact Groups",
            "item": [
                {
                    "name": "Get Contact Group List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contact-groups",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contact-groups"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns paginated contact groups."
                    },
                    "response": []
                },
                {
                    "name": "Add Contact Group",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contact-groups",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contact-groups"
                            ]
                        },
                        "description": "Creates a new contact group.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"Lead VIP\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Edit Contact Group",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contact-groups/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contact-groups",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the contact group"
                                }
                            ]
                        },
                        "description": "Renames an existing contact group by UUID.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"Lead Priority\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Delete Contact Group",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/contact-groups/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "contact-groups",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the contact group"
                                }
                            ]
                        },
                        "description": "Deletes a contact group by UUID."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Automated Replies",
            "item": [
                {
                    "name": "Get Automated Replies List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/canned-replies",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "canned-replies"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns paginated automated (canned) replies."
                    },
                    "response": []
                },
                {
                    "name": "Add Automated Reply",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/canned-replies",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "canned-replies"
                            ]
                        },
                        "description": "Creates a keyword-triggered automated reply.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"About Us\",\n    \"trigger\": \"what do you do?\",\n    \"match_criteria\": \"contains\",\n    \"response_type\": \"text\",\n    \"response\": \"We provide WhatsApp automation solutions.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Edit Automated Reply",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/canned-replies/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "canned-replies",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the automated reply"
                                }
                            ]
                        },
                        "description": "Updates an automated reply by UUID.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"About Us\",\n    \"trigger\": \"what do you do?\",\n    \"match_criteria\": \"contains\",\n    \"response_type\": \"text\",\n    \"response\": \"We provide WhatsApp Business API & AI automation.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Delete Automated Reply",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/canned-replies/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "canned-replies",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the automated reply"
                                }
                            ]
                        },
                        "description": "Deletes an automated reply by UUID."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Templates",
            "item": [
                {
                    "name": "List Templates",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/templates",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "templates"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns paginated WhatsApp message templates."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Inbox & Delivery Status",
            "item": [
                {
                    "name": "List Inbox Conversations",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "",
                                    "description": "Search contacts by name, phone, or email",
                                    "disabled": true
                                },
                                {
                                    "key": "unread_only",
                                    "value": "",
                                    "description": "Set true or 1 to return only conversations with unread inbound messages",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns contacts with active chat history ordered by the most recent message, including unread count and last message preview."
                    },
                    "response": []
                },
                {
                    "name": "Read Inbox Chat Messages",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats/{identifier}/messages",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats",
                                ":identifier",
                                "messages"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID (e.g. 945d8b4f-...) or phone number (e.g. +919876543210)"
                                }
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "type",
                                    "value": "",
                                    "description": "Filter messages by direction",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "desc",
                                    "description": "Sort direction (desc = newest first, asc = oldest first)",
                                    "disabled": true
                                },
                                {
                                    "key": "mark_as_read",
                                    "value": "",
                                    "description": "Set true or 1 to mark all unread inbound messages as read",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Fetches all inbound and outbound messages for a conversation. Pass either the Contact UUID or phone number in `{identifier}`."
                    },
                    "response": []
                },
                {
                    "name": "Mark Inbox Chat as Read",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats/{identifier}/read",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats",
                                ":identifier",
                                "read"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Marks all unread inbound messages for the given Contact UUID or phone number as read."
                    },
                    "response": []
                },
                {
                    "name": "List Recent Messages (Filter by Status / Direction)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/messages",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "messages"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "type",
                                    "value": "",
                                    "description": "Filter by inbound or outbound",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "Filter by delivery status (e.g. sent, delivered, read, failed, accepted)",
                                    "disabled": true
                                },
                                {
                                    "key": "contact_uuid",
                                    "value": "",
                                    "description": "Filter by Contact UUID",
                                    "disabled": true
                                },
                                {
                                    "key": "phone",
                                    "value": "",
                                    "description": "Filter by phone number",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Lists recent inbound/outbound messages across your organization. Useful for polling new inbound replies (`type=inbound`) or failed deliveries (`status=failed`)."
                    },
                    "response": []
                },
                {
                    "name": "Check Message Delivery Status",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/messages/{identifier}/status",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "messages",
                                ":identifier",
                                "status"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS...",
                                    "description": "Chat UUID or WhatsApp Message ID (`wamid...`)"
                                }
                            ]
                        },
                        "description": "Returns the current delivery status (`sent`, `delivered`, `read`, `failed`), any WhatsApp failure reason, and full status transition history. Pass either the message `uuid` or WhatsApp `wam_id` returned when sending."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Inbox CRM Controls",
            "item": [
                {
                    "name": "List Internal Chat Notes",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats/{identifier}/notes",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats",
                                ":identifier",
                                "notes"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Fetches internal team notes added to a contact conversation."
                    },
                    "response": []
                },
                {
                    "name": "Add Internal Chat Note",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats/{identifier}/notes",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats",
                                ":identifier",
                                "notes"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Adds an internal CRM note on a contact timeline (not sent to WhatsApp user).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"notes\": \"Customer requested callback after 5 PM IST.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Toggle AI Assistant for Contact",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats/{identifier}/ai",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats",
                                ":identifier",
                                "ai"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Enables or disables automatic IntelliReply AI responses for a specific contact (useful for human agent handover).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"enabled\": false\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Update Ticket Status / Assign Agent",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/chats/{identifier}/ticket",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "chats",
                                ":identifier",
                                "ticket"
                            ],
                            "variable": [
                                {
                                    "key": "identifier",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "Contact UUID or phone number"
                                }
                            ]
                        },
                        "description": "Marks a conversation ticket as `open` or `closed` and/or assigns it to a team agent (`user_id` from `GET /api/team`).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"status\": \"open\",\n    \"assigned_to_user_id\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "List Team Agents",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/team",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "team"
                            ]
                        },
                        "description": "Lists all team members in your organization along with their `user_id` and role for ticket assignment."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Campaigns",
            "item": [
                {
                    "name": "List Campaigns & Stats",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/campaigns",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "campaigns"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns paginated WhatsApp campaigns with sent, delivered, read, failed, clicked, skipped, and replied statistics."
                    },
                    "response": []
                },
                {
                    "name": "Create / Schedule Campaign",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/campaigns",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "campaigns"
                            ]
                        },
                        "description": "Creates and launches (or schedules) a bulk WhatsApp template campaign to all contacts, a specific group UUID, or comma-separated phone numbers.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"Diwali Offer Broadcast\",\n    \"template_uuid\": \"template-uuid-here\",\n    \"contacts\": \"comma\",\n    \"bulk_number\": \"+919876543210,+919811112222\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Single Campaign Stats",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/campaigns/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "campaigns",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the campaign"
                                }
                            ]
                        },
                        "description": "Returns summary statistics and delivery/reply metrics for a specific campaign."
                    },
                    "response": []
                },
                {
                    "name": "Get Campaign Logs & Replies",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/campaigns/{uuid}/logs",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "campaigns",
                                ":uuid",
                                "logs"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the campaign"
                                }
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "all",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Returns recipient-by-recipient delivery status, reply indicator (`has_replied`), and latest reply text. Filter by `status=replied` to get everyone who replied."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Webhooks",
            "item": [
                {
                    "name": "List Configured Webhooks",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/webhooks",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhooks"
                            ]
                        },
                        "description": "Lists all registered webhook URLs and their subscribed events along with all supported event names."
                    },
                    "response": []
                },
                {
                    "name": "Register Webhook URL",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/webhooks",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhooks"
                            ]
                        },
                        "description": "Registers a webhook callback URL for real-time events such as `message.received`, `message.sent`, and `message.status.update`.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"url\": \"https://your-crm.example.com/webhooks/wbjet\",\n    \"events\": [\n        \"message.received\",\n        \"message.status.update\"\n    ]\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Delete Webhook",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/webhooks/{uuid}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "webhooks",
                                ":uuid"
                            ],
                            "variable": [
                                {
                                    "key": "uuid",
                                    "value": "945d8b4f-a580-4743-bdfa-f0095059b37a",
                                    "description": "UUID of the webhook"
                                }
                            ]
                        },
                        "description": "Removes a registered webhook subscription by UUID."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Flows & Leads",
            "item": [
                {
                    "name": "List Automation Flows",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/flows",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "flows"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Lists FlowBuilder automation flows and execution counts."
                    },
                    "response": []
                },
                {
                    "name": "List WhatsApp Flow Form Submissions",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/api/flow-submissions",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "flow-submissions"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number (minimum 1)",
                                    "disabled": true
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "Records per page (1 to 100)",
                                    "disabled": true
                                },
                                {
                                    "key": "flow_id",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "form_name",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Retrieves submitted WhatsApp Flow form responses and associated contact details."
                    },
                    "response": []
                }
            ]
        }
    ]
}