{
  "info": {
    "_postman_id": "pms-mobile-api-unified-001",
    "name": "PMS Mobile API",
    "description": "PMS Mobile API — Auth / Lookups / EAED / MEC\n\nLogin is JSON at {{api_root}}/auth/login — email + password only.\nDo NOT send web CSRF _token (that is only for browser forms).\n\n1) Set api_root, email, password in the environment\n2) Auth → Login (then OTP Verify if requires_otp)\n3) Call feature endpoints with the saved Bearer token\n4) See Mobile-API-Reference.pdf for request body schemas",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "api_root",
      "value": "http://127.0.0.1:8000/api/v1"
    }
  ],
  "item": [
    {
      "name": "01 Auth",
      "item": [
        {
          "name": "Create EAED test user",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/create-test-user",
            "auth": {
              "type": "noauth"
            },
            "description": "Dev/QA helper. Creates test_eaed@gmail.com / password if missing. No auth required. Also available at /eaed/auth/create-test-user."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j && j.data) {",
                  "  if (j.data.email) pm.environment.set('email', j.data.email);",
                  "  if (j.data.password) pm.environment.set('password', j.data.password);",
                  "}"
                ]
              }
            }
          ]
        },
        {
          "name": "Login",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/login",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"{{email}}\",\n  \"password\": \"{{password}}\",\n  \"device_name\": \"postman\"\n}"
            },
            "description": "JSON login: email, password, optional device_name, optional user_role_id. No _token, no department_id.\nAfter success: if data.role_selection_required, show Select workspace from data.memberships, then send X-User-Role-Id on later calls. If only one membership, use active_user_role_id."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j && j.data) {",
                  "  if (j.data.token) pm.environment.set('token', j.data.token);",
                  "  if (j.data.pending_login_id) pm.environment.set('pending_login_id', j.data.pending_login_id);",
                  "  if (j.data.active_user_role_id) pm.environment.set('user_role_id', String(j.data.active_user_role_id));",
                  "  else if (j.data.memberships && j.data.memberships.length) pm.environment.set('user_role_id', String(j.data.memberships[0].id));",
                  "}"
                ]
              }
            }
          ]
        },
        {
          "name": "OTP Verify",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/otp/verify",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pending_login_id\": \"{{pending_login_id}}\",\n  \"otp\": \"123456\"\n}"
            },
            "description": "Body: pending_login_id (uuid), otp (6 chars)."
          },
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const j = pm.response.json();",
                  "if (j && j.data) {",
                  "  if (j.data.token) pm.environment.set('token', j.data.token);",
                  "  if (j.data.pending_login_id) pm.environment.set('pending_login_id', j.data.pending_login_id);",
                  "  if (j.data.active_user_role_id) pm.environment.set('user_role_id', String(j.data.active_user_role_id));",
                  "  else if (j.data.memberships && j.data.memberships.length) pm.environment.set('user_role_id', String(j.data.memberships[0].id));",
                  "}"
                ]
              }
            }
          ]
        },
        {
          "name": "OTP Resend",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/otp/resend",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pending_login_id\": \"{{pending_login_id}}\"\n}"
            },
            "description": "Body: pending_login_id."
          }
        },
        {
          "name": "OTP Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/otp/status?pending_login_id={{pending_login_id}}",
            "auth": {
              "type": "noauth"
            }
          }
        },
        {
          "name": "Forgot password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/password/forgot",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"{{email}}\"\n}"
            },
            "description": "Body: email."
          }
        },
        {
          "name": "Reset password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/password/reset",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"{{email}}\",\n  \"token\": \"{{reset_token}}\",\n  \"password\": \"NewPass123!\",\n  \"password_confirmation\": \"NewPass123!\"\n}"
            },
            "description": "Body: email, token, password, password_confirmation."
          }
        },
        {
          "name": "Me",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/auth/me"
          }
        },
        {
          "name": "Refresh token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/refresh",
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Optional body: device_name."
          }
        },
        {
          "name": "Change password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/auth/password/change",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"password\": \"NewPass123!\",\n  \"password_confirmation\": \"NewPass123!\"\n}"
            },
            "description": "Body: password, password_confirmation."
          }
        },
        {
          "name": "Logout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/auth/logout"
          }
        },
        {
          "name": "Logout all",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/auth/logout-all"
          }
        }
      ]
    },
    {
      "name": "02 Lookups",
      "item": [
        {
          "name": "Districts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/districts"
          }
        },
        {
          "name": "Cities",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/cities?district_id={{district_id}}"
          }
        },
        {
          "name": "Departments",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/departments"
          }
        },
        {
          "name": "Sectors",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/sectors"
          }
        },
        {
          "name": "Sub-sectors",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/sub-sectors?sector_id={{sector_id}}"
          }
        },
        {
          "name": "Constituencies",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/constituencies?type=NA"
          }
        },
        {
          "name": "Financial years",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/financial-years"
          }
        },
        {
          "name": "Annexure types",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/lookups/annexure-types"
          }
        }
      ]
    },
    {
      "name": "03 EAED Location",
      "item": [
        {
          "name": "Eligible schemes",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/eaed/schemes/eligible"
          }
        },
        {
          "name": "Drafts list",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/eaed/drafts"
          }
        },
        {
          "name": "Create draft",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/eaed/drafts",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"project_id\": {{project_id}},\n  \"client_request_id\": \"{{$guid}}\"\n}"
            },
            "description": "Body: project_id required; optional location fields + client_request_id."
          }
        },
        {
          "name": "Draft show",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/eaed/drafts/{{draft_id}}"
          }
        },
        {
          "name": "Save location",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/eaed/drafts/{{draft_id}}/location",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"client_request_id\": \"{{$guid}}\",\n  \"additional_districts\": [\"Karachi\"],\n  \"additional_cities\": [\"Karachi South\"],\n  \"additional_talukas\": [\"Saddar\"],\n  \"additional_union_councils\": [\"UC-1\"],\n  \"location_coordinates\": [{\n    \"name_of_location\": \"Main gate\",\n    \"latitude\": \"24.8607\",\n    \"longitude\": \"67.0011\"\n  }],\n  \"map_geojson\": {\"type\": \"FeatureCollection\", \"features\": []}\n}"
            },
            "description": "Body: location fields only. project_id is prohibited."
          }
        },
        {
          "name": "List photos",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/eaed/drafts/{{draft_id}}/location/photos"
          }
        },
        {
          "name": "Map search",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/eaed/lookups/map-search?q=Karachi"
          }
        }
      ]
    },
    {
      "name": "04 MEC",
      "item": [
        {
          "name": "Dashboard",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/dashboard/summary"
          }
        },
        {
          "name": "Plans list",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/plans"
          }
        },
        {
          "name": "Plan show",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/plans/{{plan_id}}"
          }
        },
        {
          "name": "Plan workflow",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/plans/{{plan_id}}/workflow"
          }
        },
        {
          "name": "Report drafts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/reports/drafts"
          }
        },
        {
          "name": "Reports list",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/reports"
          }
        },
        {
          "name": "Report preview HTML",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/reports/{{report_id}}/preview",
            "description": "Full HTML for WebView (same as web submitted preview). Published reports include publish letter + Published watermark; in-process shows In Process watermark. Response: data.html, data.status."
          }
        },
        {
          "name": "ADP map",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/maps/adp-schemes"
          }
        },
        {
          "name": "Calendar",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/calendar/events?month=2026-09"
          }
        },
        {
          "name": "Insight apply",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/insight/apply",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"date_from\": \"2026-01-01\",\n  \"date_to\": \"2026-09-30\"\n}"
            }
          }
        },
        {
          "name": "Conversations",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/messenger/conversations"
          }
        },
        {
          "name": "Profile",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/profile"
          }
        },
        {
          "name": "Support tickets",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/support/tickets"
          }
        },
        {
          "name": "PC forms",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/pc-forms"
          }
        },
        {
          "name": "PCN list",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/pcn"
          }
        },
        {
          "name": "Notifications",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/notifications"
          }
        },
        {
          "name": "Notifications badge",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/notifications/badge"
          }
        },
        {
          "name": "Plan create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/plans",
            "description": "Body: plan_type, month, year, schemes[].",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"plan_type\": \"RVP\",\n  \"month\": 9,\n  \"year\": 2026,\n  \"schemes\": [{\n    \"scheme_id\": 1001,\n    \"visit_date\": \"2026-09-15\",\n    \"additional_visit_dates\": [],\n    \"visit_location\": \"Site\",\n    \"visiting_team\": [],\n    \"monitoring_officer_id\": null,\n    \"physical_progress\": null,\n    \"financial_progress\": null,\n    \"remarks\": null\n  }]\n}"
            }
          }
        },
        {
          "name": "Plan update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/plans/{{plan_id}}",
            "description": "Same shape as Plan create.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"plan_type\": \"RVP\",\n  \"month\": 9,\n  \"year\": 2026,\n  \"schemes\": []\n}"
            }
          }
        },
        {
          "name": "Plan submit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/plans/{{plan_id}}/submit",
            "description": "Usually empty JSON body.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "Report draft create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/reports/drafts",
            "description": "Body: report_type required; payload object optional.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"report_type\": \"field\",\n  \"plan_scheme_id\": null,\n  \"mec_sector_id\": null,\n  \"mec_sub_sector_id\": null,\n  \"payload\": {}\n}"
            }
          }
        },
        {
          "name": "Report draft update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/reports/drafts/{{report_draft_id}}",
            "description": "Partial update of draft fields.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"report_type\": \"field\",\n  \"payload\": {}\n}"
            }
          }
        },
        {
          "name": "Send message",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/messenger/conversations/{{conversation_id}}/messages",
            "description": "multipart: body and/or attachments[]",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "body",
                  "value": "Hello from mobile",
                  "type": "text"
                },
                {
                  "key": "attachments",
                  "type": "file",
                  "src": []
                }
              ]
            }
          }
        },
        {
          "name": "Support ticket create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              }
            ],
            "url": "{{api_root}}/mec/support/tickets",
            "description": "multipart: message required; attachments[] optional images",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "message",
                  "value": "Need help with …",
                  "type": "text"
                },
                {
                  "key": "attachments",
                  "type": "file",
                  "src": []
                }
              ]
            }
          }
        },
        {
          "name": "Notifications mark read",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-User-Role-Id",
                "value": "{{user_role_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": "{{api_root}}/mec/notifications/read",
            "description": "Body: {\"id\":\"…\"} or {\"all\":true}",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"all\": true\n}"
            }
          }
        }
      ]
    }
  ]
}
