Save page views with REST API

Save page views with REST API

It is entirely possible to submit pageviews to rek.ai using POST calls. If you want to test the technology, email us at info@rek.ai and we will make sure that 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
}