List my approval requests
curl --request GET \
--url https://api.sidenet.ai/v1/approval-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sidenet.ai/v1/approval-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sidenet.ai/v1/approval-requests', 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.sidenet.ai/v1/approval-requests",
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.sidenet.ai/v1/approval-requests"
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.sidenet.ai/v1/approval-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/approval-requests")
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{
"requests": [
{
"approval_ref": "7d2e1c54-9a0b-4f3e-8c21-5b6d7e8f9a01",
"id": "7d2e1c54-9a0b-4f3e-8c21-5b6d7e8f9a01",
"org_id": "c0a8012e-5f3b-4d1a-9e2f-7b6c5d4e3f21",
"agent_id": "6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10",
"agent_version_id": "a7c3e1d5-6b48-4f92-8a03-e5c9b2d417f6",
"workflow_id": "4c2f9e18-7a63-4d05-b1e8-93a7c0f2d641",
"workflow_version_id": "0e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b",
"workflow_run_id": "9b8a7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
"tool_id": "33befea7-0d3e-4b1a-8f9c-2a1b3c4d5e6f",
"tool_name": "pms_modify_reservation",
"args": {
"reservation_id": "ABC123",
"arrival": "2026-11-12",
"departure": "2026-11-14"
},
"summary": "Move reservation ABC123 to 12–14 November as the guest asked.",
"metadata": {
"approval_reason": "Move reservation ABC123 to 12–14 November as the guest asked.",
"progress_message": "Moving the reservation"
},
"requester_user_id": "guest-liaison",
"requester_run_id": "trace_01",
"requester_thread_id": "wa:prop-1:guest:+4917000000",
"eligible_user_ids": [
"marta",
"jonas"
],
"ttl_minutes": 240,
"expires_at": "2026-10-25T18:00:00Z",
"status": "pending",
"decided_by_user_id": null,
"decided_at": null,
"decision_note": null,
"decision_channel": null,
"execution_run_id": null,
"execution_result": null,
"execution_error": null,
"created_at": "2026-10-25T14:00:00Z",
"updated_at": "2026-10-25T14:00:00Z"
}
]
}Approvals
List my approval requests
The delegated approval requests the caller may act on. With a session token: the pending requests this user may DECIDE (named eligible by the workflow, or open to any org user — never their own), which is what a “needs your decision” view lists; role=requester lists the ones they asked for instead, role=all both. With an organization key: every request of the org, optionally narrowed to a user with X-User-Id (or userId) and role. status filters (default pending for a session, any for an org key).
GET
/
v1
/
approval-requests
List my approval requests
curl --request GET \
--url https://api.sidenet.ai/v1/approval-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sidenet.ai/v1/approval-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sidenet.ai/v1/approval-requests', 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.sidenet.ai/v1/approval-requests",
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.sidenet.ai/v1/approval-requests"
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.sidenet.ai/v1/approval-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/approval-requests")
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{
"requests": [
{
"approval_ref": "7d2e1c54-9a0b-4f3e-8c21-5b6d7e8f9a01",
"id": "7d2e1c54-9a0b-4f3e-8c21-5b6d7e8f9a01",
"org_id": "c0a8012e-5f3b-4d1a-9e2f-7b6c5d4e3f21",
"agent_id": "6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10",
"agent_version_id": "a7c3e1d5-6b48-4f92-8a03-e5c9b2d417f6",
"workflow_id": "4c2f9e18-7a63-4d05-b1e8-93a7c0f2d641",
"workflow_version_id": "0e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b",
"workflow_run_id": "9b8a7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
"tool_id": "33befea7-0d3e-4b1a-8f9c-2a1b3c4d5e6f",
"tool_name": "pms_modify_reservation",
"args": {
"reservation_id": "ABC123",
"arrival": "2026-11-12",
"departure": "2026-11-14"
},
"summary": "Move reservation ABC123 to 12–14 November as the guest asked.",
"metadata": {
"approval_reason": "Move reservation ABC123 to 12–14 November as the guest asked.",
"progress_message": "Moving the reservation"
},
"requester_user_id": "guest-liaison",
"requester_run_id": "trace_01",
"requester_thread_id": "wa:prop-1:guest:+4917000000",
"eligible_user_ids": [
"marta",
"jonas"
],
"ttl_minutes": 240,
"expires_at": "2026-10-25T18:00:00Z",
"status": "pending",
"decided_by_user_id": null,
"decided_at": null,
"decision_note": null,
"decision_channel": null,
"execution_run_id": null,
"execution_result": null,
"execution_error": null,
"created_at": "2026-10-25T14:00:00Z",
"updated_at": "2026-10-25T14:00:00Z"
}
]
}Authorizations
bearerAuthsessionToken