{
  "info": {
    "name": "Patrol Sense Claims Evidence API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Read incidents, evidence and claim reports of a Patrol Sense customer who gave you a key. A ps_test_ key (Settings \u2192 Claims partner keys \u2192 Test) returns one synthetic sandbox incident; a ps_live_ key sees only that customer's organisation (and buildings, if limited). Every call is logged for the customer. Errors: { \"error\": { \"code\", \"message\", \"request_id\" } }. Reference: https://api.patrolsense.com/docs"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.patrolsense.com"
    },
    {
      "key": "apiKey",
      "value": "ps_test_replace_with_your_key"
    },
    {
      "key": "incidentId",
      "value": "11111111-1111-4111-8111-111111111111"
    },
    {
      "key": "packageId",
      "value": "22222222-2222-4222-8222-222222222222"
    },
    {
      "key": "reportId",
      "value": "33333333-3333-4333-8333-333333333333"
    },
    {
      "key": "evidenceId",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Key and API version",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/meta",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "meta"
          ]
        },
        "description": "Environment (test or live), scopes, API version and the webhook events this key can receive."
      }
    },
    {
      "name": "List incidents",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/incidents?limit=25",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "incidents"
          ],
          "query": [
            {
              "key": "limit",
              "value": "25",
              "disabled": false
            },
            {
              "key": "occurred_after",
              "value": "2026-01-01T00:00:00Z",
              "disabled": true
            },
            {
              "key": "occurred_before",
              "value": "",
              "disabled": true
            },
            {
              "key": "category",
              "value": "slip_fall",
              "disabled": true
            },
            {
              "key": "severity",
              "value": "high",
              "disabled": true
            },
            {
              "key": "status",
              "value": "",
              "disabled": true
            },
            {
              "key": "site_id",
              "value": "",
              "disabled": true
            },
            {
              "key": "camera_id",
              "value": "",
              "disabled": true
            },
            {
              "key": "cursor",
              "value": "",
              "disabled": true
            }
          ]
        },
        "description": "Cursor pagination (next_cursor). Filters as below."
      }
    },
    {
      "name": "Get an incident",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/incidents/{{incidentId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "incidents",
            "{{incidentId}}"
          ]
        },
        "description": "One incident in the canonical claims schema (patrolsense.canonical.v1)."
      }
    },
    {
      "name": "Evidence of an incident",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/incidents/{{incidentId}}/evidence",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "incidents",
            "{{incidentId}}",
            "evidence"
          ]
        },
        "description": "Evidence items with capture time, type and SHA-256 fingerprint."
      }
    },
    {
      "name": "Evidence package of an incident",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/incidents/{{incidentId}}/evidence-package",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "incidents",
            "{{incidentId}}",
            "evidence-package"
          ]
        },
        "description": "The claim-ready package: manifest, fingerprints, timeline."
      }
    },
    {
      "name": "Claim report of an incident",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/incidents/{{incidentId}}/claim-report",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "incidents",
            "{{incidentId}}",
            "claim-report"
          ]
        },
        "description": "The latest approved Insurance Claim Report (needs claim_reports:read)."
      }
    },
    {
      "name": "Ask for a claim report",
      "request": {
        "method": "POST",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/incidents/{{incidentId}}/claim-report",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "incidents",
            "{{incidentId}}",
            "claim-report"
          ]
        },
        "description": "Asks for a claim report (needs claim_reports:write). If one is approved it is returned; otherwise the answer is pending_authorized_generation: a person at the customer generates and approves it in Patrol Sense (the API never approves), then GET the claim report."
      }
    },
    {
      "name": "Get an evidence package",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/evidence-packages/{{packageId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "evidence-packages",
            "{{packageId}}"
          ]
        },
        "description": "An evidence package by its id."
      }
    },
    {
      "name": "Get a claim report",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/claim-reports/{{reportId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "claim-reports",
            "{{reportId}}"
          ]
        },
        "description": "A claim report by its id."
      }
    },
    {
      "name": "Download link for an evidence item",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/evidence/{{evidenceId}}/access",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "evidence",
            "{{evidenceId}}",
            "access"
          ]
        },
        "description": "A short-lived download link (logged for the customer)."
      }
    },
    {
      "name": "List external references",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/external-references?",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "external-references"
          ],
          "query": [
            {
              "key": "resource_type",
              "value": "incident",
              "disabled": true
            },
            {
              "key": "resource_id",
              "value": "",
              "disabled": true
            },
            {
              "key": "partner",
              "value": "",
              "disabled": true
            }
          ]
        },
        "description": "Your claim numbers linked to Patrol Sense records."
      }
    },
    {
      "name": "Link your claim number",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new value per write; a retry with the same value returns the first result."
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/external-references",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "external-references"
          ]
        },
        "description": "Link your system's id (a claim number) to an incident, evidence item, package, report, building or camera (needs external_references:write).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"resource_type\": \"incident\",\n  \"resource_id\": \"{{incidentId}}\",\n  \"partner\": \"your-company\",\n  \"external_system\": \"Guidewire ClaimCenter\",\n  \"external_id\": \"CLM-2026-000123\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "Report a claim outcome",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new value per write; a retry with the same value returns the first result."
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/claims/claim-outcomes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "claims",
            "claim-outcomes"
          ]
        },
        "description": "Tell the customer how the claim ended (needs claim_outcomes:write). incident_ref or external_claim_id is required; test keys only for the sandbox incident. Amounts are numbers in the currency's units (1250.50), dates ISO-8601.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"partner\": \"your-company\",\n  \"incident_ref\": \"{{incidentId}}\",\n  \"external_claim_id\": \"CLM-2026-000123\",\n  \"external_system\": \"Guidewire ClaimCenter\",\n  \"claim_status\": \"closed\",\n  \"outcome\": \"paid\",\n  \"liability_status\": \"accepted\",\n  \"settlement_amount\": 1250,\n  \"settlement_currency\": \"USD\",\n  \"claim_opened_at\": \"2026-02-12T09:00:00Z\",\n  \"claim_closed_at\": \"2026-03-01T15:30:00Z\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}
