account
Get Agent Approval
Show the signed-in person what an AI agent asks to do on their account before they approve it. Needs the agent id and the user code from the approval link; returns 404 when the code does not match or the request belongs to another account.
get/agent-approvals/{agentId}
Request
- Base URL: https://api.aiapplyd.com/api/v1
- URL: https://api.aiapplyd.com/api/v1/agent-approvals/{agentId}
- Auth: HTTP bearer
Path parameters
agentIdstring required
Agent identifier from the approval link (agent_id)
Example:6f1c2b0e-8a54-4c1e-9d2f-3b7a1e5c9d40
Query parameters
codestring required
The user code the agent showed, as in the approval link (code)
Example:ABCD-EFGH
Response
The pending, approved, denied or expired approval request
Example response
{
"data": {
"agentId": "6f1c2b0e-8a54-4c1e-9d2f-3b7a1e5c9d40",
"agentName": "Claude Code",
"capabilities": [
{
"description": "List the job matches in your deck.",
"group": "apply",
"name": "getJobMatches"
}
],
"expiresAt": "2026-10-10T21:10:00.000Z",
"hostName": "MacBook Pro",
"status": "pending"
},
"meta": {
"duration": 150,
"requestId": "req_abc123",
"timestamp": "2026-10-13T10:27:20.268Z",
"version": "v1"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.