---
title: "Get terms of service"
method: GET
path: "/core/terms-of-service/{termsOfService}"
tags: ["Terms of service"]
---

# Get terms of service

`GET /core/terms-of-service/{termsOfService}`

## Request

- Base URL: `https://api.enterprise.sandbox.uphold.com`
- URL: `https://api.enterprise.sandbox.uphold.com/core/terms-of-service/{termsOfService}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/core/oauth2/token` scopes: `core.terms-of-service:read`
- TypeScript: <https://skmtc.dev/uphold/apis/core-api/docs/core/terms-of-service/:termsOfService/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve terms of service by code.

## Path parameters

- `termsOfService` 'general-us-hq' | 'general-gb-fca' | 'general-pt-bop' | 'general-lt-fcs' | 'general-bs-scb' | 'unique-account-number-viban', required: The code of the terms of service.

## Headers

- `X-On-Behalf-Of` string
- `X-Uphold-User-Ip` union
  - string, ipv4
  - string, ipv6
- `X-Uphold-User-Agent` string
- `X-Uphold-User-Origin` string
- `X-Uphold-User-Country` string
- `X-Uphold-User-Subdivision` string
- `X-Uphold-User-City` string

## Response `200`

Terms of service retrieved.

- object
  - `termsOfService` TermsOfService, required
    - `code` 'general-us-hq' | 'general-gb-fca' | 'general-pt-bop' | 'general-lt-fcs' | 'general-bs-scb' | 'unique-account-number-viban', required: The code of the terms of service.
    - `type` 'general' | 'unique-account-number', required: The type of the terms of service.
    - `countries` string[]: The country codes in which the terms of service apply. If omitted, the terms apply to all countries.
    - `userTypes` string[]: The user types to which the terms of service apply. If omitted, the terms apply to all user types.
    - `modifiedAt` string, date-time, required: The date and time when the terms of service were last updated.
    - `acceptedAt` string, date-time: The date and time when the terms of service were accepted, in case the request is contextualized with a user.

## Other responses

- `401`: Unauthorized.
- `403`: Forbidden.
- `429`: Too Many Requests.

---

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