Introduction

Platform APIs — organization-wide access to manage projects, training, contacts, and more using API Tokens.

Platform APIs provide complete, organization-wide access to the YourGPT platform. Use an API Token (Bearer header) to manage organizations, multi-project operations, training data, contacts, conversations, analytics, and more — across all your chatbot projects.

Platform APIs are available on Advanced, Agency, and Enterprise plans.

Base URL: https://api.yourgpt.ai/chatbot/v1 (project-level) · https://api.yourgpt.ai/api/v1 (organization-level)

Make your first request

Every request needs your token in the Authorization header and a JSON body (even if it's empty).

Let's start by listing your projects:

curl -X POST https://api.yourgpt.ai/chatbot/v1/getMyProjects \
  -H "Authorization: Bearer api-v1-your_token_here" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "type": "RXSUCCESS",
  "message": "Data Fetched Successfully!",
  "total": 3,
  "data": [...]
}

The project_uid from each project in the response is what you'll pass to project-level endpoints going forward.

Organization-level endpoints don't need a project_uid — your token already identifies your organization.

Available endpoints

On this page