---
title: "Get Script for Website"
method: GET
path: "/api/cmp/v1/domains/scripts"
tags: ["Scripts"]
---

# Get Script for Website

`GET /api/cmp/v1/domains/scripts`

Use this API to retrieve the script for the specified website.

## Query parameters

- `scriptType` 'production' | 'test'
- `website` string, required

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
