Migrate company to embedded payroll

PUT {{baseUrl}}/v1/partner_managed_companies/:company_uuid/migrate

Migrate an existing Gusto customer to your embedded payroll product.

To use this endpoint, the customer will need to connect their Gusto account to your application using OAuth2 then view and accept the Embedded Payroll Terms of Service.

scope: partner_managed_companies:write

Request Body

{"email"=>"<string>", "ip_address"=>"<string>", "external_user_id"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;company_uuid&quot;:&quot;39abf9b9-650b-4e67-89a0-389dc6ee8a71&quot;,&quot;migration_status&quot;:&quot;success&quot;}