You want a script to create Gmail accounts, so you search for a Gmail API signup endpoint. The important distinction is between working with an existing mailbox and provisioning a new identity. The public Gmail API has no consumer @gmail.com registration endpoint. A function that creates a draft, label, or encryption identity does not create another Google Account.
What the Gmail API actually automates
The Gmail API reference describes operations on an authorized user's mailbox: messages, drafts, labels, threads, and settings. Use it when an existing account must read mail or send a permitted message through your application. Enabling an API in Google Cloud does not provide a pool of new inboxes. Authorization, permissions, and usage quotas still matter after the mailbox exists.
When the Directory API can create users
Google documents user creation separately in the Workspace Directory API. It provisions users in domains belonging to your organization, with the appropriate administrative authorization. It does not register arbitrary personal @gmail.com addresses. For employees who need company-domain mail, start with your administrator, domain setup, and licensing requirements. See our personal Gmail vs Workspace comparison before choosing a consumer-account workflow.
Where a third-party creation API fits
A vendor's account-creation API is that vendor's interface, not a new Google signup API. MailCreator offers its REST API on the Yearly plan for its supported task workflow. It is separate from accessing Gmail messages and does not override Google's verification decisions. Read the Gmail Creator workflow and current plans; do not infer mailbox-reading, OAuth tokens, or message-sending capabilities from the words 'account creation API'.
A practical decision before you integrate
Write down the required output. If it is a message from an existing Gmail inbox, evaluate Gmail API authorization. If it is an employee at your verified domain, evaluate Workspace provisioning. If it is a separate personal Gmail inbox for an authorized project, review the normal account-creation requirements. For example, a QA test reading a password-reset message needs access to an existing inbox; creating another account on every test run is usually a different and unnecessary dependency. Keep account credentials and API keys out of browser code and logs. Confirm the documented response and authentication scheme before implementing retries; never invent an endpoint from a tutorial for another product.