Organizations
Preview owned-resource counts for a cross-organization user transfer (SuperAdmin only)
Returns aggregate counts of items currently owned by the user (contacts, conversations, assignee-only conversations, automations, workflows, webchat configurations, acquired items, integrations, voice numbers, prompts, automation keys, etc.) so the operator can review what would be moved. Does not mutate state.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/organizations/transfer/preview" \ -H "Content-Type: application/json" \ -d '{ "userId": "5f7b1c2e8a1d4e0012c3b4a6", "targetOrganizationId": "5f7b1c2e8a1d4e0012c3b401" }'{ "contacts": 1240, "conversations": 3580, "assigneeConversations": 412, "automations": 7, "workflows": 3, "webchatConfigurations": 2, "acquiredItems": 18, "emailAccounts": 1, "calendarConnections": 1, "calendarToolConfigurations": 1, "googleSheetsTokens": 0, "unfiredReminders": 22, "promptCount": 15, "automationKeys": 4}