# REST API Examples

Welcome to the PortSIP REST API Reference. This guide provides information about how you can use the  REST API to incorporate PortSIP features into custom applications and integrations with third-party software.

The Web Services API offers the following services:

**Call Control API**

Handle telephony interactions, including SIP.&#x20;

**Multimedia Interactions API**

Handle multimedia (audio, video, live streaming) interactions.&#x20;

**Channels API**

Manage the different interaction channels available to an agent.&#x20;

**Provisioning API**

Automate PortSIP PBX/UCaaS provisioning.&#x20;

**Contacts API**

Manage contacts and interaction history.&#x20;

**Settings API**

Configure PortSIP PBX/UCaaS Services parameters.&#x20;

**Statistics API**

Make use of PortSIP PBX/UCaaS statistics.&#x20;

**Hierarchical Dispositions API**

Manage the possible disposition values of interactions.&#x20;

**Platform Configuration API**

Manage Configuration Server data.&#x20;

**Outbound API**

Handle outbound interactions and campaigns.&#x20;

**Interaction History API**

Retrieve interaction history for an agent or contact.&#x20;

**Service API**

Retrieve system runtime information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.portsip.com/pbx_v12/tutorials/call-control-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
