Add users by email

Add users from a list of email addresses to a department and optional groups.

MCP tool ispring_write → add_users_by_email

write Confirm

Runs Users, Export/Import, Add users by email: up to 50 emails per call, one department, and up to 5 groups. An email that already belongs to a user is added to the groups and stays in their current department. Only the Account Owner and Account Administrators can use this. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: add_users_by_email
NameTypeDescription
emails string[] required string[] Up to 50 email addresses.
department_id string required string Department from list_departments.
group_ids string[] string[] Up to 5 groups from list_groups.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ispring_write",
    "arguments": {
      "operation": "add_users_by_email",
      "arguments": {
        "emails": [
          "jane@example.com"
        ],
        "department_id": "department_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "added": 2,
    "existing": 0,
    "users": [
      {
        "user_id": "u_a1f003",
        "email": "new.hire1@example.com",
        "department": "Support"
      },
      {
        "user_id": "u_a1f004",
        "email": "new.hire2@example.com",
        "department": "Support"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.