---
title: "Add a source of the type URL"
method: POST
path: "/api/v2/sources/url"
---

# Add a source of the type URL

`POST /api/v2/sources/url`

## Headers

- `X-Language` 'en' | 'es' | 'pt' | 'ru'

## Request body

- object
  - `RAW_BODY` object
    - `url` string, required — HTTP or HTTPS protocol. Link to the site for parsing as a source
    - `with_nested` boolean — Defines whether to parse child pages from the URL tree
    - `available_functions` string[], required — Defines what functionality will use the source. Currently they are separated and cannot be used simultaneously. An array of valid values. Valid values ​​are: suggested_reply/agent. The array must contain only 1 element. Otherwise, a validation error will occur.
    - `code` 'contact_information' | 'privacy_policy' | 'return_and_refund_policy' | 'shipping_policy' | 'terms_of_service' — Optional. If not passed - null will be passed. If value is passed - must be a string. Allowed values: contact_information/privacy_policy/return_and_refund_policy/shipping_policy/terms_of_service.

## Response `200`

200

- object
  - `id` integer
  - `name` string
  - `updated_at` integer
  - `updated_by` integer
  - `code` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/kommo/apis/kommo-api-references.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api-references/versions/f17af4d23c7c/schema)
