API DOCS EN

 Back to top

API Docs

Request Mode Websocket WSS

ChatGPT+
ws:///ws

Example URI

wss /ws
Payload Send
HideShow
websocket.send()
string (required) 

send payload json {"prompt":"text anda", "type":"chatgpt3"}

Request  returns chat
Response  200
HideShow
Headers
api-key: <apikey anda>;
type: chat
model: chatgpt3
Messages Output
messages{
  {type: text}
 {type: text}
  {type: text}
   {type: text}
    {type: text}
}

Mode Fetch

ChatGPT+
GET/api/v1?prompt=text anda&model=chatgpt3

Example URI

GET /api/v1?prompt=text anda&model=chatgpt3
URI Parameters
HideShow
prompt
string (required) 

model chatgpt3

Request  return chat
Response  200
HideShow
Body
{
  "response": {
  type:"text"
    }
    }