Approve a portal action
POST
/v1/portal-tasks/{id}/approveLet a held portal action go through, or reject it. Only valid while the task is `approval_required`.
Used in Payer portals
Call this with AIA brief with this endpoint's request, response and auth, ready for a typed client in your language.
Path parameters
idstringrequiredThe portal task id.
Body
decisionstringrequiredapproveorreject.notestringKept on the task's audit trail.
Try itEdit the fields and copy the request. Nothing is sent from this page.
curl -X POST https://api.daybookhealthcare.com/v1/portal-tasks/ptask_01JBXA2W8K3N/approve \
-H "Authorization: Bearer $DAYBOOK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"decision": "approve",
"note": "Checked the attachment, send it."
}'Response
idstringUnique id, prefixedptask_.objectstringAlwaysportal_task.statusstringqueued,running,approval_required,completed,failedorcanceled.payerstringDaybook payer id.portalstringThe portal used, such asavailityor the payer's own site.taskstringThe task you asked for.pending_actionobjectWhat Daybook is about to change in the portal. Present whileapproval_required.Properties
summarystringThe change, in plain words.screenshot_urlstringSigned link to the screen as it will be submitted.
resultobjectWhat Daybook read back. Shape depends ontask.nulluntil completed.evidenceobject[]Signed links to the pages captured along the way.metadataobjectYour keys, echoed back.created_atstringRFC 3339 timestamp.
curl -X POST https://api.daybookhealthcare.com/v1/portal-tasks/ptask_01JBXA2W8K3N/approve \
-H "Authorization: Bearer $DAYBOOK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"decision": "approve",
"note": "Checked the attachment, send it."
}'{
"id": "ptask_01JBXA2W8K3N",
"object": "portal_task",
"status": "running",
"payer": "keystone",
"portal": "availity",
"task": "attachment_upload",
"pending_action": null,
"result": null,
"evidence": [
{
"label": "Remittance viewer",
"url": "https://files.daybookhealthcare.com/e/ptask_01JBXA2W8K3N/1?sig=..."
}
],
"metadata": {},
"created_at": "2026-10-29T15:10:40Z"
}
