
Postman is a free, popular tool for trying out APIs. Instead of writing code, you fill in a form, press Send and read the answer on screen. It is the easiest way to see what the AiEngage CRM API can do, to test an API key, or to check a request before a developer builds it into your website or app.
AiEngage CRM publishes a ready-made Postman collection. One link brings every API request into Postman, already grouped into folders and filled with examples. You add your API key once and every request is ready to run.
In this guide you will:
Create an API key in the CRM (Part 1).
Find the Postman import link on the AiEngage developer site (Part 2).
Import the collection into Postman, add your key and send your first request (Part 3).
Every screenshot is explained in detail, so you can match it against your own screen. At the end there is a troubleshooting table for the most common errors.
cak_live_EXAMPLE…) is not a real key, and the Postman account name is replaced with “Alex Morgan”. Nothing was saved in the CRM while the screenshots were taken.A plan with API access, and permission to open Settings → API Keys in the CRM (usually an administrator).
Postman. Use either the free desktop app (download it from postman.com) or Postman on the web at web.postman.co, with a free Postman account. The steps are the same in both.
About 10 minutes.
New to APIs? Read What Is the AiEngage CRM API and MCP? first. It explains API keys and scopes in plain words.
What | Value | Used for |
|---|---|---|
Postman import link |
| Brings every request into Postman (Step 6) |
API address (base URL) |
| Already set inside the collection (Step 8) |
Auth type | Bearer Token | How Postman sends your key (Step 8) |
Key format |
| Your API key from the CRM (Step 1) |
Postman needs an API key to prove to the CRM that it is allowed in. For testing, create a separate key just for Postman with read-only scopes. Then you can revoke it later without affecting anything else.
Click the gear icon at the bottom of the left navigation rail to open Settings.
Scroll to the DEVELOPER HUB heading at the bottom of the Settings menu and click API Keys.

What this screenshot shows. The Settings menu. The red box and arrow point to API Keys under DEVELOPER HUB.
DEVELOPER HUB holds three items: Integrations, WhatsApp API & Docs and API Keys.
API Keys is highlighted because it is the page that is open.
The page on the right is API & Connections, described in the next screenshot.

What this screenshot shows. The API & Connections page. The red box covers the page title, the tabs and the orange Generate API key button.
Title and description: “API & Connections — Personal Access Tokens, connected applications, usage tracking, and quota alerts.” A Personal Access Token is the same thing as an API key.
Tabs: Keys (open), Connections, Usage and Alerts.
Generate API key (orange, top right): creates a new key. You click it in the next step.
Key list: any keys you already have, with their label, scopes, status and dates. The example shows one key called “Website sync”.
Click Generate API key.
In Label, type a name that says what the key is for, such as Postman testing.

What this screenshot shows. The Generate API key window. The red box highlights the Label box with “Postman testing” typed in.
Window intro: “You’ll see the full token once after generation — copy and store it securely.”
Label: a name only you and your team see. It helps you recognise the key later in the key list and on the Usage tab.
Scopes (below): the permissions for this key. You choose them in Step 3.
Generate (bottom right) stays greyed out until at least one scope is ticked.
For a first test, tick only Read permissions. A read-only key cannot change anything in your CRM, so it is safe to experiment with.
Scroll the Scopes list to Contacts (or type “Contacts” into Search permissions…) and tick Read.
Scroll on to Schema and tick Read. This lets Postman list your modules and fields.

What this screenshot shows. The Contacts scope group. The red box highlights it, with Read ticked.
Read (ticked): list, get, search and batch-read contacts. This is all you need for the test in this guide.
Write (unticked): create, update and upsert contacts. Leave it off for testing.
Delete (unticked): archive contacts (a soft delete, recoverable for 90 days). Leave it off.
Read and Write are independent: ticking Write does not give Read.

What this screenshot shows. Further down the list, the Schema scope. The red box highlights it, with Read ticked.
Schema → Read: “Module and field definitions — the discovery surface”. It lets Postman call the requests that list your modules and each module’s fields.
Areas above and below it, such as Reports and Analytics, offer only Read. You don’t need them for this guide.
Your own modules (including custom modules) also appear in this list, each with Read, Write and Delete.
At the bottom of the window, open Expires and choose 30 days. A test key does not need to live for ever.
Click Generate.

