Value

For every Prefetch Pageviews API call to get the count value, you need to pass a JWT token. The token endpoint is what provides the JWT token.

Getting count

Request

GET
/v1/pageviews/page-id-1/value
curl -X GET "https://prefetch.io/api/v1/pageviews/page-id-1/value" \
  -H "Authorization: {{token}}"

Response

{
  "count": 177
}

Was this page helpful?