curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/renewal-soon?page&limit' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-key: workspace_id' \
--header 'x-service-provider: GOOGLE' \
--header 'Content-Type: application/json' \
--data-raw '{
"contains": "string",
"tagIds": [
"string"
]
}'{
"status": 200,
"message": "Domains fetched successfully",
"data": {
"totalCount": 12,
"totalPages": 1,
"currentPage": 1,
"domains": [
{
"id": "uuid",
"domain": "example.com",
"status": "ACTIVE",
"createdAt": "2024-01-01T00:00:00.000Z",
"registeredOn": "2024-01-01T00:00:00.000Z",
"expireOn": "2026-05-01T00:00:00.000Z",
"serviceProvider": "GOOGLE",
"assignedMailboxesCount": 3,
"workspace": {
"id": "uuid",
"name": "My Workspace"
}
}
]
}
}