curl --location --request GET 'https://api.zapmail.ai/api/v2/onebox/connected-accounts' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-id: workspace_123' \
--header 'x-service-provider: GOOGLE'{
"success": true,
"data": [
{
"id": 0,
"first_name": "string",
"last_name": "string",
"email_account": "string",
"provider": "string",
"status": "string",
"profile_picture": null
}
],
"pagination": {
"currentPage": 0,
"totalPages": 0,
"totalCount": 0,
"limit": 0,
"hasNextPage": true,
"hasPrevPage": true
},
"userId": "string"
}