Webhooks
List webhook schemas
Lists the published JSON payload schemas for webhook events — use them to
generate types or validate deliveries. Read-only. The optional event_identifier
query parameter narrows the list to a single event’s schema. Requires a company
Bearer token (401 otherwise).
GET
/
api
/
webhooks
/
schemas
List webhook schemas
curl --request GET \
--url https://api.fluid.app/api/webhooks/schemas \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/webhooks/schemas"
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/webhooks/schemas', 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/webhooks/schemas",
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/webhooks/schemas"
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/webhooks/schemas")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/webhooks/schemas")
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{
"schemas": [
{
"id": 3187,
"event_identifier": "order_created",
"version": "1.0.0",
"schema_hash": "9c4e2a7f1b8d3065e2f9a4c7b1d8e3f05a6c2b9d4e7f1a3c8b5d2e9f6a0c4b71",
"schema_definition": {
"type": "object",
"properties": {
"order": {
"type": "object"
}
},
"required": [
"order"
]
},
"created_at": "2026-09-02T11:47:30.118Z",
"updated_at": "2026-09-02T11:47:30.118Z"
},
{
"id": 3192,
"event_identifier": "cart_updated",
"version": "1.0.0",
"schema_hash": "1d7b3e9f5a2c8064b1e7d3a9f5c2e8b04d6a1f3c9e7b5d2a8f4c1e6b3d9a7f52",
"schema_definition": {
"type": "object",
"properties": {
"cart": {
"type": "object"
}
},
"required": [
"cart"
]
},
"created_at": "2026-09-03T08:15:02.644Z",
"updated_at": "2026-09-03T08:15:02.644Z"
}
],
"meta": {
"request_id": "8f3c2b71-5d4e-4a9b-b6f0-1e7a9c3d2f58",
"timestamp": "2026-09-30T14:05:12Z"
}
}{
"message": "<string>"
}⌘I
List webhook schemas
curl --request GET \
--url https://api.fluid.app/api/webhooks/schemas \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/webhooks/schemas"
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/webhooks/schemas', 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/webhooks/schemas",
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/webhooks/schemas"
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/webhooks/schemas")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/webhooks/schemas")
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{
"schemas": [
{
"id": 3187,
"event_identifier": "order_created",
"version": "1.0.0",
"schema_hash": "9c4e2a7f1b8d3065e2f9a4c7b1d8e3f05a6c2b9d4e7f1a3c8b5d2e9f6a0c4b71",
"schema_definition": {
"type": "object",
"properties": {
"order": {
"type": "object"
}
},
"required": [
"order"
]
},
"created_at": "2026-09-02T11:47:30.118Z",
"updated_at": "2026-09-02T11:47:30.118Z"
},
{
"id": 3192,
"event_identifier": "cart_updated",
"version": "1.0.0",
"schema_hash": "1d7b3e9f5a2c8064b1e7d3a9f5c2e8b04d6a1f3c9e7b5d2a8f4c1e6b3d9a7f52",
"schema_definition": {
"type": "object",
"properties": {
"cart": {
"type": "object"
}
},
"required": [
"cart"
]
},
"created_at": "2026-09-03T08:15:02.644Z",
"updated_at": "2026-09-03T08:15:02.644Z"
}
],
"meta": {
"request_id": "8f3c2b71-5d4e-4a9b-b6f0-1e7a9c3d2f58",
"timestamp": "2026-09-30T14:05:12Z"
}
}{
"message": "<string>"
}