POST
/
chat
/
message
curl --request POST \
  --url https://api-dsc.mintlify.com/v1/chat/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "topicId": "<string>",
  "message": "<string>"
}'
"<string>"

FAQ

How do I log in to Mintlify using Google Auth?

To log in to Mintlify using Google Authentication:

  1. Navigate to the Mintlify login page
  2. Click on the “Sign in with Google” button
  3. You’ll be redirected to Google’s authentication page
  4. Enter your Google credentials (email and password)
  5. Grant the necessary permissions when prompted
  6. You’ll be automatically redirected back to Mintlify and logged in

If you encounter any issues during the Google Auth login process, please check that:

  • Your Google account is active and accessible
  • You have a stable internet connection
  • Your browser allows pop-ups and redirects from Mintlify
  • You’re using a supported browser (Chrome, Firefox, Safari, or Edge)

For additional support, contact our team through the help center.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - text/plain

Topic created successfully

A text stream in the form <response>||[chunks]. The chunks are parts of your docs that most closely matched the user query. Each has the following format:

{ 
id: string;
link: string;
chunk_html: string;
metadata: {
title?: string
}
}

The links are relative links with your docs URL intended as the host. To get an absolute link to your docs, you can use the X-Mintlify-Base-Url header as the host and construct a fully-qualified URL.