curl --location --request POST 'https://api.inboxkit.com/v1/api/prewarm/search-mailboxes' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain_id": "string",
"domain_ids": [
"string"
],
"first_name": "string",
"last_name": "string",
"full_name": "string",
"gender": "male",
"domain": "string",
"domain_age_min": 0,
"domain_age_max": 0,
"platform": "GOOGLE",
"page": 1,
"limit": 10
}'
{
"error": false,
"message": "Mailboxes retrieved successfully",
"data": {
"mailboxes": [
{
"_id": "507f1f77bcf86cd799439012",
"email": "[email protected]",
"username": "john.smith",
"first_name": "John",
"last_name": "Smith",
"full_name": "John Smith",
"gender": "male",
"profile_picture": "https://...",
"platform": "GOOGLE",
"status": "active",
"is_admin": false,
"domain_id": "507f1f77bcf86cd799439011",
"domain_name": "example.com",
"domain_age_days": 260,
"createdAt": "2024-02-01T10:30:00.000Z",
"updatedAt": "2024-02-01T10:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 120,
"pages": 12
}
}
}