> 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/g/godaddy.md).

# GoDaddy

GoDaddy provides domain registration, DNS, hosting and SSL certificate services. OctoXLabs reads the SSL certificates of the shopper accounts you list and adds them to the certificate inventory.

## Use cases

* List all GoDaddy certificates.

```
Adapters = godaddy
```

* Find GoDaddy certificates that expire within 30 days.

```
Adapters = godaddy AND ExpiryDate next now+30d/d
```

## Before you begin

### Network

| Source              | Destination                             | Port | Protocol |
| ------------------- | --------------------------------------- | ---- | -------- |
| OctoXLabs connector | GoDaddy API host (the Domain parameter) | 443  | HTTPS    |

The port is not a parameter. The connector always uses HTTPS. The GoDaddy rate limit is 60 requests per minute, and the connector waits 60 seconds on HTTP 429.

### Required permissions

| Scope or role        | Permission                                   | Needed for   |
| -------------------- | -------------------------------------------- | ------------ |
| Production API key   | Access to the shopper and its certificates   | Certificates |
| Subaccount (shopper) | One per end user whose certificates you want | Shopper IDs  |

## Create credentials in GoDaddy

{% stepper %}
{% step %}

### Create an API key

Log in to the [GoDaddy Developer portal](https://developer.godaddy.com/getstarted). Click **Create New API Key**, give it a name and choose **Production** for the environment. Copy the key and the secret.
{% endstep %}

{% step %}

### Create a subaccount and get the Shopper ID

Create a subaccount to represent your end user and note its Shopper ID. The Shopper ID is a number of up to 10 digits, for example `1234567890`. It is not the Customer ID, which is a UUID.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type             | Default | Description                                                       |
| ------------ | -------- | ---------------- | ------- | ----------------------------------------------------------------- |
| Domain       | Yes      | Text             | None    | Domain of the GoDaddy API.                                        |
| Api key      | Yes      | Text             | None    | API key.                                                          |
| Api secret   | Yes      | Text (sensitive) | None    | API secret.                                                       |
| Shopper ids  | Yes      | List             | None    | One or more Shopper IDs.                                          |
| Timeout      | No       | Integer          | 30      | Seconds to wait for API responses.                                |
| Thread count | No       | Integer          | 32      | Parallel threads. Minimum 1, maximum 32.                          |
| Sleep time   | No       | Integer          | 0       | Seconds between thread batches. Increase it on rate limit errors. |

## Troubleshooting

| Error message                           | Cause                                         | Fix                                                      |
| --------------------------------------- | --------------------------------------------- | -------------------------------------------------------- |
| `No response for shopper id <id>` (log) | GoDaddy returned nothing for that Shopper ID. | Check that the ID is a Shopper ID and not a Customer ID. |

## Change history

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