POST
/
api
/
v1
/
code
/
chat
curl --request POST \
  --url https://api.quackai.com/api/v1/code/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messages": [
    {
      "role": "user",
      "content": "<string>"
    }
  ]
}'
"<any>"

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
messages
object[]
required

Response

200 - application/json

The response is of type any.