Legacy (v0)
List page views
Lists the visitors, with a resolved location, who viewed a page through the calling user’s share links. Returns a plain JSON array (not paginated), which is empty when the token carries no user. Requires a Bearer token for a company admin, rep, or customer of the company; admin users, company API tokens, and partner tokens need the pages view permission. Returns 404 when the page does not belong to the company.
GET
/
api
/
page
/
{id}
/
views
List page views
curl --request GET \
--url https://api.fluid.app/api/page/{id}/views \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/page/{id}/views"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/page/{id}/views', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/page/{id}/views",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/page/{id}/views"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/page/{id}/views")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/page/{id}/views")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": 884201,
"token": "v-3f9a1c7e52d8",
"ip_address": "73.152.44.210",
"city": "Scranton",
"state": "Pennsylvania",
"country": "US",
"latitude": 41.4089,
"longitude": -75.6624,
"utm_source": "facebook",
"utm_medium": "social",
"utm_campaign": "back-to-school-paper",
"utm_term": null,
"utm_content": null,
"contact_id": null,
"user_id": 20931,
"company_id": 1405,
"medium_id": null,
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 19_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/19.0 Mobile/15E148 Safari/604.1",
"last_seen_at": "2026-09-18T19:40:52Z",
"created_at": "2026-09-18T19:38:03Z",
"updated_at": "2026-09-18T19:40:52Z"
}
]{
"message": "<string>"
}Response
Success
⌘I
List page views
curl --request GET \
--url https://api.fluid.app/api/page/{id}/views \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/page/{id}/views"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/page/{id}/views', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/page/{id}/views",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/page/{id}/views"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/page/{id}/views")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/page/{id}/views")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": 884201,
"token": "v-3f9a1c7e52d8",
"ip_address": "73.152.44.210",
"city": "Scranton",
"state": "Pennsylvania",
"country": "US",
"latitude": 41.4089,
"longitude": -75.6624,
"utm_source": "facebook",
"utm_medium": "social",
"utm_campaign": "back-to-school-paper",
"utm_term": null,
"utm_content": null,
"contact_id": null,
"user_id": 20931,
"company_id": 1405,
"medium_id": null,
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 19_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/19.0 Mobile/15E148 Safari/604.1",
"last_seen_at": "2026-09-18T19:40:52Z",
"created_at": "2026-09-18T19:38:03Z",
"updated_at": "2026-09-18T19:40:52Z"
}
]{
"message": "<string>"
}