---
title: "/v1/scripts"
method: POST
path: "/v1/scripts"
tags: ["Scripts"]
---

# /v1/scripts

`POST /v1/scripts`

Create a new script

## Headers

- `workspace` string

## Request body

- ScriptCreationRequest
  - `name` string, required — The name you want to associated to the script
  - `value` string, required — A javascript snippet (including <script> and </script> HTML tags)

## Response `200`

200

- Script
  - `id` string
  - `name` string
  - `uri` string

---

[API](https://skmtc.net/rebrandly/apis/rebrandly-legacy.md) · [All operations](https://skmtc.net/rebrandly/apis/rebrandly-legacy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rebrandly/rebrandly-legacy/revisions/edc8d2ea0d88/schema)
