Companies
Create an admin for the company
Creates a new admin for a company. If the email matches an existing user, this will create an admin account for the current user. Otherwise, this will create a new user.
scope: company_admin:write
post/v1/companies/{company_id}/admins
Request
- Base URLhttps://api.gusto-demo.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
company_idstring required
The UUID of the company
Headers
X-Gusto-API-Version'2026-06-15'
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Request body
Example request
{
"first_name": "John",
"last_name": "Smith",
"email": "jsmith99@gmail.com"
}Response
Success
Changes
No recorded changes to this operation across all 2 revisions of this API.