Humata Docs
  • Getting started
    • Create an account
    • Account settings
      • Plan information
      • Pay-As-You-Go Spending Controls
    • How to set up single sign on
    • How to setup Multi-Factor Authentication
    • How to upload
      • How to move files
    • Website Import
    • Managing permissions and access
    • How to "Ask All"
    • Chat Settings
    • Custom Prompts
    • White Labeling
  • Humata API
    • How to get your API Key
    • How to Import Document
    • How to GET Pdf
    • How to Create Conversations
    • How to Ask
    • How to Download Data
    • How to Create New Users
    • FAQ
Powered by GitBook
On this page
  1. Humata API

How to Create Conversations

PreviousHow to GET PdfNextHow to Ask

Last updated 4 days ago

Create a conversation with a set of documents. A conversation must be created before asking questions to documents.

  • POSTCreate Conversation

Create Conversation

post

Creates a new conversation based on the document IDs.

Authorizations
Body
documentIdsstring ยท uuid[]Required
Responses
200
Successfully created a new conversation.
application/json
401
Unauthorized access, invalid API key.
application/json
429
Rate limit exceeded.
application/json
post
POST /api/v1/conversations HTTP/1.1
Host: app.humata.ai
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 95

{
  "documentIds": [
    "63ea1432-d6aa-49d4-81ef-07cb1692f2ee",
    "cbec39d9-1e01-409c-9fc2-f19f5d01005c"
  ]
}
{
  "id": "e6d13306-c93d-466e-b239-59ca09058ce9"
}