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

# Restore a conversation

> Brings an archived conversation back.



## OpenAPI

````yaml /api/openapi.json post /conversations/{conversation_id}/unarchive
openapi: 3.1.0
info:
  title: B2B Signals API
  version: '1.0'
  description: >-
    Add people, run campaigns and read results from your own tools. Every
    request needs your API key in the `X-API-Key` header.
servers:
  - url: https://api.b2bsignals.ai/api/v1
security:
  - apiKey: []
tags:
  - name: Add people
    description: >-
      Send people in from your own tools, one at a time or up to 100 per
      request.
  - name: People
    description: >-
      Read and change the people in your workspace. In API paths and fields, a
      person is a `lead`.
  - name: Notes and tasks
    description: Notes on a person, and follow-up tasks.
  - name: Lists
    description: >-
      Named groups of people you can add to a campaign. In API paths, a list is
      a `lead-list`.
  - name: Campaigns
    description: >-
      Read, start, pause and report on campaigns. In API paths and fields, a
      campaign is a `workflow`.
  - name: Campaign people
    description: >-
      One person's place in one campaign. In API paths and fields, that is a
      `workflow-run`.
  - name: Approvals
    description: Messages waiting for a yes or no before they go out.
  - name: Inbox
    description: Read conversations and keep them organized.
  - name: Do not contact
    description: People and companies that must never be contacted.
  - name: Senders
    description: >-
      The LinkedIn accounts that send for your workspace. In API paths, a sender
      is a `connected-account`.
  - name: Webhooks
    description: Send events to your own tools.
  - name: Integrations
    description: See which outside tools are connected, and send people to them.
  - name: Reports
    description: The numbers behind Reports, and exports.
  - name: Watchlists
    description: Read the companies and people you watch.
  - name: Search
    description: Search across people, campaigns, lists and watchlists.
paths:
  /conversations/{conversation_id}/unarchive:
    post:
      tags:
        - Inbox
      summary: Restore a conversation
      description: Brings an archived conversation back.
      operationId: post_conversations_conversation_id_unarchive
      parameters:
        - name: conversation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          description: The request did not pass validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ConversationResponse:
      properties:
        id:
          type: string
          format: uuid
        connected_account_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
        connected_account_name:
          anyOf:
            - type: string
            - type: 'null'
        lead_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
        participant_name:
          anyOf:
            - type: string
            - type: 'null'
        participant_avatar_url:
          anyOf:
            - type: string
            - type: 'null'
        participant_linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
        last_message_preview:
          anyOf:
            - type: string
            - type: 'null'
        last_message_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
        last_message_direction:
          anyOf:
            - type: string
            - type: 'null'
        unread_count:
          type: integer
          default: 0
        is_favorite:
          type: boolean
          default: false
        status:
          type: string
          default: open
        tags:
          items:
            type: string
          type: array
        auto_tag:
          anyOf:
            - type: string
            - type: 'null'
        suggested_reply:
          anyOf:
            - type: string
            - type: 'null'
        suggested_reply_stale:
          type: boolean
          default: false
        lead:
          anyOf:
            - $ref: '#/components/schemas/ConversationLeadSummary'
            - type: 'null'
        outreach_stage:
          anyOf:
            - type: string
            - type: 'null'
        campaign_name:
          anyOf:
            - type: string
            - type: 'null'
        campaign_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
        workflow_run_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
        run_status:
          anyOf:
            - type: string
            - type: 'null'
        auto_reply_pending:
          anyOf:
            - $ref: '#/components/schemas/AutoReplyPendingResponse'
            - type: 'null'
        can_resume_campaign:
          type: boolean
          default: false
        can_ignore_reply:
          type: boolean
          default: false
        reply_ignored:
          type: boolean
          default: false
        campaign_auto_reply_mode:
          anyOf:
            - type: string
            - type: 'null'
        can_turn_off_auto_reply:
          type: boolean
          default: false
        stage_from_reply:
          anyOf:
            - $ref: '#/components/schemas/StageFromReplyResponse'
            - type: 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      type: object
      required:
        - id
        - created_at
        - updated_at
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ConversationLeadSummary:
      properties:
        person_name:
          anyOf:
            - type: string
            - type: 'null'
        name_unresolved:
          type: boolean
          default: false
        person_title:
          anyOf:
            - type: string
            - type: 'null'
        company_name:
          anyOf:
            - type: string
            - type: 'null'
        person_email:
          anyOf:
            - type: string
            - type: 'null'
        person_linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
        person_headline:
          anyOf:
            - type: string
            - type: 'null'
        person_about:
          anyOf:
            - type: string
            - type: 'null'
        person_avatar:
          anyOf:
            - type: string
            - type: 'null'
        person_location:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    AutoReplyPendingResponse:
      properties:
        send_at:
          type: string
          format: date-time
        text:
          type: string
        hold_id:
          type: string
      type: object
      required:
        - send_at
        - text
        - hold_id
    StageFromReplyResponse:
      properties:
        stage:
          type: string
        previous_stage:
          anyOf:
            - type: string
            - type: 'null'
        source:
          type: string
        set_at:
          type: string
          format: date-time
        can_undo:
          type: boolean
          default: true
      type: object
      required:
        - stage
        - source
        - set_at
    Error:
      type: object
      required:
        - detail
      properties:
        detail:
          description: A message, or an object with a `code` and a `message`.
          anyOf:
            - type: string
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  responses:
    Unauthorized:
      description: The key is missing or not valid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The key cannot do this, or your plan does not include it. `detail` says
        which.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your workspace's API key. It starts with `b2b_sk_`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.