# List page visit

You can return a list of all page visits within an application.

GET /site-views/

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X GET -H
"Authorization: Token \<your_64_char_api_key>"
"https://<your_app_subdomain>.user.com/api/public/site-views/"

# Response

  {
      "count":2,
      "next": null,
      "previous": null,
      "results": [
          {
              "id": 1,
              "client_user": "Ypp9DQiEZIPl",
              "page_domain": "http://mysite.com",
              "page_path": "/my-path",
              "timestamp": "2019-02-18T12:53:17.165251Z"
          },
          {
              "id": 2,
              "client_user": "Ypp9DQiEZIPl",
              "page_domain": "http://mysite.com",
              "page_path": "/my-path",
              "timestamp": "2019-02-18T12:53:17.165251Z"
          }
  }