---
title: "Accept terms of service for a specific user"
method: POST
path: "/v1/partner_managed_companies/{company_uuid}/terms_of_service"
tags: ["Companies"]
---

# Accept terms of service for a specific user

`POST /v1/partner_managed_companies/{company_uuid}/terms_of_service`

## Request

- Base URL: `https://api.gusto-demo.com`
- URL: `https://api.gusto-demo.com/v1/partner_managed_companies/{company_uuid}/terms_of_service`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gusto/apis/gusto-api/docs/v1/partner_managed_companies/:company_uuid/terms_of_service/post.ts> (a function with typed inputs; its response is checked against the schema)

Accept the Gusto Embedded Payroll's [Terms of Service](https://flows.gusto.com/terms) on behalf of a specific user. The user must have a role on the company.

scope: `terms_of_services:write`

## Path parameters

- `company_uuid` string, required

## Headers

- `X-Gusto-API-Version` '2026-06-15'

## Request body

- PartnerManagedCompanyAcceptTermsOfServiceRequest
  - `email` string, required: The user's email address on Gusto. You can retrieve the user's email via company's `/admins`, `/employees`, `/signatories`, and `/contractors` endpoints.
  - `ip_address` string, required: The IP address of the user who viewed and accepted the Terms of Service.
  - `external_user_id` string, required: The user ID on your platform.

## Response `200`

Example response

- PartnerManagedCompanyTermsOfServiceResponse
  - `latest_terms_accepted` boolean: Whether the latest terms have been accepted by the user.

## Other responses

- `404`: Not Found The requested resource does not exist. Make sure the provided UUID is valid.
- `422`: Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details.

---

[API](https://skmtc.dev/gusto/apis/gusto-api.md) - [All operations](https://skmtc.dev/gusto/apis/gusto-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gusto/apis/gusto-api/revisions/f98575fa2a5e?raw)
