> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/policies/creating-a-policy-using-apis/imports-open-sourced-policy.md).

# Imports open sourced policy

## Imports open sourced policy

<mark style="color:green;">`POST`</mark> `/policies/push/opensourced/import`

Imports open sourced policy

#### Request Body

| Name                                        | Type   | Description                        |
| ------------------------------------------- | ------ | ---------------------------------- |
| policyUrl<mark style="color:red;">\*</mark> | String | Open Source link from allowed list |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

```
content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'

```

{% endtab %}

{% tab title="451: Unavailable For Legal Reasons Unavailable for Legal Reasons. Users must accept new terms of use." %}

{% endtab %}
{% endtabs %}