What this screenshot shows. The bottom of the window. The red box highlights Expires, set to 30 days, and the two buttons.
Expires: Never, 30, 90, 365 or 730 days. After the expiry date the key stops working by itself.
“Best practice is to rotate keys periodically.” Expiring keys are safer than keys that last for ever.
Generate (orange, now active): creates the key.
Cancel: closes the window without creating anything.

What this screenshot shows. The Save this token now window that appears after you click Generate. The red box and arrow highlight it.
Warning: “This is the only time the full token will be shown.” If you close this window without copying the key, you cannot see it again.
The key: a long code starting with cak_live_. The one shown is an example.
Copy to clipboard: copies the whole key. Paste it somewhere safe, such as a password manager, until you add it to Postman in Step 8.
I’ve saved it stays disabled until you have clicked Copy, so you can’t skip copying by accident.
Behind the window: the new Postman testing row is already in the key list, showing only the start of the key.
The AiEngage developer site, developer.aiengagecrm.com, publishes a file that describes every API request. Postman reads this file and turns it into a ready-to-use collection.
Open developer.aiengagecrm.com in your browser.
In the left menu, under GET STARTED, click Every request in Postman.

What this screenshot shows. The AiEngage developer site. The red box and arrow point to Every request in Postman in the left menu.
Top bar: the AiEngage logo, CRM API & MCP, and the buttons Console, the dark-mode moon, README and Download YAML.
Left menu tabs: Modules API (the REST API, selected) and MCP.
GET STARTED: Quick Start and Every request in Postman (highlighted).
API and further down: the endpoint groups (Records, Search Records, Batch Operations, Associations, Fields Metadata, Email, WhatsApp), the Test console and the Reference.

What this screenshot shows. The Every request in Postman section. The red box highlights the instructions and, on the right, the dark box with the import link.
“One import, and all 24 endpoints arrive ready to run.”
The instructions: 1. Postman → Import → Link. 2. Paste this URL. Then add your token as collection-level Bearer Token auth, so every request inherits it.
The link (dark box): https://developer.aiengagecrm.com/module-public-api.yaml. Copy it. You paste it into Postman in Step 7.
Important: the link belongs in Postman’s Import window, not in the address bar of a request. Sending a request to the link only downloads the file (you see 200 and a screen of YAML) and adds nothing to your sidebar.
The collection already points at the live API, and each request carries real request and response examples, so they run rather than arriving as empty shells.

What this screenshot shows. The top bar of the developer site. The red box and arrow point to the orange Download YAML button.
Download YAML saves the same file to your computer.
Use it if Postman cannot reach the link, for example on a strict company network. In Postman, choose Import and drag the downloaded file into the window instead of pasting the link.

What this screenshot shows. The Use this one in Postman box under the Get Records endpoint, opened. The red box and arrow highlight it.
1. “New request, method GET, URL:” followed by the full address and a Copy button.
2. “Authorization tab → type Bearer Token → paste your key:” followed by a box for your key and a Copy button.
3. “Press Send.”
On the right is the endpoint’s Try it panel, where you can also send the request from the browser.
Open Postman (the desktop app or web.postman.co) and sign in.
At the top of the left sidebar, click the Import icon.
What this screenshot shows. The Postman window. The red box and arrow point to the three icons at the top of the left sidebar.
+ (left): creates a new collection or request.
Import (middle, a box with an arrow): opens the Import window. Click this one.
⋯ (right): more sidebar options.
COLLECTIONS: the collections in your workspace. In the screenshot the AiEngage collection is already there, because it was imported earlier. Yours appears after this step.
Top bar: your workspace name, search, Invite and your account.
In the Use Resources window, make sure the Import tab is selected.
Paste the link https://developer.aiengagecrm.com/module-public-api.yaml into the large box.
Press Enter.

What this screenshot shows. The Use Resources window on the Import tab. The red box highlights the title, the box with the link pasted in, and the hint underneath.
Tabs: Resources and Import (selected).
The large box: accepts a link, a cURL command, an OpenAPI file or collection JSON. Here it holds the AiEngage link.
“Enter to import” (bottom left): press Enter to go to the next screen.

What this screenshot shows. The second screen of the Import window, as it first appears. The red box highlights the import choices.
OpenAPI 3.1 Specification with a Postman Collection (selected by default): also keeps a copy of the specification file in Postman. You don’t need this for testing.
Postman Collection: creates just the collection of requests, named AiEngage CRM Public API.
Then set up an environment, examples, tests and docs with Agent Mode (ticked by default): after import, Postman’s AI agent sends the GET requests itself to save examples, then adds docs and tests.
Select Postman Collection.
Untick the Agent Mode box. You want to add your key and send requests yourself, and the collection already contains examples.
Click Import.

