Run in Apidog
List of Domains for Mailbox Assignment# This endpoint provides a list of domains to which you can assign mailboxes. Query Parameters# contains# Description : A search filter to return domains that match the specified criteria. The value can be any string, and only domains containing this string will be returned.
page# Description : The page number for paginating through results. This allows you to retrieve results in multiple pages when dealing with large datasets.
Notes# The contains
parameter is optional and can be omitted if no filtering is needed.
The page
parameter is used to retrieve paginated results, allowing you to navigate through different sets of domains.
Request
Example: {{x-auth-zapmail}}
Request samples curl --location --request GET 'https://api.zapmail.ai/api/v2/domains/assignable' \
--header 'x-auth-zapmail: '
Responses application/json Generate Code
{
"status" : 200 ,
"message" : "Domains fetched successfully" ,
"data" : {
"totalSearchedCount" : 1 ,
"currentPage" : 1 ,
"nextPage" : 2 ,
"totalPages" : 1 ,
"domains" : [
{
"id" : "e439f190-632c-40cd-98a7-f1f3f1cc7a05" ,
"workspaceId" : "0e027scf-frd2-443d-9c3c-2d157ff6sfda" ,
"domain" : "abc.com" ,
"status" : "ACTIVE" ,
"createdAt" : "2025-03-13T14:38:07.579Z" ,
"updatedAt" : "2025-06-27T12:01:01.359Z" ,
"forwardTo" : null ,
"forwardToAddedOnReseller" : false ,
"dmarcEmail" : null ,
"dmarcEmailAddedToReseller" : false ,
"assignedMailboxesCount" : "0" ,
"mailboxes" : [ ]
}
]
}
}
Modified at 2025-06-27 15:09:48