Start a portal task
POST
/v1/portal-tasksHave Daybook sign in to a payer portal, run a defined set of steps and read the result back.
Used in Payer portals1 use case
Call this with AIA brief with this endpoint's request, response and auth, ready for a typed client in your language.
Body
payerstringrequiredDaybook payer id.taskstringrequiredremit_lookup,claim_lookup,appeal_status,attachment_uploadoroverpayment_lookup.portalstringForce a portal. By default Daybook picks the portal that answers the task for this payer.claimobjectThe claim the task is about.Properties
payer_claim_numberstringThe payer's claim number (ICN), when you have it.patient_control_numberstringYour claim id as sent in CLM01.date_of_servicestringrequiredFirst date of service,YYYY-MM-DD.billed_amount_centsintegerTotal billed, in cents.
providerobjectrequiredThe provider whose portal account to use.Properties
npistringrequiredBilling or rendering NPI.tax_idstringTax id, when the payer verifies by TIN.
attachment_urlstringForattachment_upload: an HTTPS link Daybook fetches the file from.require_approvalbooleanHold any step that changes something in the portal until you approve it. Defaults totrueforattachment_upload.metadataobjectYour keys, echoed back.
Try itEdit the fields and copy the request. Nothing is sent from this page.
curl -X POST https://api.daybookhealthcare.com/v1/portal-tasks \
-H "Authorization: Bearer $DAYBOOK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"payer": "keystone",
"task": "remit_lookup",
"claim": {
"patient_control_number": "A-20817-1",
"date_of_service": "2026-09-30"
},
"provider": {
"npi": "1999999984",
"tax_id": "00-0000000"
}
}'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 \
-H "Authorization: Bearer $DAYBOOK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"payer": "keystone",
"task": "remit_lookup",
"claim": {
"patient_control_number": "A-20817-1",
"date_of_service": "2026-09-30"
},
"provider": {
"npi": "1999999984",
"tax_id": "00-0000000"
}
}'{
"id": "ptask_01JBXA2W8K3N",
"object": "portal_task",
"status": "queued",
"payer": "keystone",
"portal": "availity",
"task": "remit_lookup",
"pending_action": null,
"result": null,
"evidence": [],
"metadata": {},
"created_at": "2026-10-29T15:10:40Z"
}
