Shares
Get shares
Lists the company’s shares that have been viewed at least once, newest first. Covers the last two weeks unless start_date or end_date is given. Each share reports the sharer’s email, whether it was a smart share (sent to a contact) or a general share, and the shared resource. Uses page-number pagination with page (default 1) and per_page (default 20, max 1000); meta.pagination reports the page counts. Requires a company admin token with permission to view share pages.
GET
/
api
/
company
/
shares
Get shares
curl --request GET \
--url https://api.fluid.app/api/company/shares \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/company/shares"
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/company/shares', 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/company/shares",
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/company/shares"
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/company/shares")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/company/shares")
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{
"shares": [
{
"id": 88412,
"views": 14,
"created_at": "2026-09-17T13:05:44Z",
"email": "jim.halpert@dundermifflin.com",
"share_type": "smart",
"shareable_type": "product",
"shareable_id": 30117,
"shareable": {
"id": 30117
}
},
{
"id": 88397,
"views": 6,
"created_at": "2026-09-16T10:21:09Z",
"email": "dwight.schrute@dundermifflin.com",
"share_type": "general",
"shareable_type": "medium",
"shareable_id": 55210,
"shareable": {
"id": 55210,
"type": "Medium",
"title": "Why Dunder Mifflin Paper Still Wins"
}
},
{
"id": 88350,
"views": 3,
"created_at": "2026-09-12T18:47:31Z",
"email": "pam.beesly@dundermifflin.com",
"share_type": "general",
"shareable_type": "mysite",
"shareable_id": 20981,
"shareable": {
"id": 20981,
"replicated_url": "https://dunder-mifflin.fluid.app/pam-beesly",
"mysite_url": "https://dunder-mifflin.fluid.app/pam-beesly/mysite"
}
}
],
"meta": {
"request_id": "8f3c2a71-5d4e-4b9a-9c61-2e7f0d4b8a15",
"timestamp": "2026-09-18T14:32:07Z",
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 3,
"per_page": 20
}
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"scheduled_date": "2026-12-10",
"last_bill_date": "2026-11-10",
"requested_date": "2026-11-30",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}Query Parameters
⌘I
Get shares
curl --request GET \
--url https://api.fluid.app/api/company/shares \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/company/shares"
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/company/shares', 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/company/shares",
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/company/shares"
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/company/shares")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/company/shares")
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{
"shares": [
{
"id": 88412,
"views": 14,
"created_at": "2026-09-17T13:05:44Z",
"email": "jim.halpert@dundermifflin.com",
"share_type": "smart",
"shareable_type": "product",
"shareable_id": 30117,
"shareable": {
"id": 30117
}
},
{
"id": 88397,
"views": 6,
"created_at": "2026-09-16T10:21:09Z",
"email": "dwight.schrute@dundermifflin.com",
"share_type": "general",
"shareable_type": "medium",
"shareable_id": 55210,
"shareable": {
"id": 55210,
"type": "Medium",
"title": "Why Dunder Mifflin Paper Still Wins"
}
},
{
"id": 88350,
"views": 3,
"created_at": "2026-09-12T18:47:31Z",
"email": "pam.beesly@dundermifflin.com",
"share_type": "general",
"shareable_type": "mysite",
"shareable_id": 20981,
"shareable": {
"id": 20981,
"replicated_url": "https://dunder-mifflin.fluid.app/pam-beesly",
"mysite_url": "https://dunder-mifflin.fluid.app/pam-beesly/mysite"
}
}
],
"meta": {
"request_id": "8f3c2a71-5d4e-4b9a-9c61-2e7f0d4b8a15",
"timestamp": "2026-09-18T14:32:07Z",
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 3,
"per_page": 20
}
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"scheduled_date": "2026-12-10",
"last_bill_date": "2026-11-10",
"requested_date": "2026-11-30",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}