curl --location --request GET 'https://api.zapmail.ai/api/domain/connection-requests' \
--header 'x-auth-zapmail: '
{
"status": 200,
"message": "Pending domain connection requests",
"data": {
"totalSearchedCount": 1,
"currentPage": 1,
"nextPage": 2,
"totalPages": 1,
"totalCount": 1,
"data": [
{
"id": "11111111-2222-3333-4444-555555555555",
"domainName": "exampledomain.com",
"userId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"workspaceId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"serviceProvider": "CLOUDFLARE",
"dnsManagedBy": "ZAPMAILDNS",
"status": "NS_VERIFIED",
"metadata": {
"currentNameServers": [
"ns1.zapmaildns.com",
"ns2.zapmaildns.com"
]
},
"nextRetryOn": "2025-07-01T12:00:00.000Z",
"createdAt": "2025-06-25T09:30:00.000Z",
"updatedAt": "2025-06-26T14:45:00.000Z",
"deletedAt": null
}
]
}
}