v1

latestOpenAPI 3.1.02026-07-2617125852.3 KB
Account

Move accounts between workspaces

Move accounts between workspaces. IMPORTANT: this endpoint should be called ONLY with an ADMIN workspace API key (check the workspace group docs: https://developer.instantly.ai/workspace-group), and both the source and destination workspaces must have the same admin workspace.

post/api/v2/accounts/move

Request body

emailsstring[] required

Array of email addresses of the accounts to move

source_workspace_idstring required

ID of the source workspace (the workspace that the accounts are currently in)

destination_workspace_idstring required

ID of the destination workspace (the workspace that the accounts will be moved to)

Example request

{
  "emails": [
    "user@example.com"
  ],
  "source_workspace_id": "019f94cd-ad9c-7434-a63f-b6f9f43965bc",
  "destination_workspace_id": "019f94cd-ad9c-7434-a63f-b6fa514be239"
}

Response

Default Response

status'success'

Example response

{
  "status": "success"
}