Skip to main content

Authorization

Follow this guide to create a new Moz API credential that will allow Nexla to authenticate to and exchange data with your Moz account.
moz_api_auth.png

Moz API

Prerequisites

Before creating a Moz API credential, you need to obtain your Access ID and Secret Key from your Moz account. Moz uses Basic Authentication over HTTPS for all API requests, where the Access ID is used as the username and the Secret Key is used as the password.

To obtain your Moz API credentials, follow these steps:

  1. Sign in to your Moz account using your administrator credentials.

  2. Navigate to your account settings or dashboard in the Moz interface.

  3. Look for the API or API Access section in your account settings or dashboard.

  4. If you don't have API credentials yet, look for the option to generate or view your Access ID and Secret Key.

  5. Your Access ID will be displayed in the API section. This is a unique identifier that serves as your username for API authentication.

  6. Your Secret Key will be displayed in the API section. This is a secret value that serves as your password for API authentication. Copy the Secret Key immediately, as it may not be accessible again after you navigate away from the page.

  7. Store both the Access ID and Secret Key securely, as you will need them to configure your Nexla credential. The Secret Key is sensitive information and should be kept confidential.

The Access ID is used as the username and the Secret Key is used as the password in Basic Authentication for all API requests to the Moz API. The credentials authenticate your requests and grant access to Moz resources based on your account permissions. If your Secret Key is compromised, you should immediately regenerate it in your Moz account settings and update your credential. For detailed information about obtaining API credentials, API authentication, and available endpoints, refer to the Moz Links API documentation.

Create a Moz API Credential

  • To create a new Moz API credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

New Credential Overlay – Moz API

MozCred.png

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

Basic Authentication

Moz uses Basic Authentication over HTTPS for all API requests. The Access ID is used as the username and the Secret Key is used as the password in Basic Authentication.

  1. Enter your Moz Access ID in the Username field. This is the Access ID you obtained from your Moz account settings (API or API Access section). The Access ID is used as the username in Basic Authentication for all API requests to the Moz API.

  2. Enter your Moz Secret Key in the Password field. This is the Secret Key you obtained from your Moz account settings (API or API Access section). The Secret Key is used as the password in Basic Authentication for all API requests to the Moz API. The Secret Key is sensitive information and must be kept confidential.

    Your Moz Access ID and Secret Key can be found in your Moz account settings under the API or API Access section. The Access ID is used as the username and the Secret Key is used as the password in Basic Authentication for all API requests to the Moz API.

    If your Secret Key is compromised, you should immediately regenerate it in your Moz account settings and update your credential. The Secret Key provides access to your Moz account data and should be treated as sensitive information. Keep your Secret Key secure and do not share it publicly.

    For detailed information about obtaining API credentials, API authentication, and available endpoints, see the Moz Links API documentation.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.