Last updated:2023-11-02


Basic Constraints

The GPTBots API is designed to conform to the HTTP and REST specifications. Query requests use the GET method and submission requests use the POST method. Requests using incorrect HTTP methods will result in an error.

Unless otherwise noted, request parameter values should be encoded as: UTF-8, URL encoded.

Bot API Authentication

The GPTBots REST API uses HTTP Basic Authentication for authentication. The basic approach is to add an Authorization header:

Authorization: Bearer ${apiKey}
          Authorization: Bearer ${apiKey}

This code block in the floating window

Getting an API Key

Enter the "Bot API" page and turn on the API service.


Enter "API Keys", and create a key to use.