What this screenshot shows. The same screen ready to import. The red box highlights the choices and the Import button.
Postman Collection is selected, and the collection name AiEngage CRM Public API shows below it.
Agent Mode is unticked.
Bottom: View Import Settings (advanced options you can leave alone), Back, and the orange Import button.
After a few seconds the collection appears in the left sidebar:

What this screenshot shows. The left sidebar after the import. The red box highlights the new collection and its folders.
AiEngage CRM Public API: the imported collection.
objects: working with records. Inside {module} are Get Records, Insert Record and Upsert Record, plus folders for one record ({id}: Get, Update, Archive and associations), search and batch.
Saved examples: under Get Records are examples such as “A page of records.” (a successful answer) and one for each error (VALIDATION_ERROR, UNAUTHORIZED, MISSING_SCOPE, MODULE_NOT_AVAILABLE, RATE_LIMITED, INTERNAL_ERROR).
Other folders: properties (fields), email and campaign are visible. Scroll the sidebar to see contact and whatsapp below them.
Put the key on the collection, not on each request. Every request inside then uses it automatically.
In the sidebar, click the collection name AiEngage CRM Public API.
Open the Authorization tab.
Auth type is already Bearer Token. Keep it.
Click the Token box. Right after the import it holds the placeholder {{bearerToken}}. Delete it and paste your key from Step 5. Paste only the key, without the word “Bearer”.
Press Ctrl + S (Cmd + S on a Mac) to save the collection.

What this screenshot shows. The collection’s Authorization tab after the key has been pasted. The red box and arrow highlight the settings.
Collection tabs: Overview, Authorization (selected), Scripts, Variables and Runs. A green dot means the tab has settings.
Auth type: Bearer Token.
Token: your key, hidden as dots for safety. Click the eye icon to show it and check it was pasted completely.
“The authorization header will be automatically generated when you send the request.” Postman adds Authorization: Bearer cak_live_… to every request for you.

What this screenshot shows. The collection’s Variables tab. The red box and arrow highlight the baseUrl row.
baseUrl = https://app.aiengagecrm.com/cback/api/public/v1. Every request address starts with {{baseUrl}}, which Postman replaces with this value.
Other rows (baseUrl1, host, baseUrl2 and the bearer_token rows) come from the file. You can ignore them.
Change baseUrl only if AiEngage has given your company a different API address.
In the sidebar, open objects → {module} and click GET Get Records.
Look at the Params tab under the address bar.

What this screenshot shows. The Get Records request open in Postman. The red box spans from the request in the sidebar to the blue Send button.
Sidebar: Get Records under objects → {module}, highlighted because it is open.
Address bar: GET and {{baseUrl}}/objects/:module?limit=10&after=string&sort=…. :module is filled in from the Path Variables below.
Tabs under the bar: Docs, Params, Authorization, Headers, Body, Scripts and Settings.
Send (blue, top right): runs the request.
string, archived = any and include = string. Sent as they are, after=string is not a real page cursor (error 400 INVALID_CURSOR), include=string is not a real field (400 INVALID_PROPERTY), and archived=any also returns archived records. Untick them before you press Send.
What this screenshot shows. The Query Params table as it arrives from the import. The red box and arrow highlight all six filters.
limit = 10: how many records come back per page (1 to 100).
after = string: a placeholder for the “next page” cursor. Untick it.
sort = created_at:desc: newest first. Keep it.
archived = any: would include archived records. Untick it.
properties = email,first_name: which fields to return. Keep it, or change it to the fields you want.
include = string: a placeholder for lookup fields to expand. Untick it.
The Description column explains each filter in one line.
Click the tick boxes in front of after, archived and include to untick them.
Under Path Variables, check that module is contacts. To read another module, type its API name here, for example deals or companies.

What this screenshot shows. The Params tab ready to send. The red box and arrow highlight the address bar, the Query Params and the Path Variables.
Ticked: limit = 10, sort = created_at:desc, properties = email,first_name.
Unticked (no tick, greyed out): after, archived and include. They are not sent.
Address bar updates to {{baseUrl}}/objects/:module?limit=10&sort=created_at:desc&properties=email,first_name.
Path Variables: module = contacts (the red * means it is required).
An orange dot appears on the request’s tab at the top: the request has unsaved changes. Press Ctrl + S if you want Postman to remember them.
You don’t need to set a key on the request itself. Open its Authorization tab to confirm it uses the collection’s key:

