Getting started
Integrate your apps, plugins and extensions with Retainful using our simple, developer-friendly RESTful API
Introduction
Welcome to the Retainful API! Our platform streamlines marketing automation, making it easy for developers to integrate audience management, personalized messaging, and growth-driven campaigns into their applications. Whether you need to add or update contacts, or automate welcome messages, Retainful provides a straightforward, developer-friendly REST API.
With flexible permissions, clear documentation, and robust endpoints, you can quickly build and scale your marketing workflows—no complicated configurations required.
In the sections that follow, you’ll learn how to set up your API credentials, manage contacts and lists, and customize key aspects of your automation. If you have any questions along the way, our Help Center and support team are here to assist.
Let’s get started!
Creating the API Key
Head over to your Retainful Account dashboard -> Settings -> API Keys section.
Click Create API Key to generate a new key.
Set the Permissions:
Full Access: Read and write access to all endpoints.
Read-only: Read access only—API key cannot modify or write any data.
Custom Access: Customize the access level for the key for different endpoints.
Save or copy your new API key securely.
API Host
apiv2.retainful.net
Working with Retainful API
Once you created the API Key, following these steps to start working with the Retainful API
Find Your App ID
In the Settings → General section, you will also see your App ID. You need to send the App ID in each request.
Add Headers to Every Request Retainful’s API requires the following headers for authentication in each request:
Replace
YOUR_API_KEY
andYOUR_APP_ID
with the actual values from your account.Use the Endpoints
Test Your Requests
Use tools like cURL or Postman to verify connectivity and ensure your API key permissions are set correctly.
Build & Integrate
Once you’ve confirmed authentication and permissions, integrate the API calls into your application or automation workflows.
Last updated
Was this helpful?