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.account values accepted by the other Zapbox endpoints.page and limit (default 50, maximum 100), not the 10-item default of other Zapmail lists.contains matches the mailbox ID, email address, first name or last name.tags keeps mailboxes on domains that carry any of the given tag IDs.GET /onebox/top-emails.curl --location 'https://api.zapmail.ai/api/v3/onebox/connected-accounts' \
--header 'x-auth-zapmail;'{
"success": true,
"data": [
{
"id": 1042,
"firstName": "Jane",
"lastName": "Doe",
"emailAccount": "jane@acme.com",
"provider": "GMAIL",
"status": "active",
"profilePicture": null
}
],
"pagination": {
"currentPage": 1,
"totalPages": 3,
"totalCount": 120,
"limit": 50,
"hasNextPage": true,
"hasPrevPage": false
},
"userId": "0b71d8dd-55c3-4bf8-b4ed-bfe9697d5af1"
}