create_sub_account
Create sub-accounts for Zoom users by providing essential details such as name, email, password, company, and country. Streamlines account management within the Zoom API MCP Server environment.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Address | |
| city | No | City | |
| company_name | Yes | Company name | |
| country | Yes | Country | |
| Yes | Email address of the account owner | ||
| first_name | Yes | First name of the account owner | |
| last_name | Yes | Last name of the account owner | |
| password | Yes | Password | |
| phone_country | No | Country for phone | |
| phone_number | No | Phone number | |
| state | No | State/Province | |
| zip | No | ZIP/Postal Code |
Implementation Reference
- src/tools/account.js:88-95 (handler)Handler function that creates a sub account by posting the account data to the Zoom API /accounts endpoint.handler: async (accountData) => { try { const response = await zoomApi.post('/accounts', accountData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/account.js:74-87 (schema)Zod schema defining the input parameters for creating a sub account.schema: { first_name: z.string().describe("First name of the account owner"), last_name: z.string().describe("Last name of the account owner"), email: z.string().email().describe("Email address of the account owner"), password: z.string().describe("Password"), phone_country: z.string().optional().describe("Country for phone"), phone_number: z.string().optional().describe("Phone number"), company_name: z.string().describe("Company name"), address: z.string().optional().describe("Address"), city: z.string().optional().describe("City"), state: z.string().optional().describe("State/Province"), zip: z.string().optional().describe("ZIP/Postal Code"), country: z.string().describe("Country") },
- src/server.js:49-49 (registration)Registers the accountTools array (containing create_sub_account tool) with the MCP server.registerTools(accountTools);