V2 (Preview)
cURL
curl --request GET \ --url https://api.village.do/v2/integrations \ --header 'Authorization: Bearer <token>'
{ "data": { "integrations": [ { "id": 123, "type": "gmail", "account_identifier": "[email protected]", "status": "connected", "email_sending_per_day": 50, "email_sending_per_hour": 20, "email_sending_min_delay_seconds": 600, "timezone": "America/New_York", "authorized_gmail": true, "token_expiry_date": "2024-12-31T23:59:59Z", "email_sending_default": true, "refresh_token_exists": true } ], "default_integration": { "id": 123, "type": "gmail", "account_identifier": "[email protected]", "status": "connected", "email_sending_per_day": 50, "email_sending_per_hour": 20, "email_sending_min_delay_seconds": 600, "timezone": "America/New_York", "authorized_gmail": true, "token_expiry_date": "2024-12-31T23:59:59Z", "email_sending_default": true, "refresh_token_exists": true }, "can_sync_google": true }, "metadata": { "request_id": "<string>" } }
Returns all Gmail integrations for the authenticated user with their settings and status.
JWT token obtained from authentication endpoint
Integrations retrieved successfully
Gmail integrations list response
Show child attributes
Was this page helpful?