This page will help you get started with GlueLetter's API.
The GlueLetter API is accessible only to active paid users of GlueLetter newsletter analytics. For information about becoming a customer, contact us.
The GlueLetter API provides REST endpoints that allow you to integrate and interact with GlueLetter's features programmatically. Whether you're looking to manage your newsletter data, track subscriber engagement, or automate processes, the GlueLetter API offers the flexibility and functionality you need.
Key Features:
- RESTful Design: The API follows REST principles, making it easy to interact with using standard HTTP methods such as GET, POST, PUT, and DELETE.
- Secure Access: All API requests require authentication via API keys, ensuring that your data is secure and accessible only to authorized users.
Basic Setup:
- Obtain API Key: Start by generating your API key from GlueLetter by visiting your "My Account" page when signed in to the application. This key will be required for all API requests. GlueLetter API access is included with Enterprise plans, and available as an add-on service to other plans.
- Make Requests: Use standard HTTP methods to interact with the API. Include your API key in the request Authorization header as a Bearer token for authentication.
- Explore Endpoints: Familiarize yourself with the available endpoints by referring to the GlueLetter API documentation, which provides detailed information on parameters, response formats, and example requests.
Example API Request:
This example shows how to retrieve a list of newsletters using a simple GET request.
curl --request GET \
--url https://api.glueletter.com/v1/newsletters \
--header "Authorization: Bearer {api_key}" \
--header "Accept: application/json"
Using GlueLetter data with AI agents
The API is for data requests and server-to-server connections. If you want to explore your data using an AI system (like Claude or ChatGPT), there's a better way to do that.
GlueLetter has a dedicated way for AI agents and assistants to help you analyze your GlueLetter data. Sign in to your GlueLetter app and visit Settings > AI Connections to see documentation for connection to our MCP server.
MCP (Model Context Protocol server) is a lightweight software bridge that lets AI models safely connect to external tools like GlueLetter. It's easy, secure and completely within your control.
