status filters the list. Without it every status is returned.page and limit only affect the pagination fields.totalSearchedCount counts every invitation the account has sent, whatever status is.curl --location 'https://api.zapmail.ai/api/v3/workspaces/invitations' \
--header 'x-auth-zapmail;'{
"status": 200,
"message": "Invitations fetched successfully",
"data": {
"totalSearchedCount": 1,
"currentPage": 1,
"nextPage": 2,
"totalPages": 1,
"invitations": [
{
"id": "f3b9d1a0-2c4e-4a6b-8d0f-1a2b3c4d5e6f",
"workspaceId": "5d0f3b52-8c1e-4a8e-9f67-2b1c7e0a4d11",
"workspaceName": "Acme Outreach",
"inviteeEmail": "sam@acme.com",
"role": "EDITOR",
"status": "PENDING",
"expiresAt": "2026-09-16T08:21:37.000Z",
"acceptedAt": null,
"sender": {
"email": "jane@acme.com",
"firstName": "Jane",
"lastName": "Doe"
}
}
]
}
}