Locations
Create a company location
Changed onCreate a company location, which represents any address associated with a company: mailing addresses, filing addresses, or work locations. A single address may serve multiple, or all, purposes.
Since all company locations are subsets of locations, use the Locations endpoints to get or update an individual record.
scope: companies:write
post/v1/companies/{company_id}/locations
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
{
"street_1": "300 3rd Street",
"street_2": "Apartment 318",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"phone_number": "8009360383"
}Response
Created
Changes
- info
added the optional property
to the response with the status
- info