Overview
Last updated:2024-03-08

Overview

Basic Constraints

The GPTBots API is designed to comply with HTTP and REST specifications, with query requests using the GET method and submission requests using the POST method. If a request is not the corresponding HTTP method, an error will be returned.

Unless otherwise specified, the values of the call parameters should be encoded as: UTF-8, URL encoding.

Authentication Method

The GPTBots REST API uses HTTP Basic Authentication, adding Authorization to the HTTP Header:

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

        
This code block in the floating window

How to Use

image-20240308154801574

Find "Bot Integration" and enable the API service. Then go to the management page.

image-20240308154857286

On the page, create an API Key. With the API Key, you can use the API according to the instructions in the API documentation.