curl --request POST \
--url https://api.checkfu.com/v1/action-approvals/{id}/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"expected_version": 1,
"instructions": "<string>",
"acted_as": "<string>"
}
'import requests
url = "https://api.checkfu.com/v1/action-approvals/{id}/responses"
payload = {
"expected_version": 1,
"instructions": "<string>",
"acted_as": "<string>"
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({expected_version: 1, instructions: '<string>', acted_as: '<string>'})
};
fetch('https://api.checkfu.com/v1/action-approvals/{id}/responses', 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.checkfu.com/v1/action-approvals/{id}/responses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'expected_version' => 1,
'instructions' => '<string>',
'acted_as' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.checkfu.com/v1/action-approvals/{id}/responses"
payload := strings.NewReader("{\n \"expected_version\": 1,\n \"instructions\": \"<string>\",\n \"acted_as\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.checkfu.com/v1/action-approvals/{id}/responses")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expected_version\": 1,\n \"instructions\": \"<string>\",\n \"acted_as\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/action-approvals/{id}/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"expected_version\": 1,\n \"instructions\": \"<string>\",\n \"acted_as\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"decision": "approve",
"approval": {
"id": "<string>",
"workspace_id": "<string>",
"status": "pending",
"connection_id": "<string>",
"tool_source_id": "<string>",
"tool_name": "<string>",
"arguments_hash": "<string>",
"context_summary": {
"tool_invocation_id": "<string>",
"session_id": "<string>",
"run_id": "<string>",
"agent_definition_id": "<string>",
"agent_version": 1,
"agent_installation_id": "<string>",
"surface_scope_id": "<string>",
"connection_version": 1,
"tool_version": 1,
"tool_schema_hash": "<string>",
"execution_backend": "builtin",
"request": {
"scheme": "https",
"host": "<string>",
"port": 32768,
"method": "GET",
"path": "<string>"
}
},
"requested_by": {
"kind": "principal",
"principal": "<string>"
},
"acted_as": "<string>",
"responder": {
"kind": "system"
},
"instructions": "<string>",
"expires_at": "<string>",
"version": 1,
"created_at": "<string>",
"updated_at": "<string>"
},
"proof": {
"action_approval_id": "<string>",
"token": "<string>"
}
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "validation.not_found",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-not-found"
}
}{
"error": {
"type": "validation.conflict",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-conflict"
}
}{
"error": {
"type": "runtime.harness_incompatible",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-harness-incompatible"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}Respond to an ActionApproval
Records a human approve or deny decision on one ActionApproval and unparks the waiting Run. expected_version must match the ActionApproval’s current version, optional instructions are carried to the harness and recorded in action_approval.resolved, and an Idempotency-Key lets an exact retry replay the captured response. The workspace approval-responder roles (root/admin) authorize a caller that asserts no responder. Alternatively a control-plane human-asserter caller (a root/admin/developer key, never an execution-plane runner) may assert the responding end-user Principal via acted_as: the response is then authorized only when that Principal holds an active approve PermissionAssignment surviving the full ActionPolicy ladder (a deny ActionPolicy dominates) on the ActionApproval’s subject resource — its SurfaceScope or Connection for a CapabilityGateway ActionApproval, its Agent or SurfaceScope for a Custom tool (automation-step ActionApprovals route to no PermissionAssignment and stay role-only). The asserted Principal is recorded as the responder and the asserting key is audited; acted_as is never ignored — if present it must satisfy that PermissionAssignment path or the response is refused. An approved ToolInvocation returns a single-use, time-bounded proof token that this response is the only place to read; a Custom-tool approval instead emits run.action_authorized and the same Run stays parked until the application posts the matching user.custom_tool_result. A denial also resumes the Run — the harness is told the call was refused.
Checkfu support posture: alpha; hosted. Required evidence journey: capability-gateway. Deployment-specific readiness and the latest proven release are available from GET /v1/support/capabilities.
curl --request POST \
--url https://api.checkfu.com/v1/action-approvals/{id}/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"expected_version": 1,
"instructions": "<string>",
"acted_as": "<string>"
}
'import requests
url = "https://api.checkfu.com/v1/action-approvals/{id}/responses"
payload = {
"expected_version": 1,
"instructions": "<string>",
"acted_as": "<string>"
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({expected_version: 1, instructions: '<string>', acted_as: '<string>'})
};
fetch('https://api.checkfu.com/v1/action-approvals/{id}/responses', 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.checkfu.com/v1/action-approvals/{id}/responses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'expected_version' => 1,
'instructions' => '<string>',
'acted_as' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.checkfu.com/v1/action-approvals/{id}/responses"
payload := strings.NewReader("{\n \"expected_version\": 1,\n \"instructions\": \"<string>\",\n \"acted_as\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.checkfu.com/v1/action-approvals/{id}/responses")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expected_version\": 1,\n \"instructions\": \"<string>\",\n \"acted_as\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/action-approvals/{id}/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"expected_version\": 1,\n \"instructions\": \"<string>\",\n \"acted_as\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"decision": "approve",
"approval": {
"id": "<string>",
"workspace_id": "<string>",
"status": "pending",
"connection_id": "<string>",
"tool_source_id": "<string>",
"tool_name": "<string>",
"arguments_hash": "<string>",
"context_summary": {
"tool_invocation_id": "<string>",
"session_id": "<string>",
"run_id": "<string>",
"agent_definition_id": "<string>",
"agent_version": 1,
"agent_installation_id": "<string>",
"surface_scope_id": "<string>",
"connection_version": 1,
"tool_version": 1,
"tool_schema_hash": "<string>",
"execution_backend": "builtin",
"request": {
"scheme": "https",
"host": "<string>",
"port": 32768,
"method": "GET",
"path": "<string>"
}
},
"requested_by": {
"kind": "principal",
"principal": "<string>"
},
"acted_as": "<string>",
"responder": {
"kind": "system"
},
"instructions": "<string>",
"expires_at": "<string>",
"version": 1,
"created_at": "<string>",
"updated_at": "<string>"
},
"proof": {
"action_approval_id": "<string>",
"token": "<string>"
}
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "validation.not_found",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-not-found"
}
}{
"error": {
"type": "validation.conflict",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-conflict"
}
}{
"error": {
"type": "runtime.harness_incompatible",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-harness-incompatible"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
2026-08-27 255Path Parameters
an ActionApprovalId of the form approval_<32 hex chars> or bapproval_<32 hex chars>
^approval_[0-9a-f]{32}$