{
  "info": {
    "_postman_id": "096a4ab8-c720-5c5d-b209-a9416be94704",
    "name": "QuickAuth API",
    "description": "Every merchant endpoint of the QuickAuth API (OTP, SDK sessions, SMS, WhatsApp, leads).\n\n1. Import this collection and the \"QuickAuth — Production\" environment.\n2. In the environment set clientId and clientSecret (Dashboard → Settings → API credentials), and publishableKey for the SDK folder.\n3. Set phone to your own number. Every call is live and billed.\n4. Run \"Start here → Get your account\" to check your keys.\n\nIds returned by one request (requestId, templateId, messageId, campaignId, leadId) are saved automatically for the next.\n\nReference: https://quickauth.in/docs/api — Errors: https://quickauth.in/docs/errors",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Start here",
      "description": "Check your credentials work. Set clientId and clientSecret in the environment first.",
      "item": [
        {
          "name": "Get your account",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/account",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "account"
              ]
            },
            "description": "Returns the account your credentials belong to.\n\nDocs: https://quickauth.in/docs/api#account"
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/account",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "account"
                  ]
                },
                "description": "Returns the account your credentials belong to.\n\nDocs: https://quickauth.in/docs/api#account"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"clientId\": \"YOUR_CLIENT_ID\",\n  \"name\": \"Acme Retail Pvt Ltd\",\n  \"email\": \"dev@acme.in\",\n  \"status\": \"ACTIVE\",\n  \"billingType\": \"PREPAID\",\n  \"planType\": \"STANDARD\",\n  \"currency\": \"INR\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "OTP verification",
      "description": "Send and check a one-time code from your server. Send an OTP saves requestId for the next calls.",
      "item": [
        {
          "name": "Send an OTP",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/auth/initiate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "auth",
                "initiate"
              ]
            },
            "description": "Sends a code. A 200 means queued. Leave channel out to use your dashboard's primary channel.\n\nDocs: https://quickauth.in/docs/api/otp#initiate",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"identity\": \"{{phone}}\",\n  \"identityType\": \"MOBILE\",\n  \"mode\": \"OTP\",\n  \"orderId\": \"signup-1029\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.requestId != null) pm.collectionVariables.set(\"requestId\", String(body.requestId));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/auth/initiate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "auth",
                    "initiate"
                  ]
                },
                "description": "Sends a code. A 200 means queued. Leave channel out to use your dashboard's primary channel.\n\nDocs: https://quickauth.in/docs/api/otp#initiate",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"identity\": \"{{phone}}\",\n  \"identityType\": \"MOBILE\",\n  \"mode\": \"OTP\",\n  \"orderId\": \"signup-1029\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"requestId\": \"3f9c1a2b7d4e4f0a9b8c6d5e4f3a2b1c\",\n  \"message\": \"OTP sent successfully\",\n  \"oneTapApplied\": false,\n  \"deviceToken\": \"a41c0f9e…\"\n}"
            }
          ]
        },
        {
          "name": "Verify an OTP",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/auth/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "auth",
                "verify"
              ]
            },
            "description": "Checks the code. Replace the otp value with the code you received. A wrong code is 200 with verified=false.\n\nDocs: https://quickauth.in/docs/api/otp#verify",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"requestId\": \"{{requestId}}\",\n  \"otp\": \"000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.idToken != null) pm.collectionVariables.set(\"idToken\", String(body.idToken));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/auth/verify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "auth",
                    "verify"
                  ]
                },
                "description": "Checks the code. Replace the otp value with the code you received. A wrong code is 200 with verified=false.\n\nDocs: https://quickauth.in/docs/api/otp#verify",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"requestId\": \"{{requestId}}\",\n  \"otp\": \"000000\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"requestId\": \"3f9c1a2b7d4e4f0a9b8c6d5e4f3a2b1c\",\n  \"verified\": true,\n  \"message\": \"Verified successfully\",\n  \"idToken\": \"eyJhbGciOiJIUzM4NCJ9…\"\n}"
            }
          ]
        },
        {
          "name": "Get verification status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/auth/status?requestId={{requestId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "auth",
                "status"
              ],
              "query": [
                {
                  "key": "requestId",
                  "value": "{{requestId}}"
                }
              ]
            },
            "description": "Where a verification stands, with every delivery attempt.\n\nDocs: https://quickauth.in/docs/api/otp#status"
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/auth/status?requestId={{requestId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "auth",
                    "status"
                  ],
                  "query": [
                    {
                      "key": "requestId",
                      "value": "{{requestId}}"
                    }
                  ]
                },
                "description": "Where a verification stands, with every delivery attempt.\n\nDocs: https://quickauth.in/docs/api/otp#status"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"requestId\": \"3f9c1a2b7d4e4f0a9b8c6d5e4f3a2b1c\",\n  \"identity\": \"919876543210\",\n  \"verifiedAt\": \"2026-10-16T07:31:12.481Z\",\n  \"orderId\": \"signup-1029\",\n  \"mode\": \"OTP\",\n  \"identityType\": \"MOBILE\",\n  \"authStatus\": \"VERIFIED\",\n  \"code\": null,\n  \"deliveries\": [\n    {\n      \"channel\": \"SMS\",\n      \"type\": \"OTP\",\n      \"deliveryStatus\": \"DELIVERED\",\n      \"attemptNumber\": 1\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Confirm a verification",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/auth/verify-code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "auth",
                "verify-code"
              ]
            },
            "description": "Backend confirmation of a login done through the SDK. Send requestId (or idToken). Returns the verified phone number.\n\nDocs: https://quickauth.in/docs/api/otp#verify-code",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"requestId\": \"{{requestId}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/auth/verify-code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "auth",
                    "verify-code"
                  ]
                },
                "description": "Backend confirmation of a login done through the SDK. Send requestId (or idToken). Returns the verified phone number.\n\nDocs: https://quickauth.in/docs/api/otp#verify-code",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"requestId\": \"{{requestId}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"success\": true,\n  \"phoneNumber\": \"919876543210\",\n  \"countryCode\": \"91\",\n  \"nationalPhoneNumber\": \"9876543210\",\n  \"identityType\": \"MOBILE\",\n  \"authTime\": 1792143072,\n  \"requestId\": \"3f9c1a2b7d4e4f0a9b8c6d5e4f3a2b1c\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "SDK & sessions",
      "description": "What the web and mobile SDKs call. Create a session token saves sessionToken; the SDK calls use your publishable key.",
      "item": [
        {
          "name": "Create a session token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sdk/session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sdk",
                "session"
              ]
            },
            "description": "Server-side. Token is valid 1 hour.\n\nDocs: https://quickauth.in/docs/api/sdk#session"
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.sessionToken != null) pm.collectionVariables.set(\"sessionToken\", String(body.sessionToken));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sdk/session",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sdk",
                    "session"
                  ]
                },
                "description": "Server-side. Token is valid 1 hour.\n\nDocs: https://quickauth.in/docs/api/sdk#session"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"sessionToken\": \"eyJhbGciOiJIUzI1NiJ9…\",\n  \"expiresIn\": 3600,\n  \"tokenType\": \"Bearer\"\n}"
            }
          ]
        },
        {
          "name": "Refresh a session token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sdk/session/refresh",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sdk",
                "session",
                "refresh"
              ]
            },
            "description": "Issues a new 1-hour token.\n\nDocs: https://quickauth.in/docs/api/sdk#session-refresh"
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.sessionToken != null) pm.collectionVariables.set(\"sessionToken\", String(body.sessionToken));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sdk/session/refresh",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sdk",
                    "session",
                    "refresh"
                  ]
                },
                "description": "Issues a new 1-hour token.\n\nDocs: https://quickauth.in/docs/api/sdk#session-refresh"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"sessionToken\": \"eyJhbGciOiJIUzI1NiJ9…\",\n  \"expiresIn\": 3600,\n  \"tokenType\": \"Bearer\"\n}"
            }
          ]
        },
        {
          "name": "Send an OTP (from your app)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-QuickAuth-Key",
                "value": "{{publishableKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sdk/auth/initiate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sdk",
                "auth",
                "initiate"
              ]
            },
            "description": "Frontend send with a publishable key. To use a session token instead, replace the header with Authorization: Bearer {{sessionToken}}.\n\nDocs: https://quickauth.in/docs/api/sdk#sdk-initiate",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"+{{phone}}\",\n  \"channel\": \"auto\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.sessionId != null) pm.collectionVariables.set(\"requestId\", String(body.sessionId));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-QuickAuth-Key",
                    "value": "{{publishableKey}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sdk/auth/initiate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sdk",
                    "auth",
                    "initiate"
                  ]
                },
                "description": "Frontend send with a publishable key. To use a session token instead, replace the header with Authorization: Bearer {{sessionToken}}.\n\nDocs: https://quickauth.in/docs/api/sdk#sdk-initiate",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"phone\": \"+{{phone}}\",\n  \"channel\": \"auto\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"state\": \"OTP_SENT\",\n  \"sessionId\": \"3f9c1a2b7d4e4f0a9b8c6d5e4f3a2b1c\",\n  \"expiresIn\": 300,\n  \"deviceToken\": \"a41c0f9e…\"\n}"
            }
          ]
        },
        {
          "name": "Verify an OTP (from your app)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-QuickAuth-Key",
                "value": "{{publishableKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sdk/auth/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sdk",
                "auth",
                "verify"
              ]
            },
            "description": "Replace code with the one you received.\n\nDocs: https://quickauth.in/docs/api/sdk#sdk-verify",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"sessionId\": \"{{requestId}}\",\n  \"code\": \"000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-QuickAuth-Key",
                    "value": "{{publishableKey}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sdk/auth/verify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sdk",
                    "auth",
                    "verify"
                  ]
                },
                "description": "Replace code with the one you received.\n\nDocs: https://quickauth.in/docs/api/sdk#sdk-verify",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"sessionId\": \"{{requestId}}\",\n  \"code\": \"000000\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"state\": \"VERIFIED\",\n  \"verified\": true,\n  \"requestId\": \"3f9c1a2b7d4e4f0a9b8c6d5e4f3a2b1c\",\n  \"message\": \"Verified successfully\",\n  \"idToken\": \"eyJhbGciOiJIUzM4NCJ9…\"\n}"
            }
          ]
        },
        {
          "name": "Record an app launch (preview)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-QuickAuth-Key",
                "value": "{{publishableKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sdk/attribution/launch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sdk",
                "attribution",
                "launch"
              ]
            },
            "description": "Recorded; matching is not live yet so matched is always false.\n\nDocs: https://quickauth.in/docs/api/sdk#attribution-launch",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"qaClid\": \"c_7Hq2LmX\",\n  \"urlParams\": {\n    \"utm_source\": \"whatsapp\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-QuickAuth-Key",
                    "value": "{{publishableKey}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sdk/attribution/launch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sdk",
                    "attribution",
                    "launch"
                  ]
                },
                "description": "Recorded; matching is not live yet so matched is always false.\n\nDocs: https://quickauth.in/docs/api/sdk#attribution-launch",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"qaClid\": \"c_7Hq2LmX\",\n  \"urlParams\": {\n    \"utm_source\": \"whatsapp\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"matched\": false,\n  \"campaignId\": null,\n  \"templateId\": null,\n  \"variantId\": null\n}"
            }
          ]
        },
        {
          "name": "Record a conversion (preview)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-QuickAuth-Key",
                "value": "{{publishableKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sdk/attribution/conversion",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sdk",
                "attribution",
                "conversion"
              ]
            },
            "description": "Accepted and logged. Returns 200 with an empty body.\n\nDocs: https://quickauth.in/docs/api/sdk#attribution-conversion",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"event\": \"purchase\",\n  \"value\": 1499,\n  \"currency\": \"INR\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Transactional SMS",
      "description": "DLT template sends. Set smsTemplateId to one of your DLT template ids.",
      "item": [
        {
          "name": "Send an SMS",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sms/send",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sms",
                "send"
              ]
            },
            "description": "templateId is the numeric DLT template id. variableValues uses the names you set in the dashboard.\n\nDocs: https://quickauth.in/docs/sms-api#send",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"templateId\": \"{{smsTemplateId}}\",\n  \"to\": \"{{phone}}\",\n  \"variableValues\": {\n    \"name\": \"Asha\",\n    \"orderId\": \"A-1029\"\n  },\n  \"idempotencyKey\": \"postman-{{$timestamp}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sms/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sms",
                    "send"
                  ]
                },
                "description": "templateId is the numeric DLT template id. variableValues uses the names you set in the dashboard.\n\nDocs: https://quickauth.in/docs/sms-api#send",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"{{smsTemplateId}}\",\n  \"to\": \"{{phone}}\",\n  \"variableValues\": {\n    \"name\": \"Asha\",\n    \"orderId\": \"A-1029\"\n  },\n  \"idempotencyKey\": \"postman-{{$timestamp}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"messageId\": \"8b1e5d2c-7f40-4c11-9a3e-0d6f2b9a1c77\",\n  \"status\": \"SENT\",\n  \"to\": \"919876543210\"\n}"
            }
          ]
        },
        {
          "name": "Send an SMS (URL form)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sms/send?templateId={{smsTemplateId}}&to={{phone}}&var1=Asha&var2=A-1029",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sms",
                "send"
              ],
              "query": [
                {
                  "key": "templateId",
                  "value": "{{smsTemplateId}}"
                },
                {
                  "key": "to",
                  "value": "{{phone}}"
                },
                {
                  "key": "var1",
                  "value": "Asha"
                },
                {
                  "key": "var2",
                  "value": "A-1029"
                }
              ]
            },
            "description": "Same send for tools that can only fire a URL. Positional var1, var2…\n\nDocs: https://quickauth.in/docs/sms-api#send-get"
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sms/send?templateId={{smsTemplateId}}&to={{phone}}&var1=Asha&var2=A-1029",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sms",
                    "send"
                  ],
                  "query": [
                    {
                      "key": "templateId",
                      "value": "{{smsTemplateId}}"
                    },
                    {
                      "key": "to",
                      "value": "{{phone}}"
                    },
                    {
                      "key": "var1",
                      "value": "Asha"
                    },
                    {
                      "key": "var2",
                      "value": "A-1029"
                    }
                  ]
                },
                "description": "Same send for tools that can only fire a URL. Positional var1, var2…\n\nDocs: https://quickauth.in/docs/sms-api#send-get"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"messageId\": \"8b1e5d2c-7f40-4c11-9a3e-0d6f2b9a1c77\",\n  \"status\": \"SENT\",\n  \"to\": \"919876543210\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "WhatsApp templates",
      "description": "Create saves templateId. Wait for status APPROVED before sending.",
      "item": [
        {
          "name": "Create a template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "templates"
              ]
            },
            "description": "Named placeholders {{name}} declared in variables. Returns 201.\n\nDocs: https://quickauth.in/docs/whatsapp-api#create-template",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Order Shipped\",\n  \"category\": \"UTILITY\",\n  \"language\": \"en\",\n  \"body\": \"Hi {{name}}, your order {{order_id}} has shipped.\",\n  \"variables\": [\n    {\n      \"name\": \"name\",\n      \"example\": \"Asha\"\n    },\n    {\n      \"name\": \"order_id\",\n      \"example\": \"A-1029\"\n    }\n  ],\n  \"footer\": \"Reply STOP to opt out\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.templateId != null) pm.collectionVariables.set(\"templateId\", String(body.templateId));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/whatsapp/templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "whatsapp",
                    "templates"
                  ]
                },
                "description": "Named placeholders {{name}} declared in variables. Returns 201.\n\nDocs: https://quickauth.in/docs/whatsapp-api#create-template",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Order Shipped\",\n  \"category\": \"UTILITY\",\n  \"language\": \"en\",\n  \"body\": \"Hi {{name}}, your order {{order_id}} has shipped.\",\n  \"variables\": [\n    {\n      \"name\": \"name\",\n      \"example\": \"Asha\"\n    },\n    {\n      \"name\": \"order_id\",\n      \"example\": \"A-1029\"\n    }\n  ],\n  \"footer\": \"Reply STOP to opt out\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"templateId\": \"9f1c2e7a4b5d4c3e8a1b2c3d4e5f6a7b\",\n  \"name\": \"Order Shipped\",\n  \"category\": null,\n  \"language\": \"en\",\n  \"status\": \"PENDING\"\n}"
            }
          ]
        },
        {
          "name": "List templates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "templates"
              ]
            },
            "description": "All templates in one response (not paginated).\n\nDocs: https://quickauth.in/docs/whatsapp-api#list-templates"
          }
        },
        {
          "name": "Get a template",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/templates/{{templateId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "templates",
                "{{templateId}}"
              ]
            },
            "description": "Check approval status.\n\nDocs: https://quickauth.in/docs/whatsapp-api#get-template"
          }
        }
      ]
    },
    {
      "name": "WhatsApp messages",
      "description": "Send saves messageId (numeric) — use it for status, not the wamid.",
      "item": [
        {
          "name": "Send a template message",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "messages"
              ]
            },
            "description": "Check status in the response: a refused recipient is 200 with status FAILED or SKIPPED.\n\nDocs: https://quickauth.in/docs/whatsapp-api#send-message",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"templateId\": \"{{templateId}}\",\n  \"to\": \"{{phone}}\",\n  \"variables\": {\n    \"name\": \"Asha\",\n    \"order_id\": \"A-1029\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.messageId != null) pm.collectionVariables.set(\"messageId\", String(body.messageId));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/whatsapp/messages",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "whatsapp",
                    "messages"
                  ]
                },
                "description": "Check status in the response: a refused recipient is 200 with status FAILED or SKIPPED.\n\nDocs: https://quickauth.in/docs/whatsapp-api#send-message",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"{{templateId}}\",\n  \"to\": \"{{phone}}\",\n  \"variables\": {\n    \"name\": \"Asha\",\n    \"order_id\": \"A-1029\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"messageId\": 482913,\n  \"to\": \"919876543210\",\n  \"status\": \"SENT\",\n  \"providerMessageId\": \"wamid.HBgM…\",\n  \"errorMessage\": null,\n  \"campaignId\": null\n}"
            }
          ]
        },
        {
          "name": "Get message status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/messages/{{messageId}}/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "messages",
                "{{messageId}}",
                "status"
              ]
            },
            "description": "Numeric messageId from the send response. A wamid returns 400.\n\nDocs: https://quickauth.in/docs/whatsapp-api#message-status"
          }
        },
        {
          "name": "Reply in a conversation",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/messages/session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "messages",
                "session"
              ]
            },
            "description": "Free text, only within 24 hours of the customer's last message.\n\nDocs: https://quickauth.in/docs/whatsapp-api#session-message",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"to\": \"{{phone}}\",\n  \"text\": \"Thanks — your refund has been processed.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Check number health",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/health",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "health"
              ]
            },
            "description": "Quality rating, tier and daily limit per number.\n\nDocs: https://quickauth.in/docs/whatsapp-api#health"
          }
        }
      ]
    },
    {
      "name": "WhatsApp campaigns",
      "description": "Send a campaign saves campaignId.",
      "item": [
        {
          "name": "Send a campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/campaigns",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "campaigns"
              ]
            },
            "description": "1 to 100 recipients.\n\nDocs: https://quickauth.in/docs/whatsapp-api#send-campaign",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"templateId\": \"{{templateId}}\",\n  \"campaignName\": \"Postman test\",\n  \"recipients\": [\n    {\n      \"phoneNumber\": \"{{phone}}\",\n      \"variables\": {\n        \"name\": \"Asha\",\n        \"order_id\": \"A-1029\"\n      }\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (body && body.campaignId != null) pm.collectionVariables.set(\"campaignId\", String(body.campaignId));"
                ]
              }
            }
          ],
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Client-Id",
                    "value": "{{clientId}}"
                  },
                  {
                    "key": "X-Client-Secret",
                    "value": "{{clientSecret}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/whatsapp/campaigns",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "whatsapp",
                    "campaigns"
                  ]
                },
                "description": "1 to 100 recipients.\n\nDocs: https://quickauth.in/docs/whatsapp-api#send-campaign",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"{{templateId}}\",\n  \"campaignName\": \"Postman test\",\n  \"recipients\": [\n    {\n      \"phoneNumber\": \"{{phone}}\",\n      \"variables\": {\n        \"name\": \"Asha\",\n        \"order_id\": \"A-1029\"\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"campaignId\": \"5be0a3c1d2e94f7a8b6c1d2e3f4a5b6c\",\n  \"status\": \"QUEUED\",\n  \"recipientCount\": 1\n}"
            }
          ]
        },
        {
          "name": "Get campaign status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/marketing/status/{{campaignId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "marketing",
                "status",
                "{{campaignId}}"
              ]
            },
            "description": "Progress and counts.\n\nDocs: https://quickauth.in/docs/whatsapp-api#campaign-status"
          }
        }
      ]
    },
    {
      "name": "Leads (team inbox)",
      "description": "List leads saves the first leadId.",
      "item": [
        {
          "name": "List leads",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads?page=0&size=50",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0"
                },
                {
                  "key": "size",
                  "value": "50"
                },
                {
                  "key": "unassignedOnly",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "assignedTo",
                  "value": "agent@example.com",
                  "disabled": true
                },
                {
                  "key": "phone",
                  "value": "{{phone}}",
                  "disabled": true
                }
              ]
            },
            "description": "Most recent first.\n\nDocs: https://quickauth.in/docs/api/leads#list-leads"
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "pm.test(\"2xx\", () => pm.response.to.be.success);",
                  "if (Array.isArray(body) && body.length) pm.collectionVariables.set(\"leadId\", String(body[0].id));"
                ]
              }
            }
          ]
        },
        {
          "name": "List agents",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads",
                "agents"
              ]
            },
            "description": "Team members you can assign to.\n\nDocs: https://quickauth.in/docs/api/leads#list-agents"
          }
        },
        {
          "name": "List teams",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads/teams",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads",
                "teams"
              ]
            },
            "description": "Inbox teams.\n\nDocs: https://quickauth.in/docs/api/leads#list-teams"
          }
        },
        {
          "name": "Assign a lead",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads/{{leadId}}/assign",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads",
                "{{leadId}}",
                "assign"
              ]
            },
            "description": "Omit agentEmail to unassign.\n\nDocs: https://quickauth.in/docs/api/leads#assign-lead",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"agentEmail\": \"agent@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Assign a lead by phone number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads/assign",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads",
                "assign"
              ]
            },
            "description": "One lead, found by number.\n\nDocs: https://quickauth.in/docs/api/leads#assign-leads",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"{{phone}}\",\n  \"agentEmail\": \"agent@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Move a lead to a team",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads/{{leadId}}/team",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads",
                "{{leadId}}",
                "team"
              ]
            },
            "description": "Omit teamName to clear.\n\nDocs: https://quickauth.in/docs/api/leads#team-lead",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"teamName\": \"Sales\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Move a lead to a team by phone number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Client-Id",
                "value": "{{clientId}}"
              },
              {
                "key": "X-Client-Secret",
                "value": "{{clientSecret}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/whatsapp/leads/team",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "whatsapp",
                "leads",
                "team"
              ]
            },
            "description": "One lead, found by number.\n\nDocs: https://quickauth.in/docs/api/leads#team-leads",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"{{phone}}\",\n  \"teamName\": \"Sales\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "requestId",
      "value": "",
      "type": "string"
    },
    {
      "key": "idToken",
      "value": "",
      "type": "string"
    },
    {
      "key": "sessionToken",
      "value": "",
      "type": "string"
    },
    {
      "key": "templateId",
      "value": "",
      "type": "string"
    },
    {
      "key": "messageId",
      "value": "",
      "type": "string"
    },
    {
      "key": "campaignId",
      "value": "",
      "type": "string"
    },
    {
      "key": "leadId",
      "value": "",
      "type": "string"
    }
  ]
}