What this screenshot shows. The Get Records request’s own Authorization tab. The red box highlights the inherited settings.
Bearer Token — Inherited (the box on the right): the request uses the key you added to the collection in Step 8.
Auth type (on the left) shows the authorization type in use. Leave it as it is, so the request keeps using the collection’s key.
Token: your key, hidden as dots.
Edit in Parent: takes you to the collection’s Authorization tab if you need to change the key.

What this screenshot shows. The address bar. The red box and arrow point to the blue Send button.
Click Send. Postman sends the request to the CRM with your key, and the answer appears in the Response area in the lower half of the window.
The small arrow on the right of Send offers Send and Download, which saves the answer as a file. You don’t need it.
With a valid key you get 200 OK and a list of your contacts. Postman keeps a saved example of this answer under the request, so you can see its shape even before your first call. Click A page of records. under Get Records:

What this screenshot shows. The saved example A page of records. The red box highlights the example response.
Status Code: 200 OK. The request worked.
Body (JSON): a results list. Each record has an id, its properties (the field values you asked for, such as first_name and email), created_at / updated_at dates, and archived: false.
Your real response has the same shape with your own records. When there are more records than limit, it ends with a paging section. Its next.after value goes into the after filter to fetch the next page.
If the key is wrong, missing or revoked, the CRM answers 401 Unauthorized. The screenshot below is a real answer from the live API to the example key:

What this screenshot shows. The Response area after sending with an invalid key. The red box highlights the response.
401 Unauthorized (red), with the time the request took and the size of the answer.
Body: "message": "Invalid or revoked token." and "category": "UNAUTHORIZED", plus a correlationId you can quote to AiEngage support.
What to do: paste the key again in the collection’s Authorization tab (Step 8), and check on the CRM Keys tab that the key is Active and not expired.
See your modules: in the properties folder, run the request that lists a module’s fields. Set the module to contacts to see every contact field and its API name.
Read one record: copy an id from the Get Records answer, open objects → {module} → {id} → Get Record, paste it into the id path variable and send.
Read another module: change the module path variable to deals, companies or a custom module. Your key needs that module’s Read scope.
Create or update records, or send email and WhatsApp: these requests change real data in your CRM. Use a key with Write or Send scopes only when you mean to, ideally on test records.
What you see | What it means | How to fix it |
|---|---|---|
401 | No key, a mistyped key, or a key that was revoked or has expired. | Paste the key again (only the key, without “Bearer”) in the collection’s Authorization tab and save. On the CRM Keys tab, check the key is Active. If it expired or was revoked, create a new one. |
403 | The key is valid but does not have the scope this request needs. The message names the scope. | Scopes are fixed when a key is created. Generate a new key with the missing scope ticked. |
404 | The module name is wrong, the module is switched off, or it is not available to the API. | Use the module’s API name, such as |
400 | A filter still has a placeholder value such as | Untick the filters you are not using (Step 9). For after, only use the value from |
429 | Too many requests in a short time, or your daily or monthly quota is used up. | Wait a few seconds and send again. Check the CRM Usage tab. |
Postman shows 200 and a screen of YAML text | The import link was sent as a request instead of being imported. | Use the Import icon (Step 7), not a new request tab. |
Requests show | The request is outside the collection, or the variable was deleted. | Run requests from inside the imported collection. Check baseUrl on the collection’s Variables tab (Step 8). |
No. You fill in boxes and press Send. Postman shows you the request and the answer, which also makes it a good way to learn how the API works before a developer writes code.
Only if your key allows it. A key with only Read scopes, like the one in this guide, can never create, change or delete anything. Requests such as Insert Record, Update Record, Archive Record or sending email and WhatsApp need Write, Delete or Send scopes and act on real data.
Yes. Every call made with an API key counts, whether it comes from Postman, the developer site or your own code. You can see them on the Usage tab of the API & Connections page.
Yes. You can share the collection from Postman, but each person should add their own API key. A key acts with the permissions of the person who created it.
Import the link again (Step 7). Postman creates a fresh copy of the collection. Add your key to it (Step 8) and delete the old copy.
Only the records the key’s creator is allowed to see in the CRM. Two keys from the same organization can return different results if they were created by people with different access.
OpenAI Engage and apply what you just learned to your own workspace.
Open AI Engage CRM