---
title: Public documents
description: Wondering if you can store legal documents in the Phonexa system? Check our quick guide to Public documents for detailed instructions.
---

[Skip to content](https://support.phonexa.com/public-documents#main-content)

[![phonexa\_logo-white](https://support.phonexa.com/hubfs/phonexa_logo-white.svg)](https://support.phonexa.com/?hsLang=en)

Open main navigation

Close main navigation

- [➜\]](https://phonexa.com/)

[➜\]](https://phonexa.com/?hsLang=en)

 Phonexa Support Center

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://support.phonexa.com/?hsLang=en)
2. [General information](https://support.phonexa.com/general-information?hsLang=en)
3. [System Customization](https://support.phonexa.com/general-information?hsLang=en#system-customization)

# Public documents

## Wondering if you can store legal documents in the Phonexa system? Check our quick guide to Public documents for detailed instructions.

You can store your legal documents in our system. They can be accessed either through the system directly by navigating to the "**Company Policies**" subsection of the "**Legal Documents**" section, or they can be pulled by an external system using a URL.

Phonexa comes with the capability to store your legal documents. They can be accessed either through the system directly by navigating to the "Company Policies" subsection of the "Legal Documents" section, or they can be pulled by an external system using a simple URL.

As of now, we provide the ability to view and edit existing documents. If you require a new document to be uploaded into the system, please contact your account manager.

To integrate a document into your website, simply link to it in this manner:

*https://{YOUR\_CONTROL\_PANEL\_LINK}/doc/public/get?id=1*

The number '1' at the end of the URL is the ID with which the document is stored inside your Phonexa installation. Please replace it with the ID of the document that you wish to display.

The documents support placeholders which allow you to customize the display of your document to your particular scenario. The available placeholders are:

- **site\_url**
- **site\_name**

If you'd like to take advantage of this feature, instead of hard coding the domain and site name in the documents, use the placeholders in this fashion:

"You are visiting {site\_name} at {site\_url} because…."

When you need to pull the document in a real-time with varying values, please use this syntax:  
***Link example***

```
https://{YOUR_CONTROL_PANEL_LINK}/docs/public/get?id=4&r[site_url]=MySite.com&r[site_name]=My%20Site%20Title
```

 

Let's break down the above example:

The "*https://{YOUR\_CONTROL\_PANEL\_LINK}/docs/public/get*?" part will always stay the same.

The "tail" of the URL contains several variables:

- ID=4
- r\[site\_url\]=MySite.com
- r\[site\_name\]=My%20Site%20Title

The ID of the document is 4, the site's URL to be replaced in the document is MySite.com, and the site's title will display as My Site Title. As you may have noticed, the site\_name's value contains some special characters. This is referred to as URL encoding - special values such as spaces, certain symbols, etc. require to be URL-encoded.

***PHP example***

```
<?php$data = @file_get_contents('https://{YOUR_CONTROL_PANEL_LINK}/docs/public/get?id=4&r[site_url]=MySite.com&r[site_name]=My%20Site%20Title');if (!empty($data)) {   echo $data;}?>This example uses the same base URL and variables, but based on the visitor's browser configuration will either display the document in the browser itself, or prompt the user to download the document to their computer.
```

- [General information](https://support.phonexa.com/general-information?hsLang=en#main-content)

    - [Account Settings](https://support.phonexa.com/general-information?hsLang=en#account-settings)
    - [Security Settings](https://support.phonexa.com/general-information?hsLang=en#security-settings)
    - [Users](https://support.phonexa.com/general-information?hsLang=en#users)
    - [System Customization](https://support.phonexa.com/general-information?hsLang=en#system-customization)
    - [Project Customization](https://support.phonexa.com/general-information?hsLang=en#project-customization)
    - [Product Customization](https://support.phonexa.com/general-information?hsLang=en#product-customization)
    - [System Management](https://support.phonexa.com/general-information?hsLang=en#system-management)
    - [Support](https://support.phonexa.com/general-information?hsLang=en#support)
- [LMS Sync & Call Logic](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#main-content)

    - [Extra Features](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#extra-features)
    - [Publisher Configuration](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#publisher-configuration)
    - [Client Management](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#client-management)
    - [System Logs](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#system-logs)
    - [Documents And References](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#documents-and-references)
    - [Reports and Analytics](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#reports-and-analytics)
    - [Publisher management](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#publisher-management)
    - [Call Logic Customization](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#call-logic-customization)
    - [Campaign Configuration](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#campaign-configuration)
    - [Feed CMS](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#feed-cms)
    - [Event Tracking](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#event-tracking)
    - [iClear](https://support.phonexa.com/lms-sync-call-logic?hsLang=en#iclear)
- [E-Delivery](https://support.phonexa.com/e-delivery?hsLang=en#main-content)

    - [List Management](https://support.phonexa.com/e-delivery?hsLang=en#list-management)
    - [Email Campaigns](https://support.phonexa.com/e-delivery?hsLang=en#email-campaigns)
    - [SMS Campaigns](https://support.phonexa.com/e-delivery?hsLang=en#sms-campaigns)
    - [Reports](https://support.phonexa.com/e-delivery?hsLang=en#reports)
    - [Suppression Management](https://support.phonexa.com/e-delivery?hsLang=en#suppression-management)
- [Books360](https://support.phonexa.com/books360?hsLang=en#main-content)

    - [Books 360 Integration](https://support.phonexa.com/books360?hsLang=en#books-360-integration)
    - [Vendor Management](https://support.phonexa.com/books360?hsLang=en#vendor-management)
    - [Account](https://support.phonexa.com/books360?hsLang=en#account)
    - [Customer Management](https://support.phonexa.com/books360?hsLang=en#customer-management)
- [Opt-Intel](https://support.phonexa.com/opt-intel?hsLang=en#main-content)

    - [List Management](https://support.phonexa.com/opt-intel?hsLang=en#list-management)
    - [All Reports](https://support.phonexa.com/opt-intel?hsLang=en#all-reports)
    - [Mailers](https://support.phonexa.com/opt-intel?hsLang=en#mailers)
    - [Campaigns](https://support.phonexa.com/opt-intel?hsLang=en#campaigns)
    - [System Management](https://support.phonexa.com/opt-intel?hsLang=en#system-management)
- [HitMetrix](https://support.phonexa.com/hitmetrix?hsLang=en#main-content)

    - [Analytics](https://support.phonexa.com/hitmetrix?hsLang=en#analytics)
    - [Heatmaps](https://support.phonexa.com/hitmetrix?hsLang=en#heatmaps)
    - [System Management](https://support.phonexa.com/hitmetrix?hsLang=en#system-management)
- [Lynx](https://support.phonexa.com/lynx?hsLang=en#main-content)

    - [Offers](https://support.phonexa.com/lynx?hsLang=en#offers)
    - [LYNX Reports](https://support.phonexa.com/lynx?hsLang=en#lynx-reports)
    - [Advertisers](https://support.phonexa.com/lynx?hsLang=en#advertisers)
    - [Affiliates](https://support.phonexa.com/lynx?hsLang=en#affiliates)
    - [Account Settings](https://support.phonexa.com/lynx?hsLang=en#account-settings)
- [Cloud PBX](https://support.phonexa.com/cloud-pbx?hsLang=en)

[![Phonexa\_logo\_color](https://support.phonexa.com/hubfs/Phonexa_logo_color.svg "Phonexa_logo_color")](https://phonexa.com/?hsLang=en)

Phonexa Knowledge Base

<https://www.facebook.com/phonexa/> <https://twitter.com/@phonexacalls> <https://linkedin.com/company/phonexa> <https://www.youtube.com/channel/UC4l-Pr8jkfqNTruWi6UlucQ/videos> <https://www.instagram.com/phonexa/>

Copyright © 2026, Phonexa