Create Project

Create a new chatbot project in your organization.

Creates a new chatbot project with a unique project_uid and widget for integration.

Required: Owner role

POST
/createChatbot

Authorization

bearerToken

AuthorizationBearer <token>

API token for YourGPT Public APIs. Create tokens in Settings > API Tokens in your YourGPT dashboard.

In: header

Request Body

application/json

name*string

Name for the new chatbot project.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.yourgpt.ai/chatbot/v1/createChatbot" \  -H "Content-Type: application/json" \  -d '{    "name": "Customer Support Bot"  }'
{
  "type": "RXSUCCESS",
  "message": "Data Created Successfully!",
  "data": {
    "id": 12345,
    "name": "Customer Support Bot",
    "project_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "app_id": 1,
    "organization_id": 100,
    "created_by": 42,
    "widget_uid": "w1x2y3z4-a5b6-7890-cdef-1234567890ab",
    "createdAt": "2026-03-17T10:30:00.000Z",
    "updatedAt": "2026-03-17T10:30:00.000Z"
  }
}
{
  "type": "RXERROR",
  "message": "Invalid params"
}
{
  "type": "RXERROR",
  "message": "Invalid or revoked API token"
}
{
  "type": "RXERROR",
  "message": "You do not have permission to perform this action"
}