---
title: "Añadir una fuente del tipo URL"
method: POST
path: "/api/v2/sources/url"
---

# Añadir una fuente del tipo URL

`POST /api/v2/sources/url`

## Headers

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

## Request body

- object
  - `RAW_BODY` object
    - `url` string, required — Protocolo http o https. Enlace al sitio para analizar como fuente
    - `with_nested` boolean — Define si se deben analizar las páginas secundarias del árbol de URL
    - `available_functions` string[] — Define qué funcionalidad utilizará la fuente. Actualmente, están separadas y no pueden utilizarse en simultáneo. Un arreglo de valores válidos. Los valores válidos son: suggested_reply/agent. El arreglo debe contener solo 1 elemento. De lo contrario, se producirá un error de validación.
    - `code` 'contact_information' | 'privacy_policy' | 'return_and_refund_policy' | 'shipping_policy' | 'terms_of_service' — Opcional. Si no se pasa, se pasará como null. Si se pasa un valor, debe ser una cadena. Los valores permitidos son: 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.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api/revisions/e291c0b2038d/schema)
