success instead of the standard status/message/data envelope. Errors use the standard error envelope. The account owner must have Zapbox consent enabled, otherwise the call fails with 403; consent cannot be set through this API.nextCursor of the previous response as cursor. nextCursor is null on the last page. There is no page parameter.warmup is true; dmarc set to true returns DMARC report threads instead of normal threads. Deleted threads are excluded unless folder is trash.account, all mailboxes in the selected workspaces are searched. A mailbox you do not have access to returns 404.GET /onebox/thread-emails, GET /onebox/search-emails.curl --location 'https://api.zapmail.ai/api/v3/onebox/top-emails' \
--header 'x-auth-zapmail;'{
"success": true,
"data": [
{
"threadId": "19a3f5c2d7e8b401",
"messageId": "19a3f5c2d7e8b402",
"subject": "Re: Quick question",
"snippet": "Thanks for reaching out...",
"isRead": false,
"isStarred": false,
"labels": [
"inbox"
],
"account": "jane@acme.com",
"from": [
{
"address": "lead@example.com",
"name": "Lead Example"
}
],
"to": [
{
"address": "jane@acme.com",
"name": "Jane Doe"
}
],
"folderPath": "inbox",
"date": "2026-10-26T08:41:00.000Z",
"isWarmUp": false,
"isDmarc": false
}
],
"nextCursor": "eyJ0eXBlIjoicGFnZSIsInBhZ2UiOjJ9",
"hasDateFilter": false,
"total": 214
}