Helper
Conversation API/API Reference

Create Conversation

Creates a new conversation in Helper

POST
/api/chat/conversation

Authorization

AuthorizationRequiredBearer <token>

JWT token obtained from the Session API

In: header

Request Body

application/jsonOptional
isPromptboolean

Whether the conversation is starting from a fixed prompt

Response Body

Conversation created successfully

conversationSlugRequiredstring

Unique identifier for the created conversation

export interface Response {
  /**
   * Unique identifier for the created conversation
   */
  conversationSlug: string;
}
 
curl -X POST "https://helper.ai/api/chat/conversation" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "isPrompt": true
  }'
{
  "conversationSlug": "abc123def456"
}