create_account
Create a new organization account in Apollo.io by providing company details like name, domain, and contact information to establish a B2B sales presence.
Instructions
Create a new account/organization in Apollo with company details.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Company name | |
| domain | No | Company domain | |
| phone_number | No | Company phone | |
| website_url | No | Website URL |
Implementation Reference
- src/index.ts:1125-1137 (handler)The handler function that implements the create_account tool. It sends a POST request to Apollo's /accounts endpoint with the provided arguments and returns a success message with the created account details.private async createAccount(args: any) { const response = await this.axiosInstance.post("/accounts", args); const account = response.data.account; return { content: [ { type: "text", text: `Account created successfully!\nID: ${account.id}\nName: ${account.name}\nDomain: ${account.domain || "N/A"}`, }, ], }; }
- src/index.ts:520-541 (schema)Input schema for the create_account tool, defining the expected parameters: name (required), domain, phone_number, and website_url.inputSchema: { type: "object", properties: { name: { type: "string", description: "Company name", }, domain: { type: "string", description: "Company domain", }, phone_number: { type: "string", description: "Company phone", }, website_url: { type: "string", description: "Website URL", }, }, required: ["name"], },
- src/index.ts:516-542 (registration)Registration of the create_account tool in the getTools() array returned by ListToolsRequestSchema handler. Includes name, description, and input schema.{ name: "create_account", description: "Create a new account/organization in Apollo with company details.", inputSchema: { type: "object", properties: { name: { type: "string", description: "Company name", }, domain: { type: "string", description: "Company domain", }, phone_number: { type: "string", description: "Company phone", }, website_url: { type: "string", description: "Website URL", }, }, required: ["name"], }, },
- src/index.ts:92-93 (handler)Dispatcher case in the CallToolRequestSchema handler that routes create_account calls to the createAccount method.case "create_account": return await this.createAccount(args);