Overview
A tenant in TenantCore represents a Microsoft 365 tenant that has been connected to your account via admin consent. Each tenant is owned by the user who performed the consent flow. You can only access tenants you connected. TenantCore recommends 12 domains per tenant and 3 mailboxes per domain as the optimal cold email structure on Microsoft tenants. Microsoft imposes no hard limit on custom domains per tenant — this structure is the recommended approach for maximizing deliverability and minimizing single-domain risk.List tenants
Returns all tenants connected to your account, ordered by connection date, most recent first.Get tenant
Returns a single tenant by its Microsoft tenant GUID.
Example request
Sync tenant
Triggers a discovery sync for a connected tenant. This endpoint:- Runs Exchange bootstrap (if needed)
- Ensures SMTP AUTH readiness
- Discovers domains
- Syncs mailboxes
- Updates tenant metadata
Example request
Delete tenant
Removes a tenant and all associated records from your TenantCore account. The Microsoft 365 tenant itself is not affected — only your local records are deleted.
Example request
Connecting new tenants
New tenants cannot be connected via the API. Connecting a tenant requires a Microsoft admin consent flow that must be completed through the TenantCore app at app.tenantcore.io. Once connected, tenants are immediately available via the API.It is highly recommended to connect all your tenants through the app before beginning any automation or scripting. The API assumes tenants are already connected and fully bootstrapped. Automating against tenants that have not completed the consent flow and Exchange setup will result in errors.