---
title: "Import Technical Support Agreement text"
method: GET
path: "/ticket_get_support_agreement"
tags: ["Support Tickets", "Ticket Management"]
---

# Import Technical Support Agreement text

`GET /ticket_get_support_agreement`

This function retrieves the WebPros International, LLC Technical Support Agreement text
and metadata about the user's agreement status from the
[cPanel Customer Portal](https://tickets.cpanel.net/).

**Note:**
* This function is **not** available through the command line. You **must** call it
as a request body.
* To use this function, you **must** set up a cPanelID token in your current session.
For more information, read our
[cPanelID](https://docs.cpanel.net/knowledge-base/accounts/cpanelid/)
documentation.

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `accepted` 0 | 1 — Whether the user associated with the OAuth token has already accepted this version of the agreement. * `1` — Accepted. * `0` — **Not** accepted.
    - `accepted_date` integer, nullable — The [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) at which the user associated with the OAuth token accepted the Technical Support Agreement. * A valid Unix timestamp. * `null` — Never accepted.
    - `accepted_date_human` string, nullable — The human-readable date at which the user associated with the OAuth token accepted the Technical Support Agreement. * A human-readable date, in `MM/DD/YY` format. * `null` — Never accepted.
    - `body` string — The full Technical Support Agreement. **Note:** This returned value may contain HTML.
    - `create_date` integer — The creation or publication Unix timestamp of the Technical Support Agreement's current version.
    - `create_date_human` string — The human-readable date at which the current version of the Technical Support Agreement was created or published, in `MM/DD/YY` format.
    - `download_url` string, url — The URL at which the end-user may download the support agreement.
    - `title` string — The Technical Support Agreement's title.
    - `version` string — The Technical Support Agreement's version.
    - `view_url` string, url — The URL at which the end-user may view the Technical Support Agreement agreement as a standalone HTML document.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
