> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nivara.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Reinit Conversation

> Reinitialize a conversation

Reinitialize an existing conversation, resetting its state while preserving the conversation ID.

### Query Parameters

<ParamField query="conversation_id" type="string" required>
  The ID of the conversation to reinitialize
</ParamField>

### Response

<ResponseField name="conversation_id" type="string">
  Unique identifier for the conversation (same as input)
</ResponseField>

<ResponseField name="response" type="string">
  Initial response from the agent for the reinitialized conversation
</ResponseField>

<ResponseField name="status" type="string">
  Status will be reset to "started"
</ResponseField>

<ResponseField name="customer_info" type="object">
  Reset customer information object

  <Expandable title="properties">
    <ResponseField name="name" type="string">Customer's name (null)</ResponseField>
    <ResponseField name="phone" type="string">Contact phone number (null)</ResponseField>
    <ResponseField name="address" type="string">Service address (null)</ResponseField>
    <ResponseField name="issue" type="string">Description of the issue (null)</ResponseField>
    <ResponseField name="role" type="string">Customer's role (null)</ResponseField>
    <ResponseField name="priority" type="string">Ticket priority (null)</ResponseField>
    <ResponseField name="type" type="string">Request type (null)</ResponseField>
    <ResponseField name="date_time" type="string">New timestamp</ResponseField>
    <ResponseField name="submission_date_time" type="string">Reset to null</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="is_complete" type="boolean">
  Will be set to false
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X POST 'https://api.clever.nivara.io/reinit?conversation_id=conv_123abc456def'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "conversation_id": "conv_123abc456def",
    "response": "Hello! I'm here to help you with any maintenance requests. Could you please tell me your name?",
    "status": "started",
    "customer_info": {
      "name": null,
      "phone": null,
      "address": null,
      "issue": null,
      "role": null,
      "priority": null,
      "type": null,
      "date_time": "2024-03-21T10:45:00Z",
      "submission_date_time": null
    },
    "is_complete": false
  }
  ```
</ResponseExample>
