---
title: "Adds a URL as a reference document."
method: POST
path: "/api/v1/refdoc/add_url"
tags: ["RefDoc"]
---

# Adds a URL as a reference document.

`POST /api/v1/refdoc/add_url`

## Request

- Base URL: `https://api.approval.studio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.approval.studio/api/v1/refdoc/add_url`
- Auth: API key in header `Authorization`

## Request body

- AddUrlRefDocRequest
  - `projectUID` string, nullable
  - `url` string, nullable

## Response `200`

OK

- UploadRefDocResponseApiResponse
  - `version` string, nullable
  - `statusCode` integer
  - `message` string, nullable
  - `isError` boolean, nullable
  - `responseException` unknown
  - `result` UploadRefDocResponse
    - `refDocUID` string, nullable

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

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