How to Use the CustomGPT.ai API with Postman – 2025 Quick-Start Guide

Author Image

Written by: Priyansh Khodiyar

customgpt.ai postman blog

Hello folks, in this article, we will see how to use our API collection via hosted CustomGPT.ai Postman Collection.

Why Postman & Prerequisites

Postman remains the fastest way to test, debug, and document every endpoint in the CustomGPT.ai API—even if you’re not a developer.

The official public collection already contains all endpoints—so setup is mostly “plug in your key and go.”

Step 1: Login to the CustomGPT.ai platform with your credentials.

Step 2: Navigate to the Developers section on the bottom right side of the screen.

Step 3: Under Developer Resources, there will be a “Quick Start with postman config

Interested in watching a video instead? See the entire process in action below:

✅ What you need🔗 Where to get it
CustomGPT.ai accountSign in
API key (JWT token)Settings → API Keys inside the app
Postman (desktop or web)Download
Official Postman Collectioncustomgpt-ai-api-collection-v1

Fork the Public Collection

Forking—not importing—keeps your copy synced with future endpoint additions, while letting you edit locally.

  1. Open the collection link.
  2. Click Fork → select or create a workspace (e.g., “My Workspace”).
  3. Name it CustomGPT API v1 – My Copy.

Now that your collection lives in your workspace, let’s wire up authentication so every request works out of the box.

Authenticate Once with Variables

The collection ships with two variables:

VariablePurposeDefault
baseUrlRoot endpointhttps://app.customgpt.ai
jwt_tokenBearer token(empty)
  1. Select the Variables tab.
  2. Paste your JWT into jwt_token.
  3. Click Save—Postman does not auto-save variable edits.

Under the hood, every request already has “Auth → Bearer Token → {{jwt_token}}”, so you can skip extra headers.

How to Get CustomGPT.ai API keys?

To get your API key, there are two ways:

Method 1 – Via Agent

  1. Agent > All Agents.
  2. Select your agent and go to deploy, click on the API key section and create an API. 

Method 2 – Via Profile section.

  1. Go to profile (top right corner of your screen)
  2. Click on My Profile
  3. You will see the screen something like this (below screenshot). Here you can click on “Create API key”, give it a name and copy the key.

Please save this secret key somewhere safe and accessible. For security reasons, You won’t be able to view it again through your CustomGPT.ai account. If you lose this secret key, you’ll need to generate a new one.

Send Your First Request

With authentication in place, let’s fetch your list of agents:

  1. In the sidebar, open Agents → List all agents.
  2. Confirm the request is GET {{baseUrl}}/api/v1/projects.
  3. Click Send.
  4. You should see JSON like:
[
  { "id": 123, "name": "Marketing FAQ Bot" },
  { "id": 124, "name": "Docs Assistant" }
]

Tip: Use the Params tab to add pagination (page, limit) or filters (name, duration).

Feeling confident? Let’s level-up with a few Postman pro tricks.

Pro Tips & Best Practices

1. Use Environments

Create Postman Environments for Production and Staging. Each overrides baseUrl and jwt_token; toggle via the dropdown before sending.

2. Save Example Responses

Under Save → Save as Example, capture successful responses for mock servers or documentation.

3. Automate Tests

In the Tests tab, add simple JavaScript assertions:

pm.test(“Status code is 200”, () => pm.response.to.have.status(200));

4. Share & Pull Updates

Because you forked, you can Pull if CustomGPT.ai publishes new endpoints—no manual re-import needed.

Troubleshooting

ErrorLikely causeQuick fix
401 UnauthorizedWrong or expired jwt_tokenRegenerate key in the dashboard
404 Not FoundIncorrect baseUrl or path paramsCheck environment variables & URL
Request timeoutVPN / proxy interferenceDisable “Use system proxy” in Postman

FAQ

Is there a rate limit on the CustomGPT.ai API?

Yes—see the Rate Limiting section of the API docs. It scales with your subscription tier.

Can I rotate my JWT token without breaking Postman?

Absolutely. Generate a new key, paste it into jwt_token, click Save, and all requests use the fresh token.

Does the collection include webhooks?

Yes. Open Webhooks in the left sidebar to find Create, List, and Delete endpoints.

Final Call to Action

Ready to build? Fork the collection now and create your first fully-custom chatbot in minutes. For questions, ping us on CustomGPT.ai Community Slack or email support@customgpt.ai.

Internal links used:

Build a Custom GPT for your business, in minutes.

Deliver exceptional customer experiences and maximize employee efficiency with custom AI agents.

Trusted by thousands of organizations worldwide

Related posts

Leave a reply

Your email address will not be published. Required fields are marked *

*

3x productivity.
Cut costs in half.

Launch a custom AI agent in minutes.

Instantly access all your data.
Automate customer service.
Streamline employee training.
Accelerate research.
Gain customer insights.

Try 100% free. Cancel anytime.