Agreements
Lists agreements
Returns the company’s legal agreements, such as terms of sale, privacy policies and marketing consents, with their content in the locale selected by language_iso. Requires a company token with permission to view agreements. Filter with status or a search_query on the title, and sort with sorted_by. This endpoint uses page-number pagination with page and per_page (default 10, maximum 100); meta.pagination reports the current page, page size, total pages and total count.
GET
/
api
/
agreements
Lists agreements
curl --request GET \
--url https://api.fluid.app/api/agreements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/agreements"
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/agreements', 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/agreements",
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/agreements"
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/agreements")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/agreements")
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{
"agreements": [
{
"id": 48213,
"title": "Terms and Conditions",
"active": true,
"show_at_checkout": true,
"default_checked": false,
"required_on_checkout": true,
"subscription_only": false,
"standalone_on_checkout": false,
"content_digest": "4f7f9a2d0c6b1e8e3a5d9c7b2f1e0d4c8b6a5f3e2d1c0b9a8f7e6d5c4b3a2918",
"company_country_ids": [
2207
],
"description": "<p>By placing an order with Dunder Mifflin Paper Company you agree to these terms of sale, shipping and returns.</p>",
"show_path": "/api/agreements/48213",
"language_iso": "en",
"required": true,
"enrollment_pack_id": null,
"created_at": "2026-09-14T15:22:08Z",
"updated_at": "2026-09-21T09:41:37Z",
"company_logo": "https://cdn.fluid.app/companies/1405/logo/dunder-mifflin-logo.png",
"attachments": [
{
"id": 9127,
"url": "https://cdn.fluid.app/companies/1405/agreements/dunder-mifflin-terms-of-sale.pdf",
"filename": "dunder-mifflin-terms-of-sale.pdf",
"content_type": "application/pdf",
"content_size": 184320,
"kind": "pdf",
"metadata": {}
}
]
},
{
"id": 48214,
"title": "Privacy Policy",
"active": true,
"show_at_checkout": true,
"default_checked": false,
"required_on_checkout": false,
"subscription_only": false,
"standalone_on_checkout": false,
"content_digest": "4f7f9a2d0c6b1e8e3a5d9c7b2f1e0d4c8b6a5f3e2d1c0b9a8f7e6d5c4b3a2918",
"company_country_ids": [],
"description": "<p>Dunder Mifflin Paper Company collects only the information needed to fulfill your order.</p>",
"show_path": "/api/agreements/48214",
"language_iso": "en",
"required": false,
"enrollment_pack_id": null,
"created_at": "2026-09-14T15:24:51Z",
"updated_at": "2026-09-14T15:24:51Z",
"company_logo": "https://cdn.fluid.app/companies/1405/logo/dunder-mifflin-logo.png",
"attachments": []
}
],
"meta": {
"request_id": "7f3c2a91-5d4e-4b8a-9c61-2e8f0d3b5a47",
"timestamp": "2026-09-22T14:05:31Z",
"pagination": {
"current_page": 1,
"total_pages": 1,
"total_count": 2,
"per_page": 10
}
}
}{
"message": "<string>"
}Query Parameters
⌘I
Lists agreements
curl --request GET \
--url https://api.fluid.app/api/agreements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/agreements"
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/agreements', 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/agreements",
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/agreements"
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/agreements")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/agreements")
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{
"agreements": [
{
"id": 48213,
"title": "Terms and Conditions",
"active": true,
"show_at_checkout": true,
"default_checked": false,
"required_on_checkout": true,
"subscription_only": false,
"standalone_on_checkout": false,
"content_digest": "4f7f9a2d0c6b1e8e3a5d9c7b2f1e0d4c8b6a5f3e2d1c0b9a8f7e6d5c4b3a2918",
"company_country_ids": [
2207
],
"description": "<p>By placing an order with Dunder Mifflin Paper Company you agree to these terms of sale, shipping and returns.</p>",
"show_path": "/api/agreements/48213",
"language_iso": "en",
"required": true,
"enrollment_pack_id": null,
"created_at": "2026-09-14T15:22:08Z",
"updated_at": "2026-09-21T09:41:37Z",
"company_logo": "https://cdn.fluid.app/companies/1405/logo/dunder-mifflin-logo.png",
"attachments": [
{
"id": 9127,
"url": "https://cdn.fluid.app/companies/1405/agreements/dunder-mifflin-terms-of-sale.pdf",
"filename": "dunder-mifflin-terms-of-sale.pdf",
"content_type": "application/pdf",
"content_size": 184320,
"kind": "pdf",
"metadata": {}
}
]
},
{
"id": 48214,
"title": "Privacy Policy",
"active": true,
"show_at_checkout": true,
"default_checked": false,
"required_on_checkout": false,
"subscription_only": false,
"standalone_on_checkout": false,
"content_digest": "4f7f9a2d0c6b1e8e3a5d9c7b2f1e0d4c8b6a5f3e2d1c0b9a8f7e6d5c4b3a2918",
"company_country_ids": [],
"description": "<p>Dunder Mifflin Paper Company collects only the information needed to fulfill your order.</p>",
"show_path": "/api/agreements/48214",
"language_iso": "en",
"required": false,
"enrollment_pack_id": null,
"created_at": "2026-09-14T15:24:51Z",
"updated_at": "2026-09-14T15:24:51Z",
"company_logo": "https://cdn.fluid.app/companies/1405/logo/dunder-mifflin-logo.png",
"attachments": []
}
],
"meta": {
"request_id": "7f3c2a91-5d4e-4b8a-9c61-2e8f0d3b5a47",
"timestamp": "2026-09-22T14:05:31Z",
"pagination": {
"current_page": 1,
"total_pages": 1,
"total_count": 2,
"per_page": 10
}
}
}{
"message": "<string>"
}