> 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/m/markmonitor.md).

# MarkMonitor

MarkMonitor provides enterprise domain management and brand protection services. OctoXLabs reads the contacts of your account as users and, if you enable it, the SSL certificate orders as certificates.

## Use cases

* **Review MarkMonitor contacts.** List the account contacts that MarkMonitor reports and compare them with your directory.

```
Adapters = markmonitor
```

* **Track domain-related certificates.** Enable Fetch Certificates, then review the certificates and their expiry dates in the certificate inventory.

## Before you begin

### Network

| Source              | Destination                            | Port | Protocol |
| ------------------- | -------------------------------------- | ---- | -------- |
| OctoXLabs connector | api.markmonitor.com (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS. If a proxy is set, it is used as `http://<value>` for both HTTP and HTTPS requests.

### Required permissions

| Scope or role           | Permission | Needed for                      |
| ----------------------- | ---------- | ------------------------------- |
| Account with API access | Read       | Contacts and certificate orders |

The sources do not describe a specific role.

## Create credentials in MarkMonitor

{% stepper %}
{% step %}

### Get the API key

Obtain the API key of the MarkMonitor account that will fetch users and certificates.
{% endstep %}

{% step %}

### Get the account credentials

Use the username and password of that account. The sources do not describe how to create them.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter          | Required | Type    | Default             | Description                                               |
| ------------------ | -------- | ------- | ------------------- | --------------------------------------------------------- |
| Domain             | No       | String  | api.markmonitor.com | Domain of the MarkMonitor API, without a scheme.          |
| API Key            | Yes      | String  | None                | API key, sent in the `X-API-KEY` header.                  |
| Username           | Yes      | String  | None                | Account username.                                         |
| Password           | Yes      | String  | None                | Account password.                                         |
| Fetch Certificates | No       | Boolean | False               | Also fetch certificates.                                  |
| HTTPS Proxy        | No       | String  | None                | Proxy address. The field is named Proxy in the connector. |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                       |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ----------------------------------------- |
| Failed to extract JSESSIONID from login response               | The login did not return a session cookie.                                              | Check the API key, username and password. |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Check the credentials and the domain.     |

## Change history

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