{
  "info": {
    "name": "M-Box API",
    "_postman_id": "6f0d2a5e-mbox-api-v1",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Short links, QR codes, routing, analytics and conversions.\n\n1. Set the collection variable apiKey to a key from Developers › API keys (mbx_live_…).\n2. For Track from your website, set trackingKey (mbx_pk_…) from Conversions › Set up.\n3. Every response carries X-RateLimit-Limit, -Remaining and -Reset.\n\nDocs: https://m-box.in/docs/api/"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://m-box.in/api"
    },
    {
      "key": "apiKey",
      "value": "mbx_live_REPLACE_ME"
    },
    {
      "key": "trackingKey",
      "value": "mbx_pk_REPLACE_ME"
    }
  ],
  "item": [
    {
      "name": "Links",
      "description": "Create, find, change and retire short links.",
      "item": [
        {
          "name": "Create a link",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links"
              ],
              "query": [],
              "variable": []
            },
            "description": "Makes one short link. Send external_id (your own ID) to make retries safe: the same ID returns the existing link with 200 and existing: true instead of a duplicate.\n\nErrors: invalid_url, url_too_long, destination_blocked, destination_not_approved, invalid_alias, alias_taken, alias_quota_exceeded, external_id_taken, invalid_external_id, invalid_redirect_type, invalid_fallback_url, quota_exceeded, storage_full, template_not_found, invalid_tag, invalid_campaign, invalid_reference",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"alias\": \"diwali\",\n  \"external_id\": \"ORD-1001\",\n  \"title\": \"Diwali SMS – Chennai\",\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"expires_in\": \"30d\",\n  \"track_conversions\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Makes one short link. Send external_id (your own ID) to make retries safe: the same ID returns the existing link with 200 and existing: true instead of a duplicate.\n\nErrors: invalid_url, url_too_long, destination_blocked, destination_not_approved, invalid_alias, alias_taken, alias_quota_exceeded, external_id_taken, invalid_external_id, invalid_redirect_type, invalid_fallback_url, quota_exceeded, storage_full, template_not_found, invalid_tag, invalid_campaign, invalid_reference",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"alias\": \"diwali\",\n  \"external_id\": \"ORD-1001\",\n  \"title\": \"Diwali SMS – Chennai\",\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"expires_in\": \"30d\",\n  \"track_conversions\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"8b0f…\",\n  \"code\": \"diwali\",\n  \"short_url\": \"https://m-bx.to/diwali\",\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"status\": \"active\",\n  \"active_from\": null,\n  \"expires_at\": \"2026-12-31T18:29:59Z\",\n  \"max_clicks\": null,\n  \"clicks\": 1284,\n  \"has_password\": false,\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"reference\": \"Chennai stores\",\n  \"external_id\": \"ORD-1001\",\n  \"state\": null,\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": false,\n  \"archived\": false,\n  \"redirect_type\": 302,\n  \"fallback_url\": null,\n  \"track_conversions\": true,\n  \"created_at\": \"2026-11-01T09:12:00Z\",\n  \"updated_at\": \"2026-11-02T11:00:00Z\"\n}"
            }
          ]
        },
        {
          "name": "List links",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. 1–200, default 50.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "string. next_cursor from the previous page.",
                  "disabled": true
                },
                {
                  "key": "q",
                  "value": "",
                  "description": "string. Search code, destination, title, reference and external_id.",
                  "disabled": true
                },
                {
                  "key": "campaign",
                  "value": "",
                  "description": "string.",
                  "disabled": true
                },
                {
                  "key": "tag",
                  "value": "",
                  "description": "string. One tag.",
                  "disabled": true
                },
                {
                  "key": "tags",
                  "value": "",
                  "description": "string. Comma-separated; the link must have all of them.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "description": "string. active, disabled or blocked.",
                  "disabled": true
                },
                {
                  "key": "external_id",
                  "value": "",
                  "description": "string. Exact match.",
                  "disabled": true
                },
                {
                  "key": "external_id_prefix",
                  "value": "",
                  "description": "string. Starts with.",
                  "disabled": true
                },
                {
                  "key": "favorite",
                  "value": "",
                  "description": "boolean. true for favourites only.",
                  "disabled": true
                },
                {
                  "key": "archived",
                  "value": "",
                  "description": "string. include or only.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Newest first, up to 200 per page. Archived links are hidden unless asked for. Pass next_cursor back as cursor for the next page."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. 1–200, default 50.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "string. next_cursor from the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "string. Search code, destination, title, reference and external_id.",
                      "disabled": true
                    },
                    {
                      "key": "campaign",
                      "value": "",
                      "description": "string.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "string. One tag.",
                      "disabled": true
                    },
                    {
                      "key": "tags",
                      "value": "",
                      "description": "string. Comma-separated; the link must have all of them.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "",
                      "description": "string. active, disabled or blocked.",
                      "disabled": true
                    },
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "string. Exact match.",
                      "disabled": true
                    },
                    {
                      "key": "external_id_prefix",
                      "value": "",
                      "description": "string. Starts with.",
                      "disabled": true
                    },
                    {
                      "key": "favorite",
                      "value": "",
                      "description": "boolean. true for favourites only.",
                      "disabled": true
                    },
                    {
                      "key": "archived",
                      "value": "",
                      "description": "string. include or only.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Newest first, up to 200 per page. Archived links are hidden unless asked for. Pass next_cursor back as cursor for the next page."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"links\": [\n    {\n      \"id\": \"8b0f…\",\n      \"code\": \"diwali\",\n      \"short_url\": \"https://m-bx.to/diwali\",\n      \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n      \"status\": \"active\",\n      \"active_from\": null,\n      \"expires_at\": \"2026-12-31T18:29:59Z\",\n      \"max_clicks\": null,\n      \"clicks\": 1284,\n      \"has_password\": false,\n      \"tags\": [\n        \"sms\",\n        \"festive\"\n      ],\n      \"campaign\": \"diwali-2026\",\n      \"reference\": \"Chennai stores\",\n      \"external_id\": \"ORD-1001\",\n      \"state\": null,\n      \"title\": \"Diwali SMS – Chennai\",\n      \"notes\": null,\n      \"favorite\": false,\n      \"archived\": false,\n      \"redirect_type\": 302,\n      \"fallback_url\": null,\n      \"track_conversions\": true,\n      \"created_at\": \"2026-11-01T09:12:00Z\",\n      \"updated_at\": \"2026-11-02T11:00:00Z\"\n    }\n  ],\n  \"next_cursor\": \"2026-11-01T09:12:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Get a link",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "\n\nErrors: link_not_found"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "\n\nErrors: link_not_found"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"8b0f…\",\n  \"code\": \"diwali\",\n  \"short_url\": \"https://m-bx.to/diwali\",\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"status\": \"active\",\n  \"active_from\": null,\n  \"expires_at\": \"2026-12-31T18:29:59Z\",\n  \"max_clicks\": null,\n  \"clicks\": 1284,\n  \"has_password\": false,\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"reference\": \"Chennai stores\",\n  \"external_id\": \"ORD-1001\",\n  \"state\": null,\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": false,\n  \"archived\": false,\n  \"redirect_type\": 302,\n  \"fallback_url\": null,\n  \"track_conversions\": true,\n  \"created_at\": \"2026-11-01T09:12:00Z\",\n  \"updated_at\": \"2026-11-02T11:00:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Find a link by your ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/lookup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                "lookup"
              ],
              "query": [
                {
                  "key": "external_id",
                  "value": "",
                  "description": "string, required.",
                  "disabled": false
                },
                {
                  "key": "stats_days",
                  "value": "",
                  "description": "integer. 1–365.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Looks up the link you created with external_id. Add stats_days to include its numbers.\n\nErrors: external_id_required, link_not_found"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/lookup",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    "lookup"
                  ],
                  "query": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "string, required.",
                      "disabled": false
                    },
                    {
                      "key": "stats_days",
                      "value": "",
                      "description": "integer. 1–365.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Looks up the link you created with external_id. Add stats_days to include its numbers.\n\nErrors: external_id_required, link_not_found"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"8b0f…\",\n  \"code\": \"diwali\",\n  \"short_url\": \"https://m-bx.to/diwali\",\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"status\": \"active\",\n  \"active_from\": null,\n  \"expires_at\": \"2026-12-31T18:29:59Z\",\n  \"max_clicks\": null,\n  \"clicks\": 1284,\n  \"has_password\": false,\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"reference\": \"Chennai stores\",\n  \"external_id\": \"ORD-1001\",\n  \"state\": null,\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": false,\n  \"archived\": false,\n  \"redirect_type\": 302,\n  \"fallback_url\": null,\n  \"track_conversions\": true,\n  \"created_at\": \"2026-11-01T09:12:00Z\",\n  \"updated_at\": \"2026-11-02T11:00:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Change a link",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Send only what changes. The printed or shared short link keeps working. Every change is kept as a version.\n\nErrors: link_not_found, invalid_url, destination_blocked, destination_not_approved, external_id_taken, invalid_external_id, invalid_tag, invalid_campaign, invalid_reference, link_blocked, nothing_to_change",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://shop.example.in/sale-extended\",\n  \"expires_at\": \"2027-01-15T18:29:59Z\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Send only what changes. The printed or shared short link keeps working. Every change is kept as a version.\n\nErrors: link_not_found, invalid_url, destination_blocked, destination_not_approved, external_id_taken, invalid_external_id, invalid_tag, invalid_campaign, invalid_reference, link_blocked, nothing_to_change",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://shop.example.in/sale-extended\",\n  \"expires_at\": \"2027-01-15T18:29:59Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"8b0f…\",\n  \"code\": \"diwali\",\n  \"short_url\": \"https://m-bx.to/diwali\",\n  \"url\": \"https://shop.example.in/sale-extended\",\n  \"status\": \"active\",\n  \"active_from\": null,\n  \"expires_at\": \"2026-12-31T18:29:59Z\",\n  \"max_clicks\": null,\n  \"clicks\": 1284,\n  \"has_password\": false,\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"reference\": \"Chennai stores\",\n  \"external_id\": \"ORD-1001\",\n  \"state\": null,\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": false,\n  \"archived\": false,\n  \"redirect_type\": 302,\n  \"fallback_url\": null,\n  \"track_conversions\": true,\n  \"created_at\": \"2026-11-01T09:12:00Z\",\n  \"updated_at\": \"2026-11-02T11:00:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Disable a link",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Switches the link off (visitors see “disabled”, or its fallback page). It can be enabled again with PATCH status: active."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Switches the link off (visitors see “disabled”, or its fallback page). It can be enabled again with PATCH status: active."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"8b0f…\",\n  \"code\": \"diwali\",\n  \"short_url\": \"https://m-bx.to/diwali\",\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"status\": \"disabled\",\n  \"active_from\": null,\n  \"expires_at\": \"2026-12-31T18:29:59Z\",\n  \"max_clicks\": null,\n  \"clicks\": 1284,\n  \"has_password\": false,\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"reference\": \"Chennai stores\",\n  \"external_id\": \"ORD-1001\",\n  \"state\": null,\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": false,\n  \"archived\": false,\n  \"redirect_type\": 302,\n  \"fallback_url\": null,\n  \"track_conversions\": true,\n  \"created_at\": \"2026-11-01T09:12:00Z\",\n  \"updated_at\": \"2026-11-02T11:00:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Link settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "settings"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Title, notes, favourite, archive, redirect type, fallback page and conversion tracking. GET returns the same fields.\n\nErrors: invalid_redirect_type, invalid_url, nothing_to_change",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"favorite\": true,\n  \"redirect_type\": 302,\n  \"fallback_url\": \"https://shop.example.in/offers\",\n  \"track_conversions\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "settings"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Title, notes, favourite, archive, redirect type, fallback page and conversion tracking. GET returns the same fields.\n\nErrors: invalid_redirect_type, invalid_url, nothing_to_change",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"favorite\": true,\n  \"redirect_type\": 302,\n  \"fallback_url\": \"https://shop.example.in/offers\",\n  \"track_conversions\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"code\": \"diwali\",\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": true,\n  \"archived\": false,\n  \"archived_at\": null,\n  \"redirect_type\": 302,\n  \"fallback_url\": \"https://shop.example.in/offers\",\n  \"track_conversions\": true\n}"
            }
          ]
        },
        {
          "name": "Duplicate a link",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/duplicate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "duplicate"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "A new link with the same destination, tags, campaign, rules and settings. Counts towards the monthly allowance.",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/duplicate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "duplicate"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "A new link with the same destination, tags, campaign, rules and settings. Counts towards the monthly allowance.",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"8b0f…\",\n  \"code\": \"Xk29Pa\",\n  \"short_url\": \"https://m-bx.to/Xk29Pa\",\n  \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n  \"status\": \"active\",\n  \"active_from\": null,\n  \"expires_at\": \"2026-12-31T18:29:59Z\",\n  \"max_clicks\": null,\n  \"clicks\": 0,\n  \"has_password\": false,\n  \"tags\": [\n    \"sms\",\n    \"festive\"\n  ],\n  \"campaign\": \"diwali-2026\",\n  \"reference\": \"Chennai stores\",\n  \"external_id\": \"ORD-1001\",\n  \"state\": null,\n  \"title\": \"Diwali SMS – Chennai\",\n  \"notes\": null,\n  \"favorite\": false,\n  \"archived\": false,\n  \"redirect_type\": 302,\n  \"fallback_url\": null,\n  \"track_conversions\": true,\n  \"created_at\": \"2026-11-01T09:12:00Z\",\n  \"updated_at\": \"2026-11-02T11:00:00Z\",\n  \"duplicated_from\": \"diwali\"\n}"
            }
          ]
        },
        {
          "name": "Link versions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/versions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "versions"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Every earlier state of the link, newest first, with who changed it."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/versions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "versions"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Every earlier state of the link, newest first, with who changed it."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"versions\": [\n    {\n      \"version\": 2,\n      \"snapshot\": {\n        \"url\": \"https://shop.example.in/sale\"\n      },\n      \"changed_by\": \"mbx_live_Ab12…\",\n      \"changed_at\": \"2026-11-02T11:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Delete links in bulk",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/bulk-delete",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                "bulk-delete"
              ],
              "query": [],
              "variable": []
            },
            "description": "Permanently deletes links matching a filter, up to 20,000 per call (repeat until done is true). Send dry_run: true first to see how many match. Owner or admin only.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"filter\": {\n    \"campaign\": \"diwali-2025\"\n  },\n  \"dry_run\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/bulk-delete",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    "bulk-delete"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Permanently deletes links matching a filter, up to 20,000 per call (repeat until done is true). Send dry_run: true first to see how many match. Owner or admin only.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"filter\": {\n    \"campaign\": \"diwali-2025\"\n  },\n  \"dry_run\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"deleted\": 1840,\n  \"remaining\": 0,\n  \"done\": true\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Routing and scheduling",
      "description": "Send each visitor to the right place, and change destinations on a timetable.",
      "item": [
        {
          "name": "Ordered routing rules",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/flow",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "flow"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Rules are checked from the top; the first whose conditions all match decides the destination. An empty condition means “any”. Values: countries (IN), regions (Tamil Nadu), langs (ta), devices (mobile, tablet, desktop), os (android, ios, windows, macos, linux), browsers (chrome, safari, firefox, edge, opera, samsung, in-app). Send flow: [] to clear.\n\nErrors: invalid_flow, destination_blocked, destination_not_approved",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"flow\": [\n    {\n      \"label\": \"Tamil speakers\",\n      \"when\": {\n        \"langs\": [\n          \"ta\"\n        ]\n      },\n      \"url\": \"https://shop.example.in/ta\"\n    },\n    {\n      \"when\": {\n        \"os\": [\n          \"android\"\n        ],\n        \"countries\": [\n          \"IN\"\n        ]\n      },\n      \"url\": \"market://details?id=in.example.shop\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/flow",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "flow"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Rules are checked from the top; the first whose conditions all match decides the destination. An empty condition means “any”. Values: countries (IN), regions (Tamil Nadu), langs (ta), devices (mobile, tablet, desktop), os (android, ios, windows, macos, linux), browsers (chrome, safari, firefox, edge, opera, samsung, in-app). Send flow: [] to clear.\n\nErrors: invalid_flow, destination_blocked, destination_not_approved",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"flow\": [\n    {\n      \"label\": \"Tamil speakers\",\n      \"when\": {\n        \"langs\": [\n          \"ta\"\n        ]\n      },\n      \"url\": \"https://shop.example.in/ta\"\n    },\n    {\n      \"when\": {\n        \"os\": [\n          \"android\"\n        ],\n        \"countries\": [\n          \"IN\"\n        ]\n      },\n      \"url\": \"market://details?id=in.example.shop\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"code\": \"diwali\",\n  \"flow\": [\n    {\n      \"label\": \"Tamil speakers\",\n      \"when\": {\n        \"langs\": [\n          \"ta\"\n        ]\n      },\n      \"url\": \"https://shop.example.in/ta\"\n    },\n    {\n      \"label\": null,\n      \"when\": {\n        \"os\": [\n          \"android\"\n        ],\n        \"countries\": [\n          \"IN\"\n        ]\n      },\n      \"url\": \"market://details?id=in.example.shop\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Test a visitor",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/simulate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "simulate"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Shows where a visitor with these details would go. Records nothing.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"country\": \"IN\",\n  \"region\": \"Tamil Nadu\",\n  \"lang\": \"ta\",\n  \"device\": \"mobile\",\n  \"os\": \"android\",\n  \"browser\": \"chrome\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/simulate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "simulate"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Shows where a visitor with these details would go. Records nothing.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"country\": \"IN\",\n  \"region\": \"Tamil Nadu\",\n  \"lang\": \"ta\",\n  \"device\": \"mobile\",\n  \"os\": \"android\",\n  \"browser\": \"chrome\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"url\": \"https://shop.example.in/ta\",\n  \"matched\": \"Rule 1: Tamil speakers\"\n}"
            }
          ]
        },
        {
          "name": "Smart rules",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/rules",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "rules"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Device and app links, country destinations, A/B split, working hours and a traffic shield. GET returns them.\n\nErrors: invalid_country, invalid_hours, invalid_max_rps, invalid_ab, domain_not_active",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"rules\": {\n    \"android\": \"intent://open#Intent;package=in.example.shop;end\",\n    \"ios\": \"https://apps.apple.com/in/app/id123\",\n    \"countries\": {\n      \"AE\": \"https://ae.example.in\"\n    },\n    \"ab\": [\n      {\n        \"url\": \"https://a.example.in\",\n        \"weight\": 50\n      },\n      {\n        \"url\": \"https://b.example.in\",\n        \"weight\": 50\n      }\n    ],\n    \"hours\": {\n      \"start\": \"09:00\",\n      \"end\": \"21:00\"\n    },\n    \"max_rps\": 500\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/rules",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "rules"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Device and app links, country destinations, A/B split, working hours and a traffic shield. GET returns them.\n\nErrors: invalid_country, invalid_hours, invalid_max_rps, invalid_ab, domain_not_active",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"rules\": {\n    \"android\": \"intent://open#Intent;package=in.example.shop;end\",\n    \"ios\": \"https://apps.apple.com/in/app/id123\",\n    \"countries\": {\n      \"AE\": \"https://ae.example.in\"\n    },\n    \"ab\": [\n      {\n        \"url\": \"https://a.example.in\",\n        \"weight\": 50\n      },\n      {\n        \"url\": \"https://b.example.in\",\n        \"weight\": 50\n      }\n    ],\n    \"hours\": {\n      \"start\": \"09:00\",\n      \"end\": \"21:00\"\n    },\n    \"max_rps\": 500\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"code\": \"diwali\",\n  \"rules\": {\n    \"android\": \"intent://open#Intent;package=in.example.shop;end\",\n    \"countries\": {\n      \"AE\": \"https://ae.example.in\"\n    },\n    \"hours\": {\n      \"start\": \"09:00\",\n      \"end\": \"21:00\"\n    }\n  }\n}"
            }
          ]
        },
        {
          "name": "Schedule a destination change",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/schedule",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "schedule"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Changes where the link goes at a set time. GET lists the current destination and pending changes; DELETE /schedule/{id} cancels one.\n\nErrors: invalid_url, invalid_date",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"at\": \"2026-11-15T00:00:00+05:30\",\n  \"url\": \"https://shop.example.in/sale-ended\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/schedule",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "schedule"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Changes where the link goes at a set time. GET lists the current destination and pending changes; DELETE /schedule/{id} cancels one.\n\nErrors: invalid_url, invalid_date",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"at\": \"2026-11-15T00:00:00+05:30\",\n  \"url\": \"https://shop.example.in/sale-ended\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"a71c…\",\n  \"at\": \"2026-11-14T18:30:00Z\",\n  \"destination\": \"https://shop.example.in/sale-ended\",\n  \"status\": \"pending\"\n}"
            }
          ]
        },
        {
          "name": "Set a link's state",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/state",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "state"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "A label for where the link is in your own process (for example sent, paid). Workflows can react to it. GET /v1/links/{code}/states shows the history.\n\nErrors: invalid_state",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state\": \"paid\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/state",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "state"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "A label for where the link is in your own process (for example sent, paid). Workflows can react to it. GET /v1/links/{code}/states shows the history.\n\nErrors: invalid_state",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"state\": \"paid\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"code\": \"diwali\",\n  \"state\": \"paid\",\n  \"previous_state\": \"sent\",\n  \"changed\": true\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "QR codes",
      "description": "Saved QR designs. Scans are counted apart from clicks.",
      "item": [
        {
          "name": "List QR codes",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/qr-codes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "qr-codes"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "",
                  "description": "string. Search by name.",
                  "disabled": true
                },
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. Period for scans_30d, 1–365.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "With this month's allowance and the design options your plan includes."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/qr-codes",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "qr-codes"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "",
                      "description": "string. Search by name.",
                      "disabled": true
                    },
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. Period for scans_30d, 1–365.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "With this month's allowance and the design options your plan includes."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"limit\": 10,\n  \"used_this_month\": 3,\n  \"customization\": \"advanced\",\n  \"bulk\": false,\n  \"days\": 30,\n  \"qr_codes\": [\n    {\n      \"id\": \"4c1e…\",\n      \"name\": \"Table tent\",\n      \"style\": {\n        \"fg\": \"#1f4fd8\",\n        \"bg\": \"#ffffff\",\n        \"dots\": \"rounded\",\n        \"corners\": \"circle\",\n        \"frame\": \"label\",\n        \"frame_text\": \"SCAN TO ORDER\"\n      },\n      \"link\": {\n        \"code\": \"menu\",\n        \"short_url\": \"https://m-bx.to/menu\",\n        \"destination\": \"https://cafe.example.in/menu\",\n        \"campaign\": null,\n        \"status\": \"active\"\n      },\n      \"qr_url\": \"https://m-bx.to/menu?qr\",\n      \"scans_30d\": 412,\n      \"scans_total\": 2310,\n      \"created_at\": \"2026-11-03T10:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Create a QR code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/qr-codes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "qr-codes"
              ],
              "query": [],
              "variable": []
            },
            "description": "One QR code per link. Encode qr_url (the short link with ?qr) so scans are counted apart from clicks. Free: black and white; Starter: colours and frames; Growth and above: logos, gradients, dot and corner shapes.\n\nErrors: invalid_code, link_not_found, qr_exists, qr_quota_exceeded, plan_feature, template_not_found",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"menu\",\n  \"name\": \"Table tent\",\n  \"style\": {\n    \"fg\": \"#1f4fd8\",\n    \"dots\": \"rounded\",\n    \"corners\": \"circle\",\n    \"frame\": \"label\",\n    \"frame_text\": \"SCAN TO ORDER\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/qr-codes",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "qr-codes"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "One QR code per link. Encode qr_url (the short link with ?qr) so scans are counted apart from clicks. Free: black and white; Starter: colours and frames; Growth and above: logos, gradients, dot and corner shapes.\n\nErrors: invalid_code, link_not_found, qr_exists, qr_quota_exceeded, plan_feature, template_not_found",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"menu\",\n  \"name\": \"Table tent\",\n  \"style\": {\n    \"fg\": \"#1f4fd8\",\n    \"dots\": \"rounded\",\n    \"corners\": \"circle\",\n    \"frame\": \"label\",\n    \"frame_text\": \"SCAN TO ORDER\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"4c1e…\",\n  \"name\": \"Table tent\",\n  \"style\": {\n    \"fg\": \"#1f4fd8\",\n    \"bg\": \"#ffffff\",\n    \"dots\": \"rounded\",\n    \"corners\": \"circle\",\n    \"frame\": \"label\",\n    \"frame_text\": \"SCAN TO ORDER\"\n  },\n  \"link\": {\n    \"code\": \"menu\",\n    \"short_url\": \"https://m-bx.to/menu\",\n    \"destination\": \"https://cafe.example.in/menu\",\n    \"campaign\": null,\n    \"status\": \"active\"\n  },\n  \"qr_url\": \"https://m-bx.to/menu?qr\",\n  \"scans_30d\": 412,\n  \"scans_total\": 2310,\n  \"created_at\": \"2026-11-03T10:00:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Create QR codes in bulk",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/qr-codes/bulk",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "qr-codes",
                "bulk"
              ],
              "query": [],
              "variable": []
            },
            "description": "Business plan and above. Up to 500 links; links that already have a QR code keep it.\n\nErrors: plan_feature, codes_required, qr_quota_exceeded, template_not_found",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"codes\": [\n    \"store-001\",\n    \"store-002\",\n    \"store-003\"\n  ],\n  \"template\": \"Brand blue\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/qr-codes/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "qr-codes",
                    "bulk"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Business plan and above. Up to 500 links; links that already have a QR code keep it.\n\nErrors: plan_feature, codes_required, qr_quota_exceeded, template_not_found",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"codes\": [\n    \"store-001\",\n    \"store-002\",\n    \"store-003\"\n  ],\n  \"template\": \"Brand blue\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"created\": 2,\n  \"existing\": 1,\n  \"not_found\": []\n}"
            }
          ]
        },
        {
          "name": "Change a QR design",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/qr-codes/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "qr-codes",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "GET returns one; DELETE removes the saved design (the short link keeps working).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Counter sticker\",\n  \"style\": {\n    \"frame\": \"badge\",\n    \"frame_text\": \"PAY HERE\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/qr-codes/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "qr-codes",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "GET returns one; DELETE removes the saved design (the short link keeps working).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Counter sticker\",\n  \"style\": {\n    \"frame\": \"badge\",\n    \"frame_text\": \"PAY HERE\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"4c1e…\",\n  \"name\": \"Table tent\",\n  \"style\": {\n    \"fg\": \"#1f4fd8\",\n    \"bg\": \"#ffffff\",\n    \"dots\": \"rounded\",\n    \"corners\": \"circle\",\n    \"frame\": \"label\",\n    \"frame_text\": \"SCAN TO ORDER\"\n  },\n  \"link\": {\n    \"code\": \"menu\",\n    \"short_url\": \"https://m-bx.to/menu\",\n    \"destination\": \"https://cafe.example.in/menu\",\n    \"campaign\": null,\n    \"status\": \"active\"\n  },\n  \"qr_url\": \"https://m-bx.to/menu?qr\",\n  \"scans_30d\": 412,\n  \"scans_total\": 2310,\n  \"created_at\": \"2026-11-03T10:00:00Z\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Saved templates",
      "description": "QR designs, link settings, UTM tag sets and landing pages saved once and named in any call with template.",
      "item": [
        {
          "name": "List saved templates",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates"
              ],
              "query": [
                {
                  "key": "type",
                  "value": "",
                  "description": "string. qr, link, utm or page.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Shared with everyone in the account. The ★ default QR and link templates have default: true.\n\nErrors: invalid_type"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "",
                      "description": "string. qr, link, utm or page.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Shared with everyone in the account. The ★ default QR and link templates have default: true.\n\nErrors: invalid_type"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"templates\": [\n    {\n      \"id\": \"6c1e…\",\n      \"type\": \"link\",\n      \"name\": \"Invoice links\",\n      \"default\": true,\n      \"data\": {\n        \"campaign\": \"Invoices\",\n        \"tags\": [\n          \"invoice\"\n        ],\n        \"expires_in\": \"30d\",\n        \"utm\": {\n          \"source\": \"sms\",\n          \"medium\": \"invoice\"\n        },\n        \"qr_template\": \"Brand blue\"\n      },\n      \"created_by\": \"you@company.in\",\n      \"created_at\": \"2026-11-18T09:00:00Z\",\n      \"updated_at\": \"2026-11-18T09:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Ready-made QR designs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates/presets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates",
                "presets"
              ],
              "query": [],
              "variable": []
            },
            "description": "The 14 ready-made designs, usable as template: preset:{id}. plan shows the lowest plan that allows each one.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates/presets",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates",
                    "presets"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "The 14 ready-made designs, usable as template: preset:{id}. plan shows the lowest plan that allows each one.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"presets\": [\n    {\n      \"id\": \"upi\",\n      \"name\": \"Pay with UPI\",\n      \"use\": \"Counters, bills\",\n      \"plan\": \"starter\",\n      \"template\": \"preset:upi\",\n      \"style\": {\n        \"fg\": \"#14532d\",\n        \"frame\": \"label\",\n        \"frame_text\": \"SCAN & PAY\"\n      }\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Save a template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates"
              ],
              "query": [],
              "variable": []
            },
            "description": "Up to 100 of each type. Names are unique within a type.\n\nErrors: invalid_type, name_required, name_taken, invalid_data, invalid_style, invalid_duration, too_many, too_large",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"link\",\n  \"name\": \"Invoice links\",\n  \"default\": true,\n  \"data\": {\n    \"campaign\": \"Invoices\",\n    \"tags\": [\n      \"invoice\"\n    ],\n    \"expires_in\": \"30d\",\n    \"utm\": {\n      \"source\": \"sms\",\n      \"medium\": \"invoice\"\n    },\n    \"qr_template\": \"Brand blue\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Up to 100 of each type. Names are unique within a type.\n\nErrors: invalid_type, name_required, name_taken, invalid_data, invalid_style, invalid_duration, too_many, too_large",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"type\": \"link\",\n  \"name\": \"Invoice links\",\n  \"default\": true,\n  \"data\": {\n    \"campaign\": \"Invoices\",\n    \"tags\": [\n      \"invoice\"\n    ],\n    \"expires_in\": \"30d\",\n    \"utm\": {\n      \"source\": \"sms\",\n      \"medium\": \"invoice\"\n    },\n    \"qr_template\": \"Brand blue\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6c1e…\",\n  \"type\": \"link\",\n  \"name\": \"Invoice links\",\n  \"default\": true,\n  \"data\": {\n    \"campaign\": \"Invoices\",\n    \"tags\": [\n      \"invoice\"\n    ],\n    \"expires_in\": \"30d\",\n    \"utm\": {\n      \"source\": \"sms\",\n      \"medium\": \"invoice\"\n    },\n    \"qr_template\": \"Brand blue\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a template",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "\n\nErrors: template_not_found"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "\n\nErrors: template_not_found"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6c1e…\",\n  \"type\": \"qr\",\n  \"name\": \"Brand blue\",\n  \"default\": true,\n  \"data\": {\n    \"fg\": \"#1f4fd8\",\n    \"dots\": \"rounded\",\n    \"frame\": \"label\",\n    \"frame_text\": \"SCAN ME\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a template",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Send any of name, data (replaces it) and default. Links and QR codes already made are not changed; use Apply a template in the dashboard or PATCH /v1/qr-codes/{id} for those.\n\nErrors: template_not_found, name_taken, invalid_data",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Invoice links (SMS)\",\n  \"default\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Send any of name, data (replaces it) and default. Links and QR codes already made are not changed; use Apply a template in the dashboard or PATCH /v1/qr-codes/{id} for those.\n\nErrors: template_not_found, name_taken, invalid_data",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Invoice links (SMS)\",\n  \"default\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6c1e…\",\n  \"type\": \"link\",\n  \"name\": \"Invoice links (SMS)\",\n  \"default\": false,\n  \"data\": {\n    \"campaign\": \"Invoices\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Duplicate a template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates/:id/duplicate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates",
                ":id",
                "duplicate"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "\n\nErrors: template_not_found",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates/:id/duplicate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates",
                    ":id",
                    "duplicate"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "\n\nErrors: template_not_found",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"9a2b…\",\n  \"type\": \"qr\",\n  \"name\": \"Brand blue copy\",\n  \"default\": false,\n  \"data\": {\n    \"fg\": \"#1f4fd8\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a template",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/saved-templates/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "saved-templates",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Calls that name it afterwards get template_not_found.\n\nErrors: template_not_found"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/saved-templates/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "saved-templates",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Calls that name it afterwards get template_not_found.\n\nErrors: template_not_found"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"deleted\": true\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Analytics and reports",
      "description": "Clicks, unique visitors, devices, places and reports for any slice of links.",
      "item": [
        {
          "name": "Link stats",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/stats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "stats"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. 1–365, default 30.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Clicks by day, country, region, city, device, OS, browser and referrer, plus QR scans."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "stats"
                  ],
                  "query": [
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. 1–365, default 30.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Clicks by day, country, region, city, device, OS, browser and referrer, plus QR scans."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"link\": {\n    \"id\": \"8b0f…\",\n    \"code\": \"diwali\",\n    \"short_url\": \"https://m-bx.to/diwali\",\n    \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n    \"status\": \"active\",\n    \"active_from\": null,\n    \"expires_at\": \"2026-12-31T18:29:59Z\",\n    \"max_clicks\": null,\n    \"clicks\": 1284,\n    \"has_password\": false,\n    \"tags\": [\n      \"sms\",\n      \"festive\"\n    ],\n    \"campaign\": \"diwali-2026\",\n    \"reference\": \"Chennai stores\",\n    \"external_id\": \"ORD-1001\",\n    \"state\": null,\n    \"title\": \"Diwali SMS – Chennai\",\n    \"notes\": null,\n    \"favorite\": false,\n    \"archived\": false,\n    \"redirect_type\": 302,\n    \"fallback_url\": null,\n    \"track_conversions\": true,\n    \"created_at\": \"2026-11-01T09:12:00Z\",\n    \"updated_at\": \"2026-11-02T11:00:00Z\"\n  },\n  \"days\": 30,\n  \"clicks\": 1284,\n  \"unique_clicks\": 1033,\n  \"bot_clicks_filtered\": 61,\n  \"by_day\": [\n    {\n      \"day\": \"2026-11-02\",\n      \"clicks\": 312\n    }\n  ],\n  \"by_city\": [\n    {\n      \"name\": \"Chennai\",\n      \"clicks\": 640\n    }\n  ],\n  \"by_region\": [\n    {\n      \"name\": \"Tamil Nadu\",\n      \"clicks\": 910\n    }\n  ],\n  \"by_device\": [\n    {\n      \"name\": \"Mobile\",\n      \"clicks\": 1102\n    }\n  ],\n  \"by_os\": [\n    {\n      \"name\": \"Android\",\n      \"clicks\": 870\n    }\n  ],\n  \"by_referrer\": [\n    {\n      \"name\": \"Direct\",\n      \"clicks\": 1100\n    }\n  ],\n  \"qr_scans\": 88\n}"
            }
          ]
        },
        {
          "name": "Link insights",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/insights",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "insights"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. 1–365, default 30.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Unique visitors, bots kept apart, hour of day, browsers and apps, languages, cities and the latest 50 clicks."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/insights",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "insights"
                  ],
                  "query": [
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. 1–365, default 30.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Unique visitors, bots kept apart, hour of day, browsers and apps, languages, cities and the latest 50 clicks."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"code\": \"diwali\",\n  \"days\": 30,\n  \"clicks\": 1284,\n  \"bots\": 61,\n  \"unique_visitors\": 1033,\n  \"qr_scans\": 88,\n  \"by_hour\": [\n    {\n      \"hour\": 19,\n      \"clicks\": 140\n    }\n  ],\n  \"by_browser\": [\n    {\n      \"browser\": \"Chrome\",\n      \"clicks\": 820\n    }\n  ],\n  \"by_lang\": [\n    {\n      \"lang\": \"ta\",\n      \"clicks\": 512\n    }\n  ],\n  \"by_city\": [\n    {\n      \"city\": \"Chennai\",\n      \"region\": \"Tamil Nadu\",\n      \"clicks\": 640\n    }\n  ],\n  \"recent\": [\n    {\n      \"id\": 99121,\n      \"at\": \"2026-11-02T13:31:10Z\",\n      \"country\": \"IN\",\n      \"region\": \"Tamil Nadu\",\n      \"city\": \"Chennai\",\n      \"device\": \"Mobile\",\n      \"os\": \"Android\",\n      \"browser\": \"Chrome\",\n      \"referrer\": \"\",\n      \"via\": null,\n      \"lang\": \"ta\",\n      \"is_bot\": false\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Account summary",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/reports/summary",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reports",
                "summary"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "date. YYYY-MM-DD",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "date. YYYY-MM-DD",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Clicks for the whole account over a period, with the previous period for comparison."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/reports/summary",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "reports",
                    "summary"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "",
                      "description": "date. YYYY-MM-DD",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "",
                      "description": "date. YYYY-MM-DD",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Clicks for the whole account over a period, with the previous period for comparison."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"range\": {\n    \"from\": \"2026-10-04\",\n    \"to\": \"2026-11-02\"\n  },\n  \"clicks\": 18220,\n  \"previous\": 15102,\n  \"by_day\": [\n    {\n      \"day\": \"2026-11-02\",\n      \"clicks\": 812\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Report for a slice",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/tags/report",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tags",
                "report"
              ],
              "query": [
                {
                  "key": "tags",
                  "value": "",
                  "description": "string. Comma-separated.",
                  "disabled": true
                },
                {
                  "key": "campaign",
                  "value": "",
                  "description": "string.",
                  "disabled": true
                },
                {
                  "key": "external_id_prefix",
                  "value": "",
                  "description": "string.",
                  "disabled": true
                },
                {
                  "key": "from",
                  "value": "",
                  "description": "date.",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "date.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "The same report for links with given tags, a campaign, or IDs starting with a prefix.\n\nErrors: invalid_range, range_too_long"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/tags/report",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tags",
                    "report"
                  ],
                  "query": [
                    {
                      "key": "tags",
                      "value": "",
                      "description": "string. Comma-separated.",
                      "disabled": true
                    },
                    {
                      "key": "campaign",
                      "value": "",
                      "description": "string.",
                      "disabled": true
                    },
                    {
                      "key": "external_id_prefix",
                      "value": "",
                      "description": "string.",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "",
                      "description": "date.",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "",
                      "description": "date.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "The same report for links with given tags, a campaign, or IDs starting with a prefix.\n\nErrors: invalid_range, range_too_long"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"from_date\": \"2026-10-04\",\n  \"to_date\": \"2026-11-02\",\n  \"label\": \"Tags: sms\",\n  \"clicks\": 9120,\n  \"previous\": 8015,\n  \"links_in_scope\": 240,\n  \"by_day\": [],\n  \"by_tag\": [\n    {\n      \"tag\": \"sms\",\n      \"clicks\": 9120\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Links in a slice as CSV",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/tags/links.csv",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tags",
                "links.csv"
              ],
              "query": [
                {
                  "key": "tags",
                  "value": "",
                  "description": "string.",
                  "disabled": true
                },
                {
                  "key": "campaign",
                  "value": "",
                  "description": "string.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Every link in the slice with its clicks, as a spreadsheet."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/tags/links.csv",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tags",
                    "links.csv"
                  ],
                  "query": [
                    {
                      "key": "tags",
                      "value": "",
                      "description": "string.",
                      "disabled": true
                    },
                    {
                      "key": "campaign",
                      "value": "",
                      "description": "string.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Every link in the slice with its clicks, as a spreadsheet."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/csv"
                }
              ],
              "body": "external_id,code,short_url,destination,…\r\nORD-1001,diwali,https://m-bx.to/diwali,…"
            }
          ]
        },
        {
          "name": "Campaigns",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/campaigns",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "campaigns"
              ],
              "query": [],
              "variable": []
            },
            "description": "Every campaign with its links and clicks."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/campaigns",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "campaigns"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Every campaign with its links and clicks."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"campaigns\": [\n    {\n      \"campaign\": \"diwali-2026\",\n      \"links\": 240,\n      \"active\": 236,\n      \"clicks\": 9120,\n      \"last_created\": \"2026-11-01T09:12:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Who has not clicked",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/campaigns/:name/not-clicked",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "campaigns",
                ":name",
                "not-clicked"
              ],
              "query": [],
              "variable": [
                {
                  "key": "name",
                  "value": "diwali-2026"
                }
              ]
            },
            "description": "Links in a campaign with no clicks yet, for follow-ups."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/campaigns/:name/not-clicked",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "campaigns",
                    ":name",
                    "not-clicked"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "name",
                      "value": "diwali-2026"
                    }
                  ]
                },
                "description": "Links in a campaign with no clicks yet, for follow-ups."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"campaign\": \"diwali-2026\",\n  \"not_clicked\": [\n    {\n      \"code\": \"a1B2c3\",\n      \"reference\": \"Customer 4411\",\n      \"external_id\": \"CUST-4411\"\n    }\n  ],\n  \"truncated\": false\n}"
            }
          ]
        },
        {
          "name": "Tags",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tags"
              ],
              "query": [],
              "variable": []
            },
            "description": "Every tag with how many links use it, and the auto-tag rules."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/tags",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tags"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Every tag with how many links use it, and the auto-tag rules."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"tags\": [\n    {\n      \"tag\": \"sms\",\n      \"links\": 240,\n      \"clicks\": 9120\n    }\n  ],\n  \"rules\": [\n    {\n      \"id\": \"c1…\",\n      \"match_kind\": \"domain\",\n      \"pattern\": \"shop.example.in\",\n      \"tag\": \"shop\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Add an auto-tag rule",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/tags/rules",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tags",
                "rules"
              ],
              "query": [],
              "variable": []
            },
            "description": "New links matching the pattern get the tag. Optionally apply it to existing links.\n\nErrors: invalid_rule, rule_limit",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"match_kind\": \"domain\",\n  \"pattern\": \"shop.example.in\",\n  \"tag\": \"shop\",\n  \"apply_to_existing\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tags/rules",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tags",
                    "rules"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "New links matching the pattern get the tag. Optionally apply it to existing links.\n\nErrors: invalid_rule, rule_limit",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"match_kind\": \"domain\",\n  \"pattern\": \"shop.example.in\",\n  \"tag\": \"shop\",\n  \"apply_to_existing\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"c1…\",\n  \"match_kind\": \"domain\",\n  \"pattern\": \"shop.example.in\",\n  \"tag\": \"shop\",\n  \"applied_to_existing\": 38\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Conversions",
      "description": "Leads, sign-ups and sales credited to the link that brought each visitor.",
      "item": [
        {
          "name": "Track from your website",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/track",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "track"
              ],
              "query": [],
              "variable": []
            },
            "description": "Called by the t.js snippet (mbox.track). Uses the public tracking key, is limited to 60 events a minute per visitor, and records conversions as unverified. The same id for the same event is never counted twice.\n\nErrors: invalid_tracking_key, invalid_event",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"key\": \"{{trackingKey}}\",\n  \"event\": \"purchase\",\n  \"value\": 499,\n  \"currency\": \"INR\",\n  \"id\": \"ORDER-1001\",\n  \"click_id\": 99121\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "202 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/track",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "track"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Called by the t.js snippet (mbox.track). Uses the public tracking key, is limited to 60 events a minute per visitor, and records conversions as unverified. The same id for the same event is never counted twice.\n\nErrors: invalid_tracking_key, invalid_event",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"key\": \"{{trackingKey}}\",\n  \"event\": \"purchase\",\n  \"value\": 499,\n  \"currency\": \"INR\",\n  \"id\": \"ORDER-1001\",\n  \"click_id\": 99121\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 202,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"recorded\",\n  \"id\": 5512,\n  \"attributed\": true\n}"
            }
          ]
        },
        {
          "name": "Record conversions from your server",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/conversions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "conversions"
              ],
              "query": [],
              "variable": []
            },
            "description": "Verified conversions from your back end, CRM or offline sales. Send one event, or events: [...] for up to 1,000. Credit them with click_id (best) or link (the back-half).\n\nErrors: too_many_events, invalid_event",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"events\": [\n    {\n      \"event\": \"purchase\",\n      \"value\": 1299,\n      \"currency\": \"INR\",\n      \"id\": \"ORDER-1002\",\n      \"click_id\": 99140\n    },\n    {\n      \"event\": \"lead\",\n      \"id\": \"ENQ-77\",\n      \"link\": \"diwali\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/conversions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "conversions"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Verified conversions from your back end, CRM or offline sales. Send one event, or events: [...] for up to 1,000. Credit them with click_id (best) or link (the back-half).\n\nErrors: too_many_events, invalid_event",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    {\n      \"event\": \"purchase\",\n      \"value\": 1299,\n      \"currency\": \"INR\",\n      \"id\": \"ORDER-1002\",\n      \"click_id\": 99140\n    },\n    {\n      \"event\": \"lead\",\n      \"id\": \"ENQ-77\",\n      \"link\": \"diwali\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"results\": [\n    {\n      \"status\": \"recorded\",\n      \"id\": 5513,\n      \"attributed\": true\n    },\n    {\n      \"status\": \"recorded\",\n      \"id\": 5514,\n      \"attributed\": true\n    }\n  ],\n  \"recorded\": 2,\n  \"duplicates\": 0\n}"
            }
          ]
        },
        {
          "name": "Conversion report",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/conversions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "conversions"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. 1–400, default 30.",
                  "disabled": true
                },
                {
                  "key": "model",
                  "value": "",
                  "description": "string. last (default) or first click.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Totals, by link, by campaign (with spend, CAC and ROAS) and per day, plus the latest 100 events."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/conversions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "conversions"
                  ],
                  "query": [
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. 1–400, default 30.",
                      "disabled": true
                    },
                    {
                      "key": "model",
                      "value": "",
                      "description": "string. last (default) or first click.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Totals, by link, by campaign (with spend, CAC and ROAS) and per day, plus the latest 100 events."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"days\": 30,\n  \"model\": \"last\",\n  \"clicks\": 18220,\n  \"totals\": {\n    \"leads\": 210,\n    \"signups\": 96,\n    \"purchases\": 64,\n    \"custom\": 0,\n    \"revenue\": 48210,\n    \"unattributed\": 3\n  },\n  \"by_link\": [\n    {\n      \"code\": \"diwali\",\n      \"title\": \"Diwali SMS – Chennai\",\n      \"campaign\": \"diwali-2026\",\n      \"clicks\": 1284,\n      \"leads\": 41,\n      \"signups\": 12,\n      \"purchases\": 18,\n      \"revenue\": 15402\n    }\n  ],\n  \"by_campaign\": [\n    {\n      \"campaign\": \"diwali-2026\",\n      \"leads\": 120,\n      \"signups\": 60,\n      \"purchases\": 40,\n      \"revenue\": 30110,\n      \"budget\": 12000,\n      \"cac\": 120,\n      \"roas\": 2.51\n    }\n  ],\n  \"by_day\": [\n    {\n      \"day\": \"2026-11-02\",\n      \"conversions\": 22,\n      \"revenue\": 3210\n    }\n  ],\n  \"recent\": []\n}"
            }
          ]
        },
        {
          "name": "Conversions as CSV",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/conversions/export",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "conversions",
                "export"
              ],
              "query": [],
              "variable": []
            },
            "description": ""
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/conversions/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "conversions",
                    "export"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": ""
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/csv"
                }
              ],
              "body": "at,event,name,value,currency,order_id,source,verified,click_id,link,campaign\r\n2026-11-02T13:40:00Z,purchase,,499,INR,ORDER-1001,web,false,99121,diwali,diwali-2026"
            }
          ]
        },
        {
          "name": "Tracking key and snippet",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/conversions/setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "conversions",
                "setup"
              ],
              "query": [],
              "variable": []
            },
            "description": "Creates the key the first time. POST /v1/conversions/setup/rotate replaces it."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/conversions/setup",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "conversions",
                    "setup"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Creates the key the first time. POST /v1/conversions/setup/rotate replaces it."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"tracking_key\": \"mbx_pk_XXXXXXXXXXXXXXXXXXXXXXXX\",\n  \"snippet\": \"<script src=\\\"https://m-box.in/t.js\\\" data-key=\\\"mbx_pk_…\\\" defer></script>\"\n}"
            }
          ]
        },
        {
          "name": "Campaign spend",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/campaign-budgets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "campaign-budgets"
              ],
              "query": [],
              "variable": []
            },
            "description": "What you spent on a campaign, for CAC and ROAS. GET lists them.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"campaign\": \"diwali-2026\",\n  \"budget\": 12000,\n  \"currency\": \"INR\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/campaign-budgets",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "campaign-budgets"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "What you spent on a campaign, for CAC and ROAS. GET lists them.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"campaign\": \"diwali-2026\",\n  \"budget\": 12000,\n  \"currency\": \"INR\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"org_id\": \"…\",\n  \"campaign\": \"diwali-2026\",\n  \"budget\": 12000,\n  \"currency\": \"INR\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Bulk and imports",
      "description": "Thousands of links at once from JSON or a CSV file.",
      "item": [
        {
          "name": "Create links in bulk",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/links/bulk",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                "bulk"
              ],
              "query": [],
              "variable": []
            },
            "description": "Up to 1,000 links in one call. Each row can have the same fields as Create a link; shared fields apply to all. A top-level template applies to every row; a row's own template or utm_template wins.\n\nErrors: links_required, too_many_links, quota_exceeded, template_not_found",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"campaign\": \"diwali-2026\",\n  \"tags\": [\n    \"sms\"\n  ],\n  \"expires_in\": \"30d\",\n  \"links\": [\n    {\n      \"url\": \"https://shop.example.in/p/1\",\n      \"external_id\": \"CUST-1\"\n    },\n    {\n      \"url\": \"https://shop.example.in/p/2\",\n      \"external_id\": \"CUST-2\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    "bulk"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Up to 1,000 links in one call. Each row can have the same fields as Create a link; shared fields apply to all. A top-level template applies to every row; a row's own template or utm_template wins.\n\nErrors: links_required, too_many_links, quota_exceeded, template_not_found",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"campaign\": \"diwali-2026\",\n  \"tags\": [\n    \"sms\"\n  ],\n  \"expires_in\": \"30d\",\n  \"links\": [\n    {\n      \"url\": \"https://shop.example.in/p/1\",\n      \"external_id\": \"CUST-1\"\n    },\n    {\n      \"url\": \"https://shop.example.in/p/2\",\n      \"external_id\": \"CUST-2\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"created\": 2,\n  \"existing\": 0,\n  \"failed\": 0,\n  \"links\": [\n    {\n      \"id\": \"8b0f…\",\n      \"code\": \"diwali\",\n      \"short_url\": \"https://m-bx.to/diwali\",\n      \"url\": \"https://shop.example.in/sale?utm_source=sms\",\n      \"status\": \"active\",\n      \"active_from\": null,\n      \"expires_at\": \"2026-12-31T18:29:59Z\",\n      \"max_clicks\": null,\n      \"clicks\": 1284,\n      \"has_password\": false,\n      \"tags\": [\n        \"sms\",\n        \"festive\"\n      ],\n      \"campaign\": \"diwali-2026\",\n      \"reference\": \"Chennai stores\",\n      \"external_id\": \"ORD-1001\",\n      \"state\": null,\n      \"title\": \"Diwali SMS – Chennai\",\n      \"notes\": null,\n      \"favorite\": false,\n      \"archived\": false,\n      \"redirect_type\": 302,\n      \"fallback_url\": null,\n      \"track_conversions\": true,\n      \"created_at\": \"2026-11-01T09:12:00Z\",\n      \"updated_at\": \"2026-11-02T11:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Import a file",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/imports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports"
              ],
              "query": [],
              "variable": []
            },
            "description": "multipart/form-data with a CSV file (field file), or JSON rows. CSV only: an Excel file is refused with csv_only (save it as CSV UTF-8). Sample file: https://m-box.in/downloads/mbox-sample-import.csv. Add ?format=csv to get your file back with a short_url column.\n\nErrors: file_required, csv_only, column_not_found, empty_file, too_many_rows, quota_exceeded",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": ""
                },
                {
                  "key": "url_column",
                  "value": "",
                  "description": "Default url.",
                  "disabled": true
                },
                {
                  "key": "external_id_column",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "campaign",
                  "value": "",
                  "description": "Applied to every row.",
                  "disabled": true
                }
              ]
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "multipart/form-data with a CSV file (field file), or JSON rows. CSV only: an Excel file is refused with csv_only (save it as CSV UTF-8). Sample file: https://m-box.in/downloads/mbox-sample-import.csv. Add ?format=csv to get your file back with a short_url column.\n\nErrors: file_required, csv_only, column_not_found, empty_file, too_many_rows, quota_exceeded",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "file",
                      "type": "file",
                      "src": ""
                    },
                    {
                      "key": "url_column",
                      "value": "",
                      "description": "Default url.",
                      "disabled": true
                    },
                    {
                      "key": "external_id_column",
                      "value": "",
                      "description": "",
                      "disabled": true
                    },
                    {
                      "key": "campaign",
                      "value": "",
                      "description": "Applied to every row.",
                      "disabled": true
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"f2a0…\",\n  \"status\": \"completed\",\n  \"total\": 5000,\n  \"created\": 4995,\n  \"existing\": 3,\n  \"failed\": 2,\n  \"errors\": [\n    {\n      \"row\": 18,\n      \"error\": \"invalid_url\"\n    }\n  ],\n  \"results\": [\n    {\n      \"row\": 2,\n      \"external_id\": \"CUST-1\",\n      \"short_url\": \"https://m-bx.to/a1B2c3\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Background import (recommended)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/async",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "async"
              ],
              "query": [],
              "variable": []
            },
            "description": "Answers at once (202) and imports on the server, any size up to 2 GB. Give file_url (a public https CSV), or size to get upload links (then PUT each piece and call Start), or send the file as multipart (up to 25 MB). Rows are read in order and written in parts of 5,000; parts are idempotent and missing parts are written again before the import closes. Every step is in the log. With callback_url, a signed POST is sent when it ends (import.completed, import.stopped or import.failed), retried after 1 min, 5 min, 30 min and 2 h. Check x-mbox-signature: t=<unix time>,v1=HMAC-SHA256(callback_secret, \"<t>.<raw body>\"). The SDKs do all of this: imports.async() and import_async().\n\nErrors: invalid_file_url, file_url_unreachable, file_too_large, size_required, invalid_callback_url, csv_only, quota_exceeded, too_many_imports",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"file_url\": \"https://files.yourshop.in/exports/customers.csv\",\n  \"callback_url\": \"https://yourapp.in/hooks/m-box\",\n  \"campaign\": \"diwali-2026\",\n  \"tags\": [\n    \"sms\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "202 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/async",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "async"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Answers at once (202) and imports on the server, any size up to 2 GB. Give file_url (a public https CSV), or size to get upload links (then PUT each piece and call Start), or send the file as multipart (up to 25 MB). Rows are read in order and written in parts of 5,000; parts are idempotent and missing parts are written again before the import closes. Every step is in the log. With callback_url, a signed POST is sent when it ends (import.completed, import.stopped or import.failed), retried after 1 min, 5 min, 30 min and 2 h. Check x-mbox-signature: t=<unix time>,v1=HMAC-SHA256(callback_secret, \"<t>.<raw body>\"). The SDKs do all of this: imports.async() and import_async().\n\nErrors: invalid_file_url, file_url_unreachable, file_too_large, size_required, invalid_callback_url, csv_only, quota_exceeded, too_many_imports",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"file_url\": \"https://files.yourshop.in/exports/customers.csv\",\n  \"callback_url\": \"https://yourapp.in/hooks/m-box\",\n  \"campaign\": \"diwali-2026\",\n  \"tags\": [\n    \"sms\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 202,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"3c9e…\",\n  \"status\": \"running\",\n  \"filename\": \"customers.csv\",\n  \"total\": 40000,\n  \"created\": 39960,\n  \"existing\": 0,\n  \"failed\": 40,\n  \"reason\": null,\n  \"progress\": {\n    \"rows_done\": 40000,\n    \"bytes_done\": 2531840,\n    \"bytes\": 6320953,\n    \"percent\": 40.1\n  },\n  \"callback\": {\n    \"url\": \"https://yourapp.in/hooks/m-box\",\n    \"status\": \"waiting\",\n    \"attempts\": 0,\n    \"next_attempt_at\": null\n  },\n  \"links\": {\n    \"status\": \"https://m-box.in/api/v1/imports/async/3c9e…\",\n    \"log\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/events\",\n    \"results_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/results.csv\",\n    \"errors_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/errors.csv\"\n  },\n  \"callback_secret\": \"whsec_9f2c…\"\n}"
            }
          ]
        },
        {
          "name": "Start after uploading",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/async/:id/start",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "async",
                ":id",
                "start"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "After PUTting every piece from upload.pieces. Checks the pieces are there and starts the import.\n\nErrors: upload_incomplete, already_started, import_not_found",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "202 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/async/:id/start",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "async",
                    ":id",
                    "start"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "After PUTting every piece from upload.pieces. Checks the pieces are there and starts the import.\n\nErrors: upload_incomplete, already_started, import_not_found",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 202,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"3c9e…\",\n  \"status\": \"running\",\n  \"filename\": \"customers.csv\",\n  \"total\": 40000,\n  \"created\": 39960,\n  \"existing\": 0,\n  \"failed\": 40,\n  \"reason\": null,\n  \"progress\": {\n    \"rows_done\": 40000,\n    \"bytes_done\": 2531840,\n    \"bytes\": 6320953,\n    \"percent\": 40.1\n  },\n  \"callback\": {\n    \"url\": \"https://yourapp.in/hooks/m-box\",\n    \"status\": \"waiting\",\n    \"attempts\": 0,\n    \"next_attempt_at\": null\n  },\n  \"links\": {\n    \"status\": \"https://m-box.in/api/v1/imports/async/3c9e…\",\n    \"log\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/events\",\n    \"results_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/results.csv\",\n    \"errors_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/errors.csv\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Background import status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/async/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "async",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Status, counts, progress (rows and bytes done) and the callback's state.\n\nErrors: import_not_found"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/async/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "async",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Status, counts, progress (rows and bytes done) and the callback's state.\n\nErrors: import_not_found"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"3c9e…\",\n  \"status\": \"running\",\n  \"filename\": \"customers.csv\",\n  \"total\": 40000,\n  \"created\": 39960,\n  \"existing\": 0,\n  \"failed\": 40,\n  \"reason\": null,\n  \"progress\": {\n    \"rows_done\": 40000,\n    \"bytes_done\": 2531840,\n    \"bytes\": 6320953,\n    \"percent\": 40.1\n  },\n  \"callback\": {\n    \"url\": \"https://yourapp.in/hooks/m-box\",\n    \"status\": \"waiting\",\n    \"attempts\": 0,\n    \"next_attempt_at\": null\n  },\n  \"links\": {\n    \"status\": \"https://m-box.in/api/v1/imports/async/3c9e…\",\n    \"log\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/events\",\n    \"results_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/results.csv\",\n    \"errors_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/errors.csv\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Import log",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/jobs/:id/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "jobs",
                ":id",
                "events"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. Up to 2,000 steps; default 500.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Every step of any import (created, file received, started, parts written with speed, repairs, finished or stopped and why) and every callback attempt with its HTTP answer and time.\n\nErrors: import_not_found"
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/jobs/:id/events",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "jobs",
                    ":id",
                    "events"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. Up to 2,000 steps; default 500.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Every step of any import (created, file received, started, parts written with speed, repairs, finished or stopped and why) and every callback attempt with its HTTP answer and time.\n\nErrors: import_not_found"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job\": {\n    \"job_id\": \"3c9e…\",\n    \"status\": \"running\",\n    \"filename\": \"customers.csv\",\n    \"total\": 40000,\n    \"created\": 39960,\n    \"existing\": 0,\n    \"failed\": 40,\n    \"reason\": null,\n    \"progress\": {\n      \"rows_done\": 40000,\n      \"bytes_done\": 2531840,\n      \"bytes\": 6320953,\n      \"percent\": 40.1\n    },\n    \"callback\": {\n      \"url\": \"https://yourapp.in/hooks/m-box\",\n      \"status\": \"waiting\",\n      \"attempts\": 0,\n      \"next_attempt_at\": null\n    },\n    \"links\": {\n      \"status\": \"https://m-box.in/api/v1/imports/async/3c9e…\",\n      \"log\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/events\",\n      \"results_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/results.csv\",\n      \"errors_csv\": \"https://m-box.in/api/v1/imports/jobs/3c9e…/errors.csv\"\n    }\n  },\n  \"events\": [\n    {\n      \"id\": 1,\n      \"at\": \"2026-11-18T09:00:01Z\",\n      \"kind\": \"started\",\n      \"detail\": {\n        \"columns\": [\n          \"url\",\n          \"reference\",\n          \"unique_id\"\n        ],\n        \"delimiter\": \",\"\n      }\n    },\n    {\n      \"id\": 2,\n      \"at\": \"2026-11-18T09:00:12Z\",\n      \"kind\": \"progress\",\n      \"detail\": {\n        \"parts\": [\n          1,\n          2,\n          3,\n          4,\n          5,\n          6,\n          7,\n          8\n        ],\n        \"rows\": 40000,\n        \"created\": 39960,\n        \"failed\": 40,\n        \"ms\": 10748,\n        \"rows_per_second\": 3721\n      }\n    },\n    {\n      \"id\": 3,\n      \"at\": \"2026-11-18T09:00:13Z\",\n      \"kind\": \"callback_delivered\",\n      \"detail\": {\n        \"attempt\": 1,\n        \"status_code\": 200,\n        \"ms\": 182\n      }\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Set or resend an import callback",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/jobs/:id/callback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "jobs",
                ":id",
                "callback"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Works for every import. On a finished import the callback is sent again now. callback_url: null removes it. new_secret: true makes a new signing secret.\n\nErrors: invalid_callback_url, import_not_found",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"callback_url\": \"https://yourapp.in/hooks/m-box\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/jobs/:id/callback",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "jobs",
                    ":id",
                    "callback"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Works for every import. On a finished import the callback is sent again now. callback_url: null removes it. new_secret: true makes a new signing secret.\n\nErrors: invalid_callback_url, import_not_found",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"callback_url\": \"https://yourapp.in/hooks/m-box\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"3c9e…\",\n  \"callback_url\": \"https://yourapp.in/hooks/m-box\",\n  \"sending\": true\n}"
            }
          ]
        },
        {
          "name": "Start a very large import",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "jobs"
              ],
              "query": [],
              "variable": []
            },
            "description": "For files of lakhs of rows (up to 1 crore on Enterprise). Starts a job and reserves the month's allowance once; what is not used is given back when the job finishes, or after 2 hours without new parts. Then send the rows in numbered parts of 5,000, up to 6 at a time.\n\nErrors: invalid_total, too_many_rows, quota_exceeded, storage_full, access_limited",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"filename\": \"customers.csv\",\n  \"total\": 2000000,\n  \"campaign\": \"diwali-2026\",\n  \"tags\": [\n    \"sms\"\n  ],\n  \"expires_in\": \"30d\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "jobs"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "For files of lakhs of rows (up to 1 crore on Enterprise). Starts a job and reserves the month's allowance once; what is not used is given back when the job finishes, or after 2 hours without new parts. Then send the rows in numbered parts of 5,000, up to 6 at a time.\n\nErrors: invalid_total, too_many_rows, quota_exceeded, storage_full, access_limited",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"filename\": \"customers.csv\",\n  \"total\": 2000000,\n  \"campaign\": \"diwali-2026\",\n  \"tags\": [\n    \"sms\"\n  ],\n  \"expires_in\": \"30d\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"7c1e…\",\n  \"part_rows\": 5000,\n  \"parts\": 400,\n  \"parallel\": 6,\n  \"host\": \"m-bx.to\"\n}"
            }
          ]
        },
        {
          "name": "Send a part",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/jobs/:job_id/parts/:n",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "jobs",
                ":job_id",
                "parts",
                ":n"
              ],
              "query": [],
              "variable": [
                {
                  "key": "job_id",
                  "value": ""
                },
                {
                  "key": "n",
                  "value": ""
                }
              ]
            },
            "description": "Rows as [row, url, reference, alias, unique_id, title]. Compress the body with gzip and add the header x-mbox-encoding: gzip to send about 8 times less. Sending a part again returns its first answer and never creates links twice, so retry freely after a timeout. codes follows your row order: a short code, =host/code when the unique ID already had a link, or !reason.\n\nErrors: invalid_part, too_many_rows, part_too_large, part_busy, import_closed",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"rows\": [\n    [\n      0,\n      \"https://shop.example.in/p/1\",\n      \"Asha\",\n      null,\n      \"CUST-1\",\n      null\n    ],\n    [\n      1,\n      \"not a url\",\n      null,\n      null,\n      null,\n      null\n    ]\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/jobs/:job_id/parts/:n",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "jobs",
                    ":job_id",
                    "parts",
                    ":n"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "job_id",
                      "value": ""
                    },
                    {
                      "key": "n",
                      "value": ""
                    }
                  ]
                },
                "description": "Rows as [row, url, reference, alias, unique_id, title]. Compress the body with gzip and add the header x-mbox-encoding: gzip to send about 8 times less. Sending a part again returns its first answer and never creates links twice, so retry freely after a timeout. codes follows your row order: a short code, =host/code when the unique ID already had a link, or !reason.\n\nErrors: invalid_part, too_many_rows, part_too_large, part_busy, import_closed",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"rows\": [\n    [\n      0,\n      \"https://shop.example.in/p/1\",\n      \"Asha\",\n      null,\n      \"CUST-1\",\n      null\n    ],\n    [\n      1,\n      \"not a url\",\n      null,\n      null,\n      null,\n      null\n    ]\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"seq\": 1,\n  \"created\": 1,\n  \"existing\": 0,\n  \"failed\": 1,\n  \"ms\": 1350,\n  \"codes\": [\n    \"a1B2c3D\",\n    \"!invalid_url\"\n  ]\n}"
            }
          ]
        },
        {
          "name": "Import progress",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/jobs/:job_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "jobs",
                ":job_id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "job_id",
                  "value": ""
                }
              ]
            },
            "description": "Rows done so far. GET /v1/imports/jobs/{job_id}/parts/{n} returns a part's answer again (kept 14 days)."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/jobs/:job_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "jobs",
                    ":job_id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "job_id",
                      "value": ""
                    }
                  ]
                },
                "description": "Rows done so far. GET /v1/imports/jobs/{job_id}/parts/{n} returns a part's answer again (kept 14 days)."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"7c1e…\",\n  \"status\": \"running\",\n  \"total\": 2000000,\n  \"done\": 1250000,\n  \"created\": 1249870,\n  \"existing\": 100,\n  \"failed\": 30,\n  \"parts\": 400,\n  \"parts_done\": 250\n}"
            }
          ]
        },
        {
          "name": "Finish an import",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/imports/jobs/:job_id/finish",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports",
                "jobs",
                ":job_id",
                "finish"
              ],
              "query": [],
              "variable": [
                {
                  "key": "job_id",
                  "value": ""
                }
              ]
            },
            "description": "Closes the job and gives back the allowance for rows not created. Send {\"stopped\": true} when you stop early."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports/jobs/:job_id/finish",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports",
                    "jobs",
                    ":job_id",
                    "finish"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "job_id",
                      "value": ""
                    }
                  ]
                },
                "description": "Closes the job and gives back the allowance for rows not created. Send {\"stopped\": true} when you stop early."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"job_id\": \"7c1e…\",\n  \"status\": \"completed\",\n  \"total\": 2000000,\n  \"created\": 1999870,\n  \"existing\": 100,\n  \"failed\": 30,\n  \"returned_allowance\": 130\n}"
            }
          ]
        },
        {
          "name": "Import history",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/imports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "imports"
              ],
              "query": [],
              "variable": []
            },
            "description": "GET /v1/imports/{id} returns one, with the first 500 row errors."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/imports",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "imports"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "GET /v1/imports/{id} returns one, with the first 500 row errors."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"imports\": [\n    {\n      \"id\": \"f2a0…\",\n      \"filename\": \"customers.csv\",\n      \"total\": 5000,\n      \"created\": 4995,\n      \"failed\": 2,\n      \"status\": \"completed\",\n      \"created_at\": \"2026-11-02T10:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Landing pages",
      "description": "Pages built with blocks or your own code, with enquiries and taps.",
      "item": [
        {
          "name": "List pages",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/pages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pages"
              ],
              "query": [],
              "variable": []
            },
            "description": ""
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/pages",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pages"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": ""
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"limit\": 10,\n  \"pages\": [\n    {\n      \"id\": \"9d2…\",\n      \"slug\": \"lakshmi-stores\",\n      \"url\": \"https://m-box.in/p/lakshmi-stores\",\n      \"title\": \"Sri Lakshmi Stores\",\n      \"published\": true,\n      \"mode\": \"blocks\",\n      \"views_30d\": 812,\n      \"clicks_30d\": 233,\n      \"leads\": 14\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Create a page",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/pages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pages"
              ],
              "query": [],
              "variable": []
            },
            "description": "mode blocks (with blocks) or code (with code_html). Block types: profile, heading, text, button, image, video, social, whatsapp, contact, upi, countdown, faq, form, map, divider, html.\n\nErrors: invalid_slug, slug_taken, page_limit, password_field, invalid_blocks, code_too_long",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Sri Lakshmi Stores\",\n  \"slug\": \"lakshmi-stores\",\n  \"mode\": \"blocks\",\n  \"published\": true,\n  \"blocks\": [\n    {\n      \"id\": \"p1\",\n      \"type\": \"profile\",\n      \"name\": \"Sri Lakshmi Stores\",\n      \"subtitle\": \"Wholesale textiles\"\n    },\n    {\n      \"id\": \"b1\",\n      \"type\": \"whatsapp\",\n      \"phone\": \"919876543210\",\n      \"label\": \"Order on WhatsApp\"\n    }\n  ],\n  \"design\": {\n    \"theme\": \"saffron\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/pages",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pages"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "mode blocks (with blocks) or code (with code_html). Block types: profile, heading, text, button, image, video, social, whatsapp, contact, upi, countdown, faq, form, map, divider, html.\n\nErrors: invalid_slug, slug_taken, page_limit, password_field, invalid_blocks, code_too_long",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Sri Lakshmi Stores\",\n  \"slug\": \"lakshmi-stores\",\n  \"mode\": \"blocks\",\n  \"published\": true,\n  \"blocks\": [\n    {\n      \"id\": \"p1\",\n      \"type\": \"profile\",\n      \"name\": \"Sri Lakshmi Stores\",\n      \"subtitle\": \"Wholesale textiles\"\n    },\n    {\n      \"id\": \"b1\",\n      \"type\": \"whatsapp\",\n      \"phone\": \"919876543210\",\n      \"label\": \"Order on WhatsApp\"\n    }\n  ],\n  \"design\": {\n    \"theme\": \"saffron\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"9d2…\",\n  \"slug\": \"lakshmi-stores\",\n  \"url\": \"https://m-box.in/p/lakshmi-stores\",\n  \"published\": true\n}"
            }
          ]
        },
        {
          "name": "Change a page",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/pages/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pages",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "GET returns it; DELETE removes it; POST /duplicate copies it.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"published\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/pages/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pages",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "GET returns it; DELETE removes it; POST /duplicate copies it.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"published\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"9d2…\",\n  \"published\": false\n}"
            }
          ]
        },
        {
          "name": "Page stats",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/pages/:id/stats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pages",
                ":id",
                "stats"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "integer.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": ""
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/pages/:id/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pages",
                    ":id",
                    "stats"
                  ],
                  "query": [
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": ""
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"days\": 30,\n  \"views\": 812,\n  \"clicks\": 233,\n  \"leads\": 14,\n  \"click_rate\": 28.7,\n  \"by_day\": [],\n  \"by_block\": [\n    {\n      \"id\": \"b1\",\n      \"type\": \"whatsapp\",\n      \"label\": \"Order on WhatsApp\",\n      \"clicks\": 120\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Enquiries",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/pages/:id/leads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pages",
                ":id",
                "leads"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Form submissions. Add ?format=csv for a spreadsheet."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/pages/:id/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pages",
                    ":id",
                    "leads"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Form submissions. Add ?format=csv for a spreadsheet."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"leads\": [\n    {\n      \"id\": 41,\n      \"block_id\": \"f1\",\n      \"data\": {\n        \"name\": \"Priya\",\n        \"phone\": \"98xxxxxx10\"\n      },\n      \"created_at\": \"2026-11-02T08:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Upload an image",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/uploads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "uploads"
              ],
              "query": [],
              "variable": []
            },
            "description": "multipart/form-data, field file: PNG, JPEG, WebP or GIF up to 2 MB. Use the URL in pages or as a QR logo.\n\nErrors: file_required, unsupported_image, image_too_large"
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/uploads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "uploads"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "multipart/form-data, field file: PNG, JPEG, WebP or GIF up to 2 MB. Use the URL in pages or as a QR logo.\n\nErrors: file_required, unsupported_image, image_too_large"
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"url\": \"https://…/page-assets/…/a1b2.png\",\n  \"bytes\": 48210\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Dashboards and email reports",
      "description": "Read-only live dashboards and scheduled email reports.",
      "item": [
        {
          "name": "Create a live dashboard",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/shares",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "shares"
              ],
              "query": [],
              "variable": []
            },
            "description": "A read-only page anyone with the link can open. Destinations and references are never shown.\n\nErrors: invalid_days, share_limit",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Diwali for the client\",\n  \"campaign\": \"diwali-2026\",\n  \"days\": 30,\n  \"expires_in_days\": 60\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/shares",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "shares"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "A read-only page anyone with the link can open. Destinations and references are never shown.\n\nErrors: invalid_days, share_limit",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Diwali for the client\",\n  \"campaign\": \"diwali-2026\",\n  \"days\": 30,\n  \"expires_in_days\": 60\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"b81…\",\n  \"name\": \"Diwali for the client\",\n  \"url\": \"https://m-box.in/r/Abc…\",\n  \"active\": true,\n  \"views\": 0\n}"
            }
          ]
        },
        {
          "name": "Open a dashboard's data",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/shared/:token",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "shared",
                ":token"
              ],
              "query": [],
              "variable": [
                {
                  "key": "token",
                  "value": "REPLACE_WITH_TOKEN"
                }
              ]
            },
            "description": "\n\nErrors: not_found",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/shared/:token",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "shared",
                    ":token"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "token",
                      "value": "REPLACE_WITH_TOKEN"
                    }
                  ]
                },
                "description": "\n\nErrors: not_found",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"name\": \"Diwali for the client\",\n  \"clicks\": 9120,\n  \"by_day\": []\n}"
            }
          ]
        },
        {
          "name": "Schedule an email report",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/report-schedules",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "report-schedules"
              ],
              "query": [],
              "variable": []
            },
            "description": "Daily, weekly or monthly at 9:00 in your account's time zone. POST /{id}/send sends one now.\n\nErrors: invalid_recipients, invalid_frequency, schedule_limit",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Weekly SMS report\",\n  \"recipients\": [\n    \"owner@example.in\"\n  ],\n  \"frequency\": \"weekly\",\n  \"tags\": [\n    \"sms\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/report-schedules",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "report-schedules"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Daily, weekly or monthly at 9:00 in your account's time zone. POST /{id}/send sends one now.\n\nErrors: invalid_recipients, invalid_frequency, schedule_limit",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Weekly SMS report\",\n  \"recipients\": [\n    \"owner@example.in\"\n  ],\n  \"frequency\": \"weekly\",\n  \"tags\": [\n    \"sms\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e4…\",\n  \"name\": \"Weekly SMS report\",\n  \"frequency\": \"weekly\",\n  \"next_run_at\": \"2026-11-09T03:30:00Z\",\n  \"scope_label\": \"Tags: sms\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Webhooks and domains",
      "description": "Real-time events, and short links on your own domain.",
      "item": [
        {
          "name": "Add a webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks"
              ],
              "query": [],
              "variable": []
            },
            "description": "M-Box POSTs link.clicked events to your https address within seconds. Check X-Mbox-Signature: HMAC-SHA256 of the raw body with your secret. Up to 5 per account. POST /{id}/test sends a test; GET /v1/webhooks/deliveries shows results.\n\nErrors: invalid_url, too_many_webhooks",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://hooks.example.in/mbox\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "M-Box POSTs link.clicked events to your https address within seconds. Check X-Mbox-Signature: HMAC-SHA256 of the raw body with your secret. Up to 5 per account. POST /{id}/test sends a test; GET /v1/webhooks/deliveries shows results.\n\nErrors: invalid_url, too_many_webhooks",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://hooks.example.in/mbox\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"7a…\",\n  \"url\": \"https://hooks.example.in/mbox\",\n  \"events\": [\n    \"link.clicked\"\n  ],\n  \"active\": true,\n  \"secret\": \"whsec_…\",\n  \"note\": \"Store this signing secret now. It is shown only once.\"\n}"
            }
          ]
        },
        {
          "name": "Add a custom domain",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/domains",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "domains"
              ],
              "query": [],
              "variable": []
            },
            "description": "Then create the CNAME record shown. GET lists domains; DELETE /{id} removes one.\n\nErrors: invalid_hostname, domain_taken",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"hostname\": \"go.yourbrand.in\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/domains",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "domains"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Then create the CNAME record shown. GET lists domains; DELETE /{id} removes one.\n\nErrors: invalid_hostname, domain_taken",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"hostname\": \"go.yourbrand.in\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"d1…\",\n  \"hostname\": \"go.yourbrand.in\",\n  \"status\": \"pending\",\n  \"dns\": {\n    \"type\": \"CNAME\",\n    \"name\": \"go.yourbrand.in\",\n    \"value\": \"m-box-xq1x.netlify.app\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Retry a webhook delivery",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/deliveries/:id/retry",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                "deliveries",
                ":id",
                "retry"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Sends the same body and signature again now. Failed deliveries are also retried automatically after 1 minute, 5 minutes, 30 minutes and 2 hours; X-Mbox-Attempt says which try it is.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/deliveries/:id/retry",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    "deliveries",
                    ":id",
                    "retry"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Sends the same body and signature again now. Failed deliveries are also retried automatically after 1 minute, 5 minutes, 30 minutes and 2 hours; X-Mbox-Attempt says which try it is.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"retried\": true,\n  \"delivery_id\": 88\n}"
            }
          ]
        },
        {
          "name": "Domain home and not-found pages",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/domains/:id/pages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "domains",
                ":id",
                "pages"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Where the bare domain (https://go.yourbrand.in/) and unknown codes on it send visitors. Empty values show the standard M-Box page.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"root_url\": \"https://yourbrand.in\",\n  \"not_found_url\": \"https://yourbrand.in/offers\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/domains/:id/pages",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "domains",
                    ":id",
                    "pages"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Where the bare domain (https://go.yourbrand.in/) and unknown codes on it send visitors. Empty values show the standard M-Box page.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"root_url\": \"https://yourbrand.in\",\n  \"not_found_url\": \"https://yourbrand.in/offers\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"d1…\",\n  \"hostname\": \"go.yourbrand.in\",\n  \"status\": \"active\",\n  \"root_url\": \"https://yourbrand.in\",\n  \"not_found_url\": \"https://yourbrand.in/offers\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Account, keys and logs",
      "description": "Plan limits, API keys, audit history, request logs and failures.",
      "item": [
        {
          "name": "Who am I",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "me"
              ],
              "query": [],
              "variable": []
            },
            "description": "The account, your role, plan limits and this month's usage."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "me"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "The account, your role, plan limits and this month's usage."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"organisation\": {\n    \"id\": \"…\",\n    \"name\": \"Lakshmi Stores\",\n    \"plan\": \"growth\",\n    \"status\": \"active\"\n  },\n  \"role\": \"developer\",\n  \"limits\": {\n    \"links_per_month\": 50000,\n    \"rows_per_import\": 50000,\n    \"qr_codes_per_month\": 10,\n    \"custom_back_halves_per_month\": null\n  },\n  \"usage\": {\n    \"links_created\": 1840,\n    \"clicks\": 18220,\n    \"qr_codes\": 3,\n    \"custom_back_halves\": 12\n  }\n}"
            }
          ]
        },
        {
          "name": "Usage by month",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/usage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "usage"
              ],
              "query": [],
              "variable": []
            },
            "description": ""
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/usage",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "usage"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": ""
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"plan\": \"growth\",\n  \"limits\": {\n    \"links\": 50000,\n    \"rows\": 50000,\n    \"qr_codes\": 10,\n    \"custom_back_halves\": null\n  },\n  \"months\": [\n    {\n      \"month\": \"2026-11-01\",\n      \"links_created\": 1840,\n      \"clicks\": 18220,\n      \"qr_codes\": 3,\n      \"aliases\": 12\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Failures and reasons",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/failures",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "failures"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. 1–90, default 7.",
                  "disabled": true
                },
                {
                  "key": "kind",
                  "value": "",
                  "description": "string. api, import, webhook, workflow, schedule or report.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Failed API calls, imports, webhook deliveries, workflow runs, scheduled changes and email reports, each with the reason."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/failures",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "failures"
                  ],
                  "query": [
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. 1–90, default 7.",
                      "disabled": true
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "description": "string. api, import, webhook, workflow, schedule or report.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Failed API calls, imports, webhook deliveries, workflow runs, scheduled changes and email reports, each with the reason."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"days\": 7,\n  \"counts\": {\n    \"api\": 2,\n    \"webhook\": 1\n  },\n  \"failures\": [\n    {\n      \"kind\": \"webhook\",\n      \"at\": \"2026-11-02T13:31:12Z\",\n      \"what\": \"link.clicked → https://hooks.example.in/mbox\",\n      \"code\": \"http_500\",\n      \"reason\": \"The receiving server answered 500\",\n      \"detail\": null\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "API request log",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/logs/api",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "logs",
                "api"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. Up to 500.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Calls made with your API keys: method, path, status, time taken and IP."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/logs/api",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "logs",
                    "api"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. Up to 500.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Calls made with your API keys: method, path, status, time taken and IP."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"requests\": [\n    {\n      \"at\": \"2026-11-02T13:31:10Z\",\n      \"key\": \"Server (mbx_live_Ab12)\",\n      \"method\": \"POST\",\n      \"path\": \"/v1/links\",\n      \"status\": 201,\n      \"duration_ms\": 84,\n      \"ip\": \"203.0.113.4\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Audit history",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/audit-events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "audit-events"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. Up to 500.",
                  "disabled": true
                },
                {
                  "key": "before",
                  "value": "",
                  "description": "integer.",
                  "disabled": true
                },
                {
                  "key": "action",
                  "value": "",
                  "description": "string. e.g. link.updated",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Every change, with who made it and before/after values. Page with before (the last id)."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/audit-events",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "audit-events"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. Up to 500.",
                      "disabled": true
                    },
                    {
                      "key": "before",
                      "value": "",
                      "description": "integer.",
                      "disabled": true
                    },
                    {
                      "key": "action",
                      "value": "",
                      "description": "string. e.g. link.updated",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Every change, with who made it and before/after values. Page with before (the last id)."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"events\": [\n    {\n      \"id\": 88121,\n      \"at\": \"2026-11-02T11:00:00Z\",\n      \"actor_type\": \"api_key\",\n      \"actor_label\": \"mbx_live_Ab12…\",\n      \"action\": \"link.updated\",\n      \"target_type\": \"link\",\n      \"target_id\": \"8b0f…\",\n      \"before\": {\n        \"url\": \"https://shop.example.in/sale\"\n      },\n      \"after\": {\n        \"url\": \"https://shop.example.in/sale-extended\"\n      },\n      \"ip\": \"203.0.113.4\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Create an API key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/keys",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys"
              ],
              "query": [],
              "variable": []
            },
            "description": "Dashboard sign-in as owner or admin. scope read or write. GET lists keys; DELETE /{id} revokes one at once.\n\nErrors: forbidden",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Server\",\n  \"scope\": \"write\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/keys",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "keys"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Dashboard sign-in as owner or admin. scope read or write. GET lists keys; DELETE /{id} revokes one at once.\n\nErrors: forbidden",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Server\",\n  \"scope\": \"write\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"k1…\",\n  \"name\": \"Server\",\n  \"prefix\": \"mbx_live_Ab12\",\n  \"scope\": \"write\",\n  \"key\": \"mbx_live_…\",\n  \"note\": \"Store this key now. It is shown only once.\"\n}"
            }
          ]
        },
        {
          "name": "Approved destinations",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/settings/destinations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settings",
                "destinations"
              ],
              "query": [],
              "variable": []
            },
            "description": "When set, links may only point to these domains and their subdomains. Empty list allows any. Owner or admin.\n\nErrors: invalid_domain",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"allowed_domains\": [\n    \"yourbrand.in\",\n    \"yourbrand.com\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/settings/destinations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settings",
                    "destinations"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "When set, links may only point to these domains and their subdomains. Empty list allows any. Owner or admin.\n\nErrors: invalid_domain",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"allowed_domains\": [\n    \"yourbrand.in\",\n    \"yourbrand.com\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"allowed_domains\": [\n    \"yourbrand.in\",\n    \"yourbrand.com\"\n  ]\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Notifications and preferences",
      "description": "Alerts for your account, saved templates and views, feedback and data settings.",
      "item": [
        {
          "name": "List notifications",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/notifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "notifications"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. 1–200, default 50.",
                  "disabled": true
                },
                {
                  "key": "unread",
                  "value": "",
                  "description": "boolean. true for unread only.",
                  "disabled": true
                },
                {
                  "key": "before",
                  "value": "",
                  "description": "integer. Page back: the last id you saw.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Destination changes, blocked links, 80% and 100% of monthly links, failed imports, failing webhooks, unusual traffic and deletion requests. Repeats within a minute are counted on one item."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/notifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "notifications"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. 1–200, default 50.",
                      "disabled": true
                    },
                    {
                      "key": "unread",
                      "value": "",
                      "description": "boolean. true for unread only.",
                      "disabled": true
                    },
                    {
                      "key": "before",
                      "value": "",
                      "description": "integer. Page back: the last id you saw.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Destination changes, blocked links, 80% and 100% of monthly links, failed imports, failing webhooks, unusual traffic and deletion requests. Repeats within a minute are counted on one item."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"unread\": 1,\n  \"notifications\": [\n    {\n      \"id\": 41,\n      \"kind\": \"destination_changed\",\n      \"level\": \"warn\",\n      \"title\": \"Link destination changed\",\n      \"body\": \"diwali now opens https://shop.example.in/sale (was https://shop.example.in/)\",\n      \"link\": \"/app/#links\",\n      \"count\": 1,\n      \"created_at\": \"2026-11-16T09:00:00Z\",\n      \"read_at\": null\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Mark notifications read",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/notifications/read",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "notifications",
                "read"
              ],
              "query": [],
              "variable": []
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"all\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/notifications/read",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "notifications",
                    "read"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"all\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"marked\": 3\n}"
            }
          ]
        },
        {
          "name": "List saved templates and views",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/prefs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "prefs"
              ],
              "query": [
                {
                  "key": "kind",
                  "value": "",
                  "description": "string. utm_template, qr_template or saved_view.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Shared with everyone in the account."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/prefs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "prefs"
                  ],
                  "query": [
                    {
                      "key": "kind",
                      "value": "",
                      "description": "string. utm_template, qr_template or saved_view.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Shared with everyone in the account."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"6c1…\",\n      \"kind\": \"utm_template\",\n      \"name\": \"WhatsApp broadcast\",\n      \"data\": {\n        \"utm_source\": \"whatsapp\",\n        \"utm_medium\": \"broadcast\"\n      },\n      \"created_by\": \"you@company.in\",\n      \"created_at\": \"2026-11-16T09:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Save a template or view",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/prefs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "prefs"
              ],
              "query": [],
              "variable": []
            },
            "description": "Saving with an existing name replaces it. Up to 100 of each kind.\n\nErrors: invalid_kind, name_required, too_many",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"utm_template\",\n  \"name\": \"WhatsApp broadcast\",\n  \"data\": {\n    \"utm_source\": \"whatsapp\",\n    \"utm_medium\": \"broadcast\",\n    \"utm_campaign\": \"diwali\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/prefs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "prefs"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Saving with an existing name replaces it. Up to 100 of each kind.\n\nErrors: invalid_kind, name_required, too_many",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"utm_template\",\n  \"name\": \"WhatsApp broadcast\",\n  \"data\": {\n    \"utm_source\": \"whatsapp\",\n    \"utm_medium\": \"broadcast\",\n    \"utm_campaign\": \"diwali\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Delete a template or view",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/prefs/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "prefs",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": ""
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/prefs/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "prefs",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": ""
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"deleted\": true\n}"
            }
          ]
        },
        {
          "name": "Suggest campaigns, tags or states",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/terms",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "terms"
              ],
              "query": [
                {
                  "key": "kind",
                  "value": "",
                  "description": "string, required. campaign, tag or state.",
                  "disabled": false
                },
                {
                  "key": "q",
                  "value": "",
                  "description": "string. Text to match anywhere in the name.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. 1 to 50; default 20.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Names already used in this account, most used first, for pick-lists. Campaigns and tags are matched without regard to case, so \"diwali sale\" is saved as the existing \"Diwali Sale\"."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/terms",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "terms"
                  ],
                  "query": [
                    {
                      "key": "kind",
                      "value": "",
                      "description": "string, required. campaign, tag or state.",
                      "disabled": false
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "string. Text to match anywhere in the name.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. 1 to 50; default 20.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Names already used in this account, most used first, for pick-lists. Campaigns and tags are matched without regard to case, so \"diwali sale\" is saved as the existing \"Diwali Sale\"."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"kind\": \"campaign\",\n  \"items\": [\n    {\n      \"value\": \"Diwali Sale\",\n      \"uses\": 412,\n      \"last_used\": \"2026-11-15T18:20:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Check a value before saving",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "check"
              ],
              "query": [
                {
                  "key": "field",
                  "value": "",
                  "description": "string, required. alias, external_id, page_slug, hostname, campaign, tag or state.",
                  "disabled": false
                },
                {
                  "key": "value",
                  "value": "",
                  "description": "string, required. The value to check.",
                  "disabled": false
                },
                {
                  "key": "except",
                  "value": "",
                  "description": "string. When editing: the link code or page id that already owns this value.",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Checks format, reserved words and uniqueness while someone types. Always returns 200; ok tells you whether saving would succeed."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "check"
                  ],
                  "query": [
                    {
                      "key": "field",
                      "value": "",
                      "description": "string, required. alias, external_id, page_slug, hostname, campaign, tag or state.",
                      "disabled": false
                    },
                    {
                      "key": "value",
                      "value": "",
                      "description": "string, required. The value to check.",
                      "disabled": false
                    },
                    {
                      "key": "except",
                      "value": "",
                      "description": "string. When editing: the link code or page id that already owns this value.",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Checks format, reserved words and uniqueness while someone types. Always returns 200; ok tells you whether saving would succeed."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"field\": \"alias\",\n  \"value\": \"diwali\",\n  \"ok\": false,\n  \"message\": \"m-bx.to/diwali is taken. Try another.\",\n  \"taken\": true\n}"
            }
          ]
        },
        {
          "name": "Send feedback",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/feedback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "feedback"
              ],
              "query": [],
              "variable": []
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"idea\",\n  \"message\": \"Let me export QR codes as PDF in bulk\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/feedback",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "feedback"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"idea\",\n  \"message\": \"Let me export QR codes as PDF in bulk\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 12,\n  \"received\": true\n}"
            }
          ]
        },
        {
          "name": "Click history setting",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settings/retention",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settings",
                "retention"
              ],
              "query": [],
              "variable": []
            },
            "description": "Keep clicks for less than the plan allows. PUT { days } (7 to the plan's days) as an owner or admin; days: null keeps the plan's full history. Older clicks are removed within the hour and cannot be recovered."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settings/retention",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settings",
                    "retention"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Keep clicks for less than the plan allows. PUT { days } (7 to the plan's days) as an owner or admin; days: null keeps the plan's full history. Older clicks are removed within the hour and cannot be recovered."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"plan_days\": 365,\n  \"chosen_days\": 90,\n  \"effective_days\": 90,\n  \"min_days\": 7\n}"
            }
          ]
        },
        {
          "name": "Request account deletion",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/account/deletion",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "account",
                "deletion"
              ],
              "query": [],
              "variable": []
            },
            "description": "Owner only. Everything is erased after a 14-day waiting period; DELETE the same path to cancel, GET to see the request.\n\nErrors: confirm_required, already_requested, forbidden",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"confirm\": \"Sri Lakshmi Stores\",\n  \"reason\": \"Moving to another tool\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/account/deletion",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "account",
                    "deletion"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Owner only. Everything is erased after a 14-day waiting period; DELETE the same path to cancel, GET to see the request.\n\nErrors: confirm_required, already_requested, forbidden",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"confirm\": \"Sri Lakshmi Stores\",\n  \"reason\": \"Moving to another tool\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"a1…\",\n  \"status\": \"pending\",\n  \"delete_after\": \"2026-11-30T09:00:00Z\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Partners and agencies",
      "description": "Affiliate programme, rewards and payouts, client accounts, branding and approvals.",
      "item": [
        {
          "name": "Partner programme settings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/partner-program",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "partner-program"
              ],
              "query": [],
              "variable": []
            },
            "description": "Reward type and amount, events that earn, holding days, auto-approval and the public application link. PUT to change (owner or admin)."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/partner-program",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "partner-program"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Reward type and amount, events that earn, holding days, auto-approval and the public application link. PUT to change (owner or admin)."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "List partners",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/partners",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "partners"
              ],
              "query": [],
              "variable": []
            },
            "description": "Each partner with links, clicks and pending, approved and paid rewards. POST adds one; PATCH /{id} edits or approves; DELETE /{id} removes."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/partners",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "partners"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Each partner with links, clicks and pending, approved and paid rewards. POST adds one; PATCH /{id} edits or approves; DELETE /{id} removes."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Credit links to a partner",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/partners/:id/links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "partners",
                ":id",
                "links"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Send url (and optional alias, campaign) to make a new tracked link, or codes: [...] to credit existing links."
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/partners/:id/links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "partners",
                    ":id",
                    "links"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Send url (and optional alias, campaign) to make a new tracked link, or codes: [...] to credit existing links."
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Partner results",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/partners/report",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "partners",
                "report"
              ],
              "query": [],
              "variable": []
            },
            "description": "Clicks, sales, sales value, rewards, cost per sale and return per partner over 90 days."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/partners/report",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "partners",
                    "report"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Clicks, sales, sales value, rewards, cost per sale and return per partner over 90 days."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "List rewards",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/commissions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "commissions"
              ],
              "query": [],
              "variable": []
            },
            "description": "Filter by status, partner or flagged=true. Rewards are created automatically from conversions; refunds reverse them."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/commissions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "commissions"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Filter by status, partner or flagged=true. Rewards are created automatically from conversions; refunds reverse them."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Approve, reject or pay rewards",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/commissions/decide",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "commissions",
                "decide"
              ],
              "query": [],
              "variable": []
            },
            "description": "Send ids and action: approve, reject, paid or reopen. Paid needs the holding period to have passed unless force: true."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/commissions/decide",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "commissions",
                    "decide"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Send ids and action: approve, reject, paid or reopen. Paid needs the holding period to have passed unless force: true."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Payout file",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/commissions/payout.csv",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "commissions",
                "payout.csv"
              ],
              "query": [],
              "variable": []
            },
            "description": "Approved rewards ready to pay, totalled per partner, as CSV."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/commissions/payout.csv",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "commissions",
                    "payout.csv"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Approved rewards ready to pay, totalled per partner, as CSV."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Client accounts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/clients",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "clients"
              ],
              "query": [],
              "variable": []
            },
            "description": "Agency view: each client account with links this month, its allowance and clicks. POST creates one; PATCH/DELETE /{id}."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/clients",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "clients"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Agency view: each client account with links this month, its allowance and clicks. POST creates one; PATCH/DELETE /{id}."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Switch account",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/accounts/switch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "accounts",
                "switch"
              ],
              "query": [],
              "variable": []
            },
            "description": "Send org_id of an account you belong to. GET /v1/accounts lists them.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/accounts/switch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "accounts",
                    "switch"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Send org_id of an account you belong to. GET /v1/accounts lists them.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Branding (white label)",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/branding",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "branding"
              ],
              "query": [],
              "variable": []
            },
            "description": "name, logo_url, color, support_email, hide_mbox, report_footer. Applies to client accounts too."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/branding",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "branding"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "name, logo_url, color, support_email, hide_mbox, report_footer. Applies to client accounts too."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Ask for approval",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/change-requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "change-requests"
              ],
              "query": [],
              "variable": []
            },
            "description": "When approvals are on, developers send link.create, link.update or link.delete here; owners approve with POST /{id}/approve.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/change-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "change-requests"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "When approvals are on, developers send link.create, link.update or link.delete here; owners approve with POST /{id}/approve.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Hand over ownership",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/organisation/transfer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "organisation",
                "transfer"
              ],
              "query": [],
              "variable": []
            },
            "description": "Owner only. Send user_id and confirm (the account name).",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/organisation/transfer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "organisation",
                    "transfer"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Owner only. Send user_id and confirm (the account name).",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Sales follow-up",
      "description": "Enquiries, follow-up tasks, opt-outs, message templates and delivery reports.",
      "item": [
        {
          "name": "List leads",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/leads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "description": "string. new, contacted, qualified, won or lost",
                  "disabled": true
                },
                {
                  "key": "source",
                  "value": "",
                  "description": "string. page, link, download, whatsapp, call, embed, api or manual",
                  "disabled": true
                },
                {
                  "key": "company",
                  "value": "",
                  "description": "string. Company domain, for example tatasteel.com",
                  "disabled": true
                },
                {
                  "key": "email_kind",
                  "value": "",
                  "description": "string. business, personal or disposable",
                  "disabled": true
                },
                {
                  "key": "min_score",
                  "value": "",
                  "description": "integer. Only leads with at least this score",
                  "disabled": true
                },
                {
                  "key": "q",
                  "value": "",
                  "description": "string. Search name, email, phone, company and notes",
                  "disabled": true
                },
                {
                  "key": "from",
                  "value": "",
                  "description": "string. Received on or after (ISO date)",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "string. Received on or before (ISO date)",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "description": "integer. Up to 2000, default 200",
                  "disabled": true
                },
                {
                  "key": "format",
                  "value": "",
                  "description": "string. csv",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Every lead: landing pages, link forms, downloads, WhatsApp and call taps, website forms, the API and leads added by hand. Company comes from the work email domain; score is 0-100 (70+ is hot). Add format=csv for a spreadsheet."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "string. new, contacted, qualified, won or lost",
                      "disabled": true
                    },
                    {
                      "key": "source",
                      "value": "",
                      "description": "string. page, link, download, whatsapp, call, embed, api or manual",
                      "disabled": true
                    },
                    {
                      "key": "company",
                      "value": "",
                      "description": "string. Company domain, for example tatasteel.com",
                      "disabled": true
                    },
                    {
                      "key": "email_kind",
                      "value": "",
                      "description": "string. business, personal or disposable",
                      "disabled": true
                    },
                    {
                      "key": "min_score",
                      "value": "",
                      "description": "integer. Only leads with at least this score",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "string. Search name, email, phone, company and notes",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "",
                      "description": "string. Received on or after (ISO date)",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "",
                      "description": "string. Received on or before (ISO date)",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "integer. Up to 2000, default 200",
                      "disabled": true
                    },
                    {
                      "key": "format",
                      "value": "",
                      "description": "string. csv",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Every lead: landing pages, link forms, downloads, WhatsApp and call taps, website forms, the API and leads added by hand. Company comes from the work email domain; score is 0-100 (70+ is hot). Add format=csv for a spreadsheet."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"leads\": [\n    {\n      \"id\": 812,\n      \"source\": \"download\",\n      \"origin\": \"m-bx.to/pricelist\",\n      \"data\": {\n        \"name\": \"Anita Rao\",\n        \"email\": \"anita@tatasteel.com\",\n        \"phone\": \"9876543210\",\n        \"job\": \"Purchase manager\"\n      },\n      \"company\": \"Tatasteel\",\n      \"company_domain\": \"tatasteel.com\",\n      \"email_kind\": \"business\",\n      \"score\": 70,\n      \"status\": \"new\",\n      \"assigned_to\": null,\n      \"tags\": [],\n      \"notes\": null,\n      \"consent_at\": \"2026-11-23T09:12:00Z\",\n      \"duplicate_of\": null,\n      \"created_at\": \"2026-11-23T09:12:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get a lead",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/leads/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "One lead with the same person's earlier leads (same email or phone) and its follow-ups."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "One lead with the same person's earlier leads (same email or phone) and its follow-ups."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"lead\": {\n    \"id\": 812,\n    \"source\": \"download\",\n    \"origin\": \"m-bx.to/pricelist\",\n    \"data\": {\n      \"name\": \"Anita Rao\",\n      \"email\": \"anita@tatasteel.com\",\n      \"phone\": \"9876543210\",\n      \"job\": \"Purchase manager\"\n    },\n    \"company\": \"Tatasteel\",\n    \"company_domain\": \"tatasteel.com\",\n    \"email_kind\": \"business\",\n    \"score\": 70,\n    \"status\": \"new\",\n    \"assigned_to\": null,\n    \"tags\": [],\n    \"notes\": null,\n    \"consent_at\": \"2026-11-23T09:12:00Z\",\n    \"duplicate_of\": null,\n    \"created_at\": \"2026-11-23T09:12:00Z\"\n  },\n  \"history\": [],\n  \"tasks\": []\n}"
            }
          ]
        },
        {
          "name": "Add a lead",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/leads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads"
              ],
              "query": [],
              "variable": []
            },
            "description": "Send leads from your CRM, chatbot or own forms. Fields: name, email, phone, company, job, city, website, message. Company and score are filled in for you.\n\nErrors: details_required, invalid_email",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"data\": {\n    \"name\": \"Anita Rao\",\n    \"email\": \"anita@tatasteel.com\",\n    \"phone\": \"9876543210\",\n    \"message\": \"Need 500 QR codes for packaging\"\n  },\n  \"tags\": [\n    \"packaging\"\n  ],\n  \"notes\": \"From the trade fair\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Send leads from your CRM, chatbot or own forms. Fields: name, email, phone, company, job, city, website, message. Company and score are filled in for you.\n\nErrors: details_required, invalid_email",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"data\": {\n    \"name\": \"Anita Rao\",\n    \"email\": \"anita@tatasteel.com\",\n    \"phone\": \"9876543210\",\n    \"message\": \"Need 500 QR codes for packaging\"\n  },\n  \"tags\": [\n    \"packaging\"\n  ],\n  \"notes\": \"From the trade fair\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": 812,\n  \"source\": \"download\",\n  \"origin\": \"m-bx.to/pricelist\",\n  \"data\": {\n    \"name\": \"Anita Rao\",\n    \"email\": \"anita@tatasteel.com\",\n    \"phone\": \"9876543210\",\n    \"job\": \"Purchase manager\"\n  },\n  \"company\": \"Tatasteel\",\n  \"company_domain\": \"tatasteel.com\",\n  \"email_kind\": \"business\",\n  \"score\": 70,\n  \"status\": \"new\",\n  \"assigned_to\": null,\n  \"tags\": [],\n  \"notes\": null,\n  \"consent_at\": \"2026-11-23T09:12:00Z\",\n  \"duplicate_of\": null,\n  \"created_at\": \"2026-11-23T09:12:00Z\"\n}"
            }
          ]
        },
        {
          "name": "Update a lead",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/leads/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Set status, assigned_to, notes, tags, or correct data fields (send an empty string to clear one).\n\nErrors: invalid_status, not_member, invalid_email",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"qualified\",\n  \"tags\": [\n    \"enterprise\"\n  ],\n  \"data\": {\n    \"company\": \"Tata Steel\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads",
                    ":id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Set status, assigned_to, notes, tags, or correct data fields (send an empty string to clear one).\n\nErrors: invalid_status, not_member, invalid_email",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"qualified\",\n  \"tags\": [\n    \"enterprise\"\n  ],\n  \"data\": {\n    \"company\": \"Tata Steel\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Companies",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/leads/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads",
                "companies"
              ],
              "query": [],
              "variable": []
            },
            "description": "Leads grouped by work email domain, with counts, best score, open and won."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads/companies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads",
                    "companies"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Leads grouped by work email domain, with counts, best score, open and won."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"companies\": [\n    {\n      \"domain\": \"tatasteel.com\",\n      \"company\": \"Tatasteel\",\n      \"leads\": 3,\n      \"best_score\": 70,\n      \"open\": 2,\n      \"won\": 1,\n      \"last_at\": \"2026-11-23T09:12:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Lead form on a link",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/leads/link-form/:link_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads",
                "link-form",
                ":link_id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "link_id",
                  "value": ""
                }
              ]
            },
            "description": "Show a short form before the link opens (kind form) or before a file downloads (kind download). GET returns the current form. Not for links with a password.\n\nErrors: password_link, fields_required, invalid_phone",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"on\": true,\n  \"kind\": \"download\",\n  \"required\": true,\n  \"fields\": [\n    \"name\",\n    \"email\",\n    \"phone\",\n    \"company\"\n  ],\n  \"need\": [\n    \"email\"\n  ],\n  \"business_only\": true,\n  \"title\": \"Get our 2027 price list\",\n  \"consent\": \"I agree that Acme may contact me about this.\",\n  \"whatsapp\": \"919876543210\",\n  \"remember_days\": 30\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads/link-form/:link_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads",
                    "link-form",
                    ":link_id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "link_id",
                      "value": ""
                    }
                  ]
                },
                "description": "Show a short form before the link opens (kind form) or before a file downloads (kind download). GET returns the current form. Not for links with a password.\n\nErrors: password_link, fields_required, invalid_phone",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"on\": true,\n  \"kind\": \"download\",\n  \"required\": true,\n  \"fields\": [\n    \"name\",\n    \"email\",\n    \"phone\",\n    \"company\"\n  ],\n  \"need\": [\n    \"email\"\n  ],\n  \"business_only\": true,\n  \"title\": \"Get our 2027 price list\",\n  \"consent\": \"I agree that Acme may contact me about this.\",\n  \"whatsapp\": \"919876543210\",\n  \"remember_days\": 30\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Website forms",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/leads/forms",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "leads",
                "forms"
              ],
              "query": [],
              "variable": []
            },
            "description": "Forms for your own website. POST to create (name, fields, need, business_only, consent, thanks, redirect_url, origins), PATCH /{id}, DELETE /{id}. Embed with <div data-mbox-form=\"KEY\"></div><script src=\"https://m-box.in/embed/leads.js\" async></script>."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/leads/forms",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "leads",
                    "forms"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Forms for your own website. POST to create (name, fields, need, business_only, consent, thanks, redirect_url, origins), PATCH /{id}, DELETE /{id}. Embed with <div data-mbox-form=\"KEY\"></div><script src=\"https://m-box.in/embed/leads.js\" async></script>."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"forms\": [\n    {\n      \"id\": \"6a2…\",\n      \"key\": \"3f9c1a7b2e4d8c0f1a2b\",\n      \"name\": \"Contact page\",\n      \"fields\": [\n        \"name\",\n        \"email\",\n        \"phone\",\n        \"message\"\n      ],\n      \"need\": [\n        \"email\"\n      ],\n      \"business_only\": false,\n      \"origins\": [\n        \"acme.in\"\n      ],\n      \"active\": true,\n      \"submissions\": 42\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Follow-up tasks",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/tasks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tasks"
              ],
              "query": [],
              "variable": []
            },
            "description": "POST to add (title, due_at, assignee, lead_id); PATCH /{id} to complete."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/tasks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tasks"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "POST to add (title, due_at, assignee, lead_id); PATCH /{id} to complete."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Add opt-outs",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/optouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "optouts"
              ],
              "query": [],
              "variable": []
            },
            "description": "Send contact or contacts: [...] (emails or mobile numbers). Stored scrambled. POST /v1/optouts/check returns which of a list opted out."
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/optouts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "optouts"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Send contact or contacts: [...] (emails or mobile numbers). Stored scrambled. POST /v1/optouts/check returns which of a list opted out."
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Message templates",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/message-templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "message-templates"
              ],
              "query": [],
              "variable": []
            },
            "description": "SMS, WhatsApp and email wording with DLT ids and SMS part counts. POST, PATCH /{id}, DELETE /{id}."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/message-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "message-templates"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "SMS, WhatsApp and email wording with DLT ids and SMS part counts. POST, PATCH /{id}, DELETE /{id}."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Import delivery reports",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/deliveries/import",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "deliveries",
                "import"
              ],
              "query": [],
              "variable": []
            },
            "description": "rows: [{ message_id, status, phone, link, campaign, at }]. GET /v1/deliveries/report compares delivered with clicked."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/deliveries/import",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "deliveries",
                    "import"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "rows: [{ message_id, status, phone, link, campaign, at }]. GET /v1/deliveries/report compares delivered with clicked."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Insights and tools",
      "description": "Attribution, funnels, customer value, link checks, impact, GS1 product links and protected files.",
      "item": [
        {
          "name": "Attribution",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/attribution",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "attribution"
              ],
              "query": [],
              "variable": []
            },
            "description": "First-touch, last-touch and shared credit by campaign or link (by=link), with the rules used. from, to as dates."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/attribution",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "attribution"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "First-touch, last-touch and shared credit by campaign or link (by=link), with the rules used. from, to as dates."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Funnel",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/funnel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "funnel"
              ],
              "query": [],
              "variable": []
            },
            "description": "Clicks, enquiries, sign-ups and purchases, with the share kept at each step. Optional campaign."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/funnel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "funnel"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Clicks, enquiries, sign-ups and purchases, with the share kept at each step. Optional campaign."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Customer value",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/customer-value",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "customer-value"
              ],
              "query": [],
              "variable": []
            },
            "description": "Customers by first campaign, repeat buyers, value per customer, cost per customer and return on spend."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/customer-value",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "customer-value"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Customers by first campaign, repeat buyers, value per customer, cost per customer and return on spend."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Import offline sales",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/conversions/import",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "conversions",
                "import"
              ],
              "query": [],
              "variable": []
            },
            "description": "rows: [{ event, value, order_id, customer_id, link, at }], up to 5,000. Repeats are skipped."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/conversions/import",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "conversions",
                    "import"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "rows: [{ event, value, order_id, customer_id, link, at }], up to 5,000. Repeats are skipped."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Check an address",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/url-check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "url-check"
              ],
              "query": [],
              "variable": []
            },
            "description": "Follows redirects safely, reports problems, Safe Browsing status and the sharing preview."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/url-check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "url-check"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Follows redirects safely, reports problems, Safe Browsing status and the sharing preview."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "What depends on a link",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/impact",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "impact"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "QR codes, pages, workflows, partners and scheduled changes that use the link, and its visits this week."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/impact",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "impact"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "QR codes, pages, workflows, partners and scheduled changes that use the link, and its visits this week."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Sharing preview",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links/:code/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links",
                ":code",
                "preview"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "title, description and image shown by WhatsApp, LinkedIn, X and Facebook."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links/:code/preview",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links",
                    ":code",
                    "preview"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "title, description and image shown by WhatsApp, LinkedIn, X and Facebook."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Action centre",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/action-centre",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "action-centre"
              ],
              "query": [],
              "variable": []
            },
            "description": "What needs attention now, each with the reason."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/action-centre",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "action-centre"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "What needs attention now, each with the reason."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "GS1 product links",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/gs1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "gs1"
              ],
              "query": [],
              "variable": []
            },
            "description": "gtin, default_url, optional batches and host. Scans of https://host/01/{gtin} open the page."
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/gs1",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "gs1"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "gtin, default_url, optional batches and host. Scans of https://host/01/{gtin} open the page."
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Protected files",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/documents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents"
              ],
              "query": [],
              "variable": []
            },
            "description": "multipart/form-data with file and a password and/or email_domain. Returns the share address."
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "multipart/form-data with file and a password and/or email_domain. Returns the share address."
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Domain set-up check",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/domains/:id/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "domains",
                ":id",
                "check"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Checks DNS, ownership (TXT) and HTTPS, and turns the domain on when ready."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/domains/:id/check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "domains",
                    ":id",
                    "check"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Checks DNS, ownership (TXT) and HTTPS, and turns the domain on when ready."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Export everything",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/export",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "export"
              ],
              "query": [],
              "variable": []
            },
            "description": "Owner or admin. A ZIP of every record the account holds.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "export"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Owner or admin. A ZIP of every record the account holds.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Teams, sign-in and apps",
      "description": "Workspaces, member access limits, agency templates, passkeys, OAuth apps, quality scores and self-optimising tests.",
      "item": [
        {
          "name": "Workspaces",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/workspaces",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workspaces"
              ],
              "query": [],
              "variable": []
            },
            "description": "Workspaces with their link counts. POST to create one (name, color); POST /v1/workspaces/{id}/links with codes to move links in."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/workspaces",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workspaces"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Workspaces with their link counts. POST to create one (name, color); POST /v1/workspaces/{id}/links with codes to move links in."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Member access limits",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/member-access/:user_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "member-access",
                ":user_id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "user_id",
                  "value": ""
                }
              ]
            },
            "description": "Owner or admin. workspaces, campaigns, domains and can_delete limit what a developer or analyst may change. Checked before every link change.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/member-access/:user_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "member-access",
                    ":user_id"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "user_id",
                      "value": ""
                    }
                  ]
                },
                "description": "Owner or admin. workspaces, campaigns, domains and can_delete limit what a developer or analyst may change. Checked before every link change.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Agency templates",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/agency-templates/:id/apply",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "agency-templates",
                ":id",
                "apply"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Copies a saved set of UTM templates, QR styles and settings into a client account.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/agency-templates/:id/apply",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "agency-templates",
                    ":id",
                    "apply"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Copies a saved set of UTM templates, QR styles and settings into a client account.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Passkeys",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/passkeys/register/options",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "passkeys",
                "register",
                "options"
              ],
              "query": [],
              "variable": []
            },
            "description": "Starts adding a passkey (fingerprint, face or security key) to the signed-in person.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/passkeys/register/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "passkeys",
                    "register",
                    "options"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Starts adding a passkey (fingerprint, face or security key) to the signed-in person.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "OAuth apps",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/oauth-apps",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "oauth-apps"
              ],
              "query": [],
              "variable": []
            },
            "description": "Register a third-party app (name, website, redirect_uris). Returns client_id and a one-time client_secret.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/oauth-apps",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "oauth-apps"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Register a third-party app (name, website, redirect_uris). Returns client_id and a one-time client_secret.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Conversion quality",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/quality",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "quality"
              ],
              "query": [],
              "variable": []
            },
            "description": "Quality score per source and campaign: refunds, duplicates and repeat buyers."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/quality",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "quality"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Quality score per source and campaign: refunds, duplicates and repeat buyers."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Self-optimising A/B test",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/experiments/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "experiments",
                ":code"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "goal, min_clicks, floor_pct. Every night the split moves toward the variant that converts best."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/experiments/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "experiments",
                    ":code"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "goal, min_clicks, floor_pct. Every night the split moves toward the variant that converts best."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Forecasts, tests and safety",
      "description": "Forecasts with ranges, unusual traffic, creative and device tests, journey checks, catalog links, compliance rules and approvals.",
      "item": [
        {
          "name": "Forecast",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/forecast",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "forecast"
              ],
              "query": [
                {
                  "key": "code",
                  "value": "",
                  "description": "string. One link; empty for the whole account",
                  "disabled": true
                },
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. 1 to 90, default 14",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Expected clicks per day with a low and high (8 in 10 range), the weekly trend and the busiest weekday."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/forecast",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "forecast"
                  ],
                  "query": [
                    {
                      "key": "code",
                      "value": "",
                      "description": "string. One link; empty for the whole account",
                      "disabled": true
                    },
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. 1 to 90, default 14",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Expected clicks per day with a low and high (8 in 10 range), the weekly trend and the busiest weekday."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"enough_data\": true,\n  \"total\": {\n    \"expected\": 4210,\n    \"low\": 3650,\n    \"high\": 4770\n  },\n  \"trend_per_week_pct\": 3.4,\n  \"busiest_weekday\": \"Saturday\",\n  \"forecast\": [\n    {\n      \"day\": \"2026-11-17\",\n      \"expected\": 290,\n      \"low\": 240,\n      \"high\": 340\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Explain unusual traffic",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/anomalies/explain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "anomalies",
                "explain"
              ],
              "query": [],
              "variable": []
            },
            "description": "Finds the most unusual day in the last 14 (or the day you send) and the countries, sources, devices, links or QR placements behind it. Plain-language explanation when AI is on.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"diwali\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/anomalies/explain",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "anomalies",
                    "explain"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Finds the most unusual day in the last 14 (or the day you send) and the countries, sources, devices, links or QR placements behind it. Plain-language explanation when AI is on.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"diwali\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Compare two creatives",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/creative-compare",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "creative-compare"
              ],
              "query": [
                {
                  "key": "a",
                  "value": "",
                  "description": "string, required. Back-half, or tag:name",
                  "disabled": false
                },
                {
                  "key": "b",
                  "value": "",
                  "description": "string, required. Back-half, or tag:name",
                  "disabled": false
                },
                {
                  "key": "goal",
                  "value": "",
                  "description": "string. any, lead, signup or purchase",
                  "disabled": true
                },
                {
                  "key": "days",
                  "value": "",
                  "description": "integer. Default 30",
                  "disabled": true
                }
              ],
              "variable": []
            },
            "description": "Conversion rate of each side, the lift, and a significance test (p-value) with a verdict."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/creative-compare",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "creative-compare"
                  ],
                  "query": [
                    {
                      "key": "a",
                      "value": "",
                      "description": "string, required. Back-half, or tag:name",
                      "disabled": false
                    },
                    {
                      "key": "b",
                      "value": "",
                      "description": "string, required. Back-half, or tag:name",
                      "disabled": false
                    },
                    {
                      "key": "goal",
                      "value": "",
                      "description": "string. any, lead, signup or purchase",
                      "disabled": true
                    },
                    {
                      "key": "days",
                      "value": "",
                      "description": "integer. Default 30",
                      "disabled": true
                    }
                  ],
                  "variable": []
                },
                "description": "Conversion rate of each side, the lift, and a significance test (p-value) with a verdict."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Mobile vs desktop test",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/device-test/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "device-test",
                ":code"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Sends phones and computers to different pages. GET the same path for conversion rates by device and a significance test.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"mobile\": \"https://m.example.in/offer\",\n  \"desktop\": \"https://example.in/offer\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/device-test/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "device-test",
                    ":code"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Sends phones and computers to different pages. GET the same path for conversion rates by device and a significance test.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mobile\": \"https://m.example.in/offer\",\n  \"desktop\": \"https://example.in/offer\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Journey check",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/journey/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "journey",
                ":code"
              ],
              "query": [],
              "variable": [
                {
                  "key": "code",
                  "value": "diwali"
                }
              ]
            },
            "description": "Checks every step from click to sale: link status, domain, safety, destination page and redirects, UTM tags, clicks and conversion tracking, with what to fix."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/journey/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "journey",
                    ":code"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "code",
                      "value": "diwali"
                    }
                  ]
                },
                "description": "Checks every step from click to sale: link status, domain, safety, destination page and redirects, UTM tags, clicks and conversion tracking, with what to fix."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Product catalog",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/catalog",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "catalog"
              ],
              "query": [],
              "variable": []
            },
            "description": "Links tagged sku:CODE follow the product page. POST /v1/catalog/import with rows; POST /v1/catalog/apply (optional fallback) updates the links.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"sku\": \"KURTA-RED-M\",\n  \"url\": \"https://shop.example.in/p/red-kurta\",\n  \"status\": \"discontinued\",\n  \"replaced_by\": \"KURTA-RED-M2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/catalog",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "catalog"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Links tagged sku:CODE follow the product page. POST /v1/catalog/import with rows; POST /v1/catalog/apply (optional fallback) updates the links.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"sku\": \"KURTA-RED-M\",\n  \"url\": \"https://shop.example.in/p/red-kurta\",\n  \"status\": \"discontinued\",\n  \"replaced_by\": \"KURTA-RED-M2\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Compliance rules",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/compliance",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "compliance"
              ],
              "query": [],
              "variable": []
            },
            "description": "Owner or admin. New links and destination changes that break the rules are refused with compliance_blocked. POST /v1/compliance/check tries an address.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"rules\": {\n    \"allowed_domains\": [\n      \"example.in\"\n    ],\n    \"blocked_words\": [\n      \"guaranteed returns\"\n    ],\n    \"require_https\": true,\n    \"require_utm\": true,\n    \"require_campaign\": false,\n    \"max_phishing_score\": 60\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/compliance",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "compliance"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Owner or admin. New links and destination changes that break the rules are refused with compliance_blocked. POST /v1/compliance/check tries an address.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"rules\": {\n    \"allowed_domains\": [\n      \"example.in\"\n    ],\n    \"blocked_words\": [\n      \"guaranteed returns\"\n    ],\n    \"require_https\": true,\n    \"require_utm\": true,\n    \"require_campaign\": false,\n    \"max_phishing_score\": 60\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Risk check",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/risk-check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "risk-check"
              ],
              "query": [],
              "variable": []
            },
            "description": "Phishing risk score (0 to 100) for an address, with the reasons.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://example.in/login\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/risk-check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "risk-check"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Phishing risk score (0 to 100) for an address, with the reasons.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.in/login\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Starter kits",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/starter-kits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "starter-kits"
              ],
              "query": [],
              "variable": []
            },
            "description": "Ready-made campaigns, UTM templates, QR places and ideas by industry. POST /v1/starter-kits/{id} adds one; POST /v1/starter-kits/ai with business suggests a custom kit."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/starter-kits",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "starter-kits"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Ready-made campaigns, UTM templates, QR places and ideas by industry. POST /v1/starter-kits/{id} adds one; POST /v1/starter-kits/ai with business suggests a custom kit."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Optimiser",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/optimiser/run",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "optimiser",
                "run"
              ],
              "query": [],
              "variable": []
            },
            "description": "Proposes fixes (pause broken pages, move A/B traffic to a clear winner, add UTM tags, extend busy links) as approval requests. Nothing changes until approved.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/optimiser/run",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "optimiser",
                    "run"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Proposes fixes (pause broken pages, move A/B traffic to a clear winner, add UTM tags, extend busy links) as approval requests. Nothing changes until approved.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Ask for approval",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/change-requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "change-requests"
              ],
              "query": [],
              "variable": []
            },
            "description": "kind is link.create, link.update, link.delete or api.call. An owner or admin approves with POST /v1/change-requests/{id}/approve, which makes the change.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"api.call\",\n  \"payload\": {\n    \"method\": \"POST\",\n    \"path\": \"/workflows/12/send\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/change-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "change-requests"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "kind is link.create, link.update, link.delete or api.call. An owner or admin approves with POST /v1/change-requests/{id}/approve, which makes the change.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"api.call\",\n  \"payload\": {\n    \"method\": \"POST\",\n    \"path\": \"/workflows/12/send\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Export link settings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/links-config/export",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "links-config",
                "export"
              ],
              "query": [],
              "variable": []
            },
            "description": "Every link's settings including routing rules, as JSON. POST /v1/links-config/import with links and mode (skip or update) brings them back or into another account."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/links-config/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "links-config",
                    "export"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Every link's settings including routing rules, as JSON. POST /v1/links-config/import with links and mode (skip or update) brings them back or into another account."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Move a domain",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/domain-transfer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "domain-transfer"
              ],
              "query": [],
              "variable": []
            },
            "description": "Owner or admin of both accounts. The domain and its links, with their history, move to the other account.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domain_id\": \"…\",\n  \"to_org\": \"…\",\n  \"confirm\": \"go.brand.in\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/domain-transfer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "domain-transfer"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Owner or admin of both accounts. The domain and its links, with their history, move to the other account.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"domain_id\": \"…\",\n  \"to_org\": \"…\",\n  \"confirm\": \"go.brand.in\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Reputation centre",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/reputation-centre",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reputation-centre"
              ],
              "query": [],
              "variable": []
            },
            "description": "Health score for this account and the client accounts it manages: domains, risky links, blocked links and failing pages."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/reputation-centre",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "reputation-centre"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Health score for this account and the client accounts it manages: domains, risky links, blocked links and failing pages."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Pixels, alerts, guard and certificates",
      "description": "Retargeting pixels on short links, team-chat alerts, the destination guard and verified click certificates.",
      "item": [
        {
          "name": "Add a retargeting pixel",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/pixels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pixels"
              ],
              "query": [],
              "variable": []
            },
            "description": "kind is meta, google (AW-… or G-…) or linkedin. Pixels fire when a person opens a link, never for bots or browsers that ask not to be tracked.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"meta\",\n  \"pixel_id\": \"1234567890123456\",\n  \"name\": \"Diwali retargeting\",\n  \"all_links\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/pixels",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pixels"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "kind is meta, google (AW-… or G-…) or linkedin. Pixels fire when a person opens a link, never for bots or browsers that ask not to be tracked.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"meta\",\n  \"pixel_id\": \"1234567890123456\",\n  \"name\": \"Diwali retargeting\",\n  \"all_links\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Choose links for a pixel",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/pixels/:id/links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pixels",
                ":id",
                "links"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "REPLACE_WITH_ID"
                }
              ]
            },
            "description": "Replaces the list of links that fire this pixel. Answers with not_found for back-halves that do not exist.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"codes\": [\n    \"diwali-sale\",\n    \"menu\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/pixels/:id/links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "pixels",
                    ":id",
                    "links"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "key": "id",
                      "value": "REPLACE_WITH_ID"
                    }
                  ]
                },
                "description": "Replaces the list of links that fire this pixel. Answers with not_found for back-halves that do not exist.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"codes\": [\n    \"diwali-sale\",\n    \"menu\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Team chat alerts",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/alerts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "alerts"
              ],
              "query": [],
              "variable": []
            },
            "description": "Owner or admin. Slack, Google Chat, Microsoft Teams or Discord incoming webhook. level: bad, warn or info. POST /v1/alerts/test sends a test message.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"webhook\": \"https://hooks.slack.com/services/…\",\n  \"level\": \"warn\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/alerts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "alerts"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Owner or admin. Slack, Google Chat, Microsoft Teams or Discord incoming webhook. level: bad, warn or info. POST /v1/alerts/test sends a test message.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"webhook\": \"https://hooks.slack.com/services/…\",\n  \"level\": \"warn\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Destination guard",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/guard",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "guard"
              ],
              "query": [],
              "variable": []
            },
            "description": "Links whose website looks parked, expired or suspended, and the renewal date of every website your links point to. PUT with mode off, alert or pause."
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/guard",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "guard"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "Links whose website looks parked, expired or suspended, and the renewal date of every website your links point to. PUT with mode off, alert or pause."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        },
        {
          "name": "Issue a click certificate",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/certificates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "certificates"
              ],
              "query": [],
              "variable": []
            },
            "description": "A public, verifiable page with the number of real people who opened the link in a finished period. DELETE /v1/certificates/{token} withdraws it.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"diwali-sale\",\n  \"from\": \"2026-10-01\",\n  \"to\": \"2026-10-31\",\n  \"title\": \"Instagram campaign, October\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/certificates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "certificates"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "A public, verifiable page with the number of real people who opened the link in a finished period. DELETE /v1/certificates/{token} withdraws it.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"diwali-sale\",\n  \"from\": \"2026-10-01\",\n  \"to\": \"2026-10-31\",\n  \"title\": \"Instagram campaign, October\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Public tools",
      "description": "No API key needed.",
      "item": [
        {
          "name": "Health",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/health",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "health"
              ],
              "query": [],
              "variable": []
            },
            "description": "",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/health",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "health"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"ok\": true\n}"
            }
          ]
        },
        {
          "name": "SMS length check",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sms-fit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sms-fit"
              ],
              "query": [],
              "variable": []
            },
            "description": "How many SMS parts a message takes, GSM-7 or Unicode.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"Diwali sale is live! Shop now: https://m-bx.to/diwali\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/sms-fit",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sms-fit"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "How many SMS parts a message takes, GSM-7 or Unicode.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Diwali sale is live! Shop now: https://m-bx.to/diwali\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"encoding\": \"GSM-7\",\n  \"characters\": 55,\n  \"segments\": 1,\n  \"remaining_in_segment\": 105\n}"
            }
          ]
        },
        {
          "name": "Report a link",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/abuse",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "abuse"
              ],
              "query": [],
              "variable": []
            },
            "description": "\n\nErrors: invalid_report",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://m-bx.to/abc123\",\n  \"reason\": \"phishing\",\n  \"details\": \"Asks for bank details\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "201 example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/abuse",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "abuse"
                  ],
                  "query": [],
                  "variable": []
                },
                "description": "\n\nErrors: invalid_report",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://m-bx.to/abc123\",\n  \"reason\": \"phishing\",\n  \"details\": \"Asks for bank details\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"r1…\",\n  \"status\": \"received\"\n}"
            }
          ]
        }
      ]
    }
  ]
}