curl --request GET \
--url https://api.sidenet.ai/v1/approval-requests/{ref} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sidenet.ai/v1/approval-requests/{ref}"
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/{ref}', 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/{ref}",
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/{ref}"
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/{ref}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/approval-requests/{ref}")
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{
"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"
}Get approval request
One request. A session sees it when it is the requester or may decide it; an organization key sees any of the org’s.
curl --request GET \
--url https://api.sidenet.ai/v1/approval-requests/{ref} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sidenet.ai/v1/approval-requests/{ref}"
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/{ref}', 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/{ref}",
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/{ref}"
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/{ref}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/approval-requests/{ref}")
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{
"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
Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.
Path Parameters
Response
The request
The request id, as the agent received it.
The agent that asked.
The approval workflow routing the decision.
Pinned at capture: a republish never changes an in-flight request.
The captured tool, by its agent-facing name.
The captured arguments — exactly what executes on approval. Never edited.
The model-written sentence saying what the call does (plain text).
What the model said about the call, outside its arguments: approval_reason (the summary) and progress_message (the line the widget showed while the call ran). Context for the approver; never executed.
Who may decide, as the workflow named them; null = any org user but the requester.
pending → approved | declined | expired | stale; approved → executed | failed (| stale after a failed dry run).
pending, approved, declined, expired, stale, executed, failed The tool's result when executed.