> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/0-9/3play-media.md).

# 3Play Media

3Play Media provides captioning, transcription and audio description services. OctoXLabs uses its admin API to list the users of the account.

## Use cases

* Find 3Play Media accounts that have no match in your directory.

```
Adapters = three-play-media AND NOT Adapters = active-directory
```

* Check what one 3Play Media connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                       | Port | Protocol |
| ------------------- | ------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | api.3pmstaging.com (default, configurable Domain) | 443  | HTTPS    |

### Required permissions

Admin-level API access is required.

## Create credentials in 3Play Media

{% stepper %}
{% step %}

### Open API Access Management

Sign in to 3Play Media and open the [API Access Management](https://account.3playmedia.com/api_accesses) page.
{% endstep %}

{% step %}

### Get an admin API key

Create or copy an Admin API key. Project API keys are not enough because the adapter needs admin-level access.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default            | Description                                                           |
| --------- | -------- | ------- | ------------------ | --------------------------------------------------------------------- |
| Domain    | Yes      | String  | api.3pmstaging.com | Base domain of the 3Play Media API.                                   |
| API Key   | Yes      | String  | None               | API key used to authenticate requests.                                |
| Proxy     | No       | String  | None               | Proxy address. The connector sends requests through `http://<value>`. |
| Timeout   | No       | Integer | 30                 | Time in seconds to wait for API responses.                            |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history

{% hint style="info" %}
Available starting from version 5.6.12.
{% endhint %}
