---
title: Creating a BASE64 Authorization Key for API Use
description: "EnrollNow API workflows require an authorization key to authenticate API requests. This authorization key is created by encoding your API credentials into a Base64 format.\n\nBase64 utilities are commonly available for free online and are also included as utility functions on most modern laptops and workstations. Because API credentials may provide access to sensitive data, EnrollNow recommends working with your internal IT or technical team to determine the most secure method for generating your authorization key."
---

[Skip to content](https://support.enrollnow.io/en/knowledge-base/creating-a-base64-authorization-key-for-api-use#main-content)

[EnrollNow Support Center](https://support.enrollnow.io/helpdesk?hsLang=en)

![Logo + Tagline](https://support.enrollnow.io/hs-fs/hubfs/EnrollNow/Brand%20Assets/Logo%20+%20Tagline.png?width=300&height=75&name=Logo%20+%20Tagline.png)

- [Support Center](https://support.enrollnow.io/helpdesk)
- [User Community](https://academy.enrollnow.io/)
- [Learning Academy](https://academy.enrollnow.io/)
- [Knowledge Base](https://support.enrollnow.io/en/knowledge-base)

Open main navigation

Close main navigation

- [Support Center](https://support.enrollnow.io/helpdesk)
- [User Community](https://academy.enrollnow.io/)
- [Learning Academy](https://academy.enrollnow.io/)
- [Knowledge Base](https://support.enrollnow.io/en/knowledge-base)
- [EnrollNow Support Center](https://support.enrollnow.io/helpdesk)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [EnrollNow Knowledge Base](https://support.enrollnow.io/en/knowledge-base?hsLang=en)
2. [API](https://support.enrollnow.io/en/knowledge-base/api?hsLang=en)

July 20, 2026

# Creating a BASE64 Authorization Key for API Use

EnrollNow API workflows require an authorization key to authenticate API requests. This authorization key is created by encoding your API credentials into a Base64 format.

Base64 utilities are commonly available for free online and are also included as utility functions on most modern laptops and workstations. Because API credentials may provide access to sensitive data, EnrollNow recommends working with your internal IT or technical team to determine the most secure method for generating your authorization key.

**Important Security Note**

Base64 encoding is not encryption. It simply converts credentials into a format that can be used in an API authorization header. Base64 does not require a secret key and can be easily decoded.

Because authorization keys are created from sign-in or API credentials, they should be treated as sensitive information. Authorization keys should only be shared with approved technical users who are responsible for the API integration.

To protect your credentials:

- Do not share authorization keys publicly.
- Do not send authorization keys through unsecured communication channels.
- Use an IT-approved tool or local workstation utility whenever possible.
- Regenerate the password used to create the key, and create a new encoded auth key based on the new password if the key is exposed or no longer needed.
- Follow your organization’s internal security policies.

### **What You Need Before Creating an Authorization Key**

Before creating an authorization key, you will need the credentials required for your API connection.

The raw string to encode is your username appended with a colon (:) appended with your password.

username:password

### **Creating a Base64 Authorization Key on a Mac**

You can use the Terminal application on a Mac to generate a Base64 authorization key.

#### **Follow these steps:**

1. Open **Terminal**.
2. Enter the following command, replacing the example values with your actual credentials:

echo -n 'username:password' | base64

1. Press **Enter**.
2. Terminal will return a Base64-encoded value.
3. Copy the encoded value and use it as required for your API authorization header.

**Example**

echo -n 'myusername:mypassword' | base64

This will return a Base64-encoded authorization key.

### **Creating a Base64 Authorization Key on a Windows computer**

Windows users can generate a Base64 authorization key using PowerShell.

#### **Follow these steps:**

1. Open **PowerShell**.
2. Enter the following command, replacing the example values with your actual credentials:

\[Convert\]::ToBase64String(\[Text.Encoding\]::UTF8.GetBytes("username:password"))

1. Press **Enter**.
2. PowerShell will return a Base64-encoded value.
3. Copy the encoded value and use it as required for your API authorization header.

**Example**

\[Convert\]::ToBase64String(\[Text.Encoding\]::UTF8.GetBytes("myusername:mypassword"))

This will return a Base64-encoded authorization key.

### **Using an Approved Third-Party or Online Base64 Utility**

There are plenty of online Base64 tools that are found easily using an Internet search. EnrollNow cannot recommend or attest to the security of any specific external site or tool, so use caution when using online tools.

Before using an online Base64 utility, please confirm that the tool is approved by your organization’s IT or security team.

### **Using the Authorization Key**

Once the Base64 authorization key is created, it is added to the API request authorization header, in the following format:Authorization: Basic \[Base64 Authorization Key\]

For more information about creating an Export API, please refer to this **[article](https://support.enrollnow.io/en/knowledge-base/how-to-use-the-export-curl-api-to-export-data-from-ripple?hsLang=en)**.

For more information about creating an Import API, please refer to this **[article](https://support.enrollnow.io/en/knowledge-base/how-to-use-the-import-curl-api-to-import-data-into-ripple?hsLang=en)**.

#### **Summary**

A Base64 authorization key can be created using built-in tools on a Mac or Windows computer, or through an IT-approved third-party utility. Because the key is created from API credentials, it should be handled securely and shared only with approved technical users responsible for the integration.

- [My Account](https://support.enrollnow.io/en/knowledge-base/my-account?hsLang=en#main-content)

    - [Customer Corner](https://support.enrollnow.io/en/knowledge-base/my-account?hsLang=en#customer-corner)
    - [Support](https://support.enrollnow.io/en/knowledge-base/my-account?hsLang=en#support)
- [Users & Permissions](https://support.enrollnow.io/en/knowledge-base/users-permissions?hsLang=en)
- [Registry](https://support.enrollnow.io/en/knowledge-base/registry?hsLang=en)
- [Studies](https://support.enrollnow.io/en/knowledge-base/studies?hsLang=en)
- [Dashboard](https://support.enrollnow.io/en/knowledge-base/dashboard?hsLang=en)
- [Participants](https://support.enrollnow.io/en/knowledge-base/participants?hsLang=en#main-content)

    - [Potential/Enrolled](https://support.enrollnow.io/en/knowledge-base/participants?hsLang=en#potential-enrolled)
    - [Sex/Gender](https://support.enrollnow.io/en/knowledge-base/participants?hsLang=en#sex-gender)
- [Tasks](https://support.enrollnow.io/en/knowledge-base/tasks?hsLang=en#main-content)

    - [Tasks](https://support.enrollnow.io/en/knowledge-base/tasks?hsLang=en#tasks)
- [Recruitment](https://support.enrollnow.io/en/knowledge-base/recruitment?hsLang=en#main-content)

    - [Sources](https://support.enrollnow.io/en/knowledge-base/recruitment?hsLang=en#sources)
    - [Strategies](https://support.enrollnow.io/en/knowledge-base/recruitment?hsLang=en#strategies)
- [Calendar](https://support.enrollnow.io/en/knowledge-base/calendar?hsLang=en)
- [Survey Creator](https://support.enrollnow.io/en/knowledge-base/survey-creator?hsLang=en#main-content)

    - [Tips and Tricks](https://support.enrollnow.io/en/knowledge-base/survey-creator?hsLang=en#tips-and-tricks)
    - [Thank you page](https://support.enrollnow.io/en/knowledge-base/survey-creator?hsLang=en#thank-you-page)
    - [Question Types](https://support.enrollnow.io/en/knowledge-base/survey-creator?hsLang=en#question-types)
- [Report Builder & Reports](https://support.enrollnow.io/en/knowledge-base/report-builder-reports?hsLang=en#main-content)

    - [Reports](https://support.enrollnow.io/en/knowledge-base/report-builder-reports?hsLang=en#reports)
    - [Report Builder Basics](https://support.enrollnow.io/en/knowledge-base/report-builder-reports?hsLang=en#report-builder-basics)
- [Study Settings](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#main-content)

    - [Requirements](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#requirements)
    - [Email and Texts](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#email-and-texts)
    - [Display](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#display)
    - [Details](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#details)
    - [Statuses](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#statuses)
    - [Bulk Tasks](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#bulk-tasks)
    - [Events](https://support.enrollnow.io/en/knowledge-base/study-settings?hsLang=en#events)
- [Import/Export](https://support.enrollnow.io/en/knowledge-base/import-export?hsLang=en#main-content)

    - [Tips and Tricks](https://support.enrollnow.io/en/knowledge-base/import-export?hsLang=en#tips-and-tricks)
    - [study definitions](https://support.enrollnow.io/en/knowledge-base/import-export?hsLang=en#study-definitions)
    - [Export](https://support.enrollnow.io/en/knowledge-base/import-export?hsLang=en#export)
- [API](https://support.enrollnow.io/en/knowledge-base/api?hsLang=en)
- [FAQs & Troubleshooting](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#main-content)

    - [Ripple Performance](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#ripple-performance)
    - [Security Settings](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#security-settings)
    - [Reuse Custom ID](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#reuse-custom-id)
    - [Internal Server Error - Importing](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#internal-server-error-importing)
    - [Account Lock out](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#account-lock-out)
    - [FAQ](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#faq)
    - [Calendar Integration Issues](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#calendar-integration-issues)
    - [e-consent downloads](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#e-consent-downloads)
    - [Support Web Pages](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#support-web-pages)
    - [EnrollNow Glossary](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#enrollnow-glossary)
    - [EnrollNow Performance](https://support.enrollnow.io/en/knowledge-base/faqs-troubleshooting?hsLang=en#enrollnow-performance)
- [Security](https://support.enrollnow.io/en/knowledge-base/security?hsLang=en#main-content)

    - [Security](https://support.enrollnow.io/en/knowledge-base/security?hsLang=en#security)
    - [Ripple Service Status Report](https://support.enrollnow.io/en/knowledge-base/security?hsLang=en#ripple-service-status-report)
- [Workflows and How To's](https://support.enrollnow.io/en/knowledge-base/workflows-and-how-tos?hsLang=en)
- [Site Admin](https://support.enrollnow.io/en/knowledge-base/site-admin?hsLang=en#main-content)

    - [Users](https://support.enrollnow.io/en/knowledge-base/site-admin?hsLang=en#users)
    - [Export](https://support.enrollnow.io/en/knowledge-base/site-admin?hsLang=en#export)
    - [Security](https://support.enrollnow.io/en/knowledge-base/site-admin?hsLang=en#security)
- [Audit Logs](https://support.enrollnow.io/en/knowledge-base/audit-logs?hsLang=en)
- [Product Release Notes](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#main-content)

    - [2026](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#2026)
    - [2025](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#2025)
    - [2024](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#2024)
    - [2023](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#2023)
    - [2022](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#2022)
    - [2019-2021](https://support.enrollnow.io/en/knowledge-base/product-release-notes?hsLang=en#2019-2021)

[![](https://support.enrollnow.io/hubfs/EnrollNow-Logo-Color-BlueYellow.svg)](http://enrollnow.io)

                                                                                [Privacy Policy](https://enrollnow.io/legal/privacy-policy)[Terms of Service](https://enrollnow.io/legal/terms-of-service)

Copyright © 2025, EnrollNow