REST-API
Save page views with REST API

Save page views with REST API

You can submit page views to Rek.ai using POST calls. If you want to test this, email us at info@rek.ai (opens in a new tab) and we'll make sure your project is activated to receive these POSTs.

POST /view HTTP/1.1
Host: view.rekai.se
Content-Type: application/json
 
{
  "pn": "Näringsliv och arbete - Götene kommun",
  "pid": "4.2edd891311d671f43228000183493",
  "mb": -1,
  "mv": {
    "vt": 3,
    "v30": 24,
    "dlv": 2
  },
  "mp": {
    "p": [
      "4.2edd891311d671f43228000183493"
    ]
  },
  "cf": [],
  "csf": [],
  "p": "10101019",
  "ubl": "sv-SE",
  "ref": "",
  "ld": "2025-01-30T10:11:58.551Z",
  "url": "/naringslivocharbete.265925.html",
  "content": {
    "templateId": "91.74f3e02916a05b5e44d8c56"
  },
  "orgreferer": "",
  "hc": true
}