Approvals

Act on an approval

Approve or reject a pending approval request

post/api/v1/approvals/{id}/action

Request

  • Base URL: http://dobby-ai.com
  • URL: http://dobby-ai.com/api/v1/approvals/{id}/action
  • Auth: HTTP bearer

Path parameters

idstring required

Approval ID

Request body

action'approve' | 'reject' | 'request_changes' required

The action to take

notestring

Optional note or feedback

Response

Action completed

successboolean
messagestring

Example response

{
  "success": true,
  "data": {
    "id": "approval_abc123",
    "task_id": "task_xyz",
    "agent_id": "agent_abc123",
    "agent_name": "Backend Developer Agent",
    "action_type": "pr_merge",
    "action_description": "Merge PR #42 to main",
    "status": "pending",
    "priority": "medium"
  },
  "message": "Approval approved successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.