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

# Restore Portal Offer

> Restore an archived portal offer without adding it to portal templates.



## OpenAPI

````yaml POST /v1/workspaces/{workspace_id}/portal-offers/{id}/restore
openapi: 3.0.0
info:
  title: Conduit API
  version: 1.0.0
  description: Public API for Conduit.
servers:
  - url: https://api.conduit.ai
    description: Production
security: []
tags:
  - name: meta
    description: Discovery and API metadata endpoints.
  - name: agents
    description: >-
      V2 chat agent configuration, including instructions, skills, triggers, and
      automation behavior.
  - name: contacts
    description: >-
      Contact profile and contact-scoped related resources such as tickets and
      calls.
  - name: workspaces
    description: Workspaces accessible to the current API token.
  - name: escalations
    description: >-
      Chat escalations that require operator review, including message, proposed
      response, and disposition context when available.
  - name: conversations
    description: >-
      Canonical message threads. Use these endpoints to list threads, inspect
      conversation state, read transcripts, and send replies.
  - name: conversation-tags
    description: >-
      Conversation labels, root topics, and subtopics used for classification
      and topic analytics.
  - name: tickets
    description: >-
      Operational queue items tied to conversations, including ticket-scoped
      transcripts and replies.
  - name: calls
    description: Phone call records, transcripts, summaries, and recordings when available.
  - name: reservations
    description: >-
      PMS reservations synced from the workspace's integrations (Hostaway,
      Guesty, Airbnb, etc.), including guest identity, payment status, and stay
      dates.
  - name: appointments
    description: >-
      Scheduled appointments (bookings) backed by the Conduit booking service.
      Exposes allocation context and the upstream booking-service `external_id`.
  - name: helpdesk_tickets
    description: >-
      Helpdesk tickets mirrored from external helpdesk integrations (Zendesk,
      Pylon, Plain), including requester identity and upstream metadata.
  - name: kb
    description: >-
      Knowledge base search and node management. Nodes represent knowledge base
      entries (files or directories), chunks are the indexed retrieval units
      used by search.
  - name: skills
    description: >-
      Workspace agent skills that can be attached to V2 chat agents.
      Sidebar/global-assistant skills are intentionally excluded.
  - name: custom_tools
    description: >-
      Custom code tools: user-authored Python/JavaScript functions executed in a
      sandbox when an agent calls them. Includes a runtimes endpoint describing
      the entrypoint signature, return shape, and available dependencies per
      language.
  - name: inbox_types
    description: >-
      Workspace inbox types. Each id is stable and usable as a message trigger's
      `inboxTypeId` and as the `inbox_type_id` filter on list conversations.
  - name: workflows
    description: >-
      Workspace automation workflows: definitions, executions, and per-execution
      event timelines.
  - name: insights
    description: Aggregated workspace analytics, such as conversation automation rate.
paths:
  /v1/workspaces/{workspace_id}/portal-offers/{id}/restore:
    post:
      tags:
        - portals
      summary: Restore Portal Offer
      description: Restore an archived portal offer without adding it to portal templates.
      operationId: restorePortalOffer
      parameters:
        - schema:
            type: string
            minLength: 1
            description: Workspace identifier
          required: true
          description: Workspace identifier
          name: workspace_id
          in: path
        - schema:
            type: string
            minLength: 1
            description: Portal offer identifier
          required: true
          description: Portal offer identifier
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                expected_updated_at:
                  type: number
                  minimum: 0
              required:
                - expected_updated_at
      responses:
        '200':
          description: Restore Portal Offer
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      workspace_id:
                        type: string
                      name:
                        type: string
                      description:
                        type: string
                      price_in_cents:
                        type: number
                      currency:
                        type: string
                      percent_price:
                        type: object
                        properties:
                          percent:
                            type: number
                            minimum: 0
                            exclusiveMinimum: true
                            maximum: 100
                          of:
                            type: string
                            enum:
                              - totalPrice
                              - grossRent
                              - netRent
                              - subtotal
                              - totalFees
                              - totalTaxes
                        required:
                          - percent
                          - of
                      compare_at_price_in_cents:
                        type: number
                      image_url:
                        type: string
                      image_attribution:
                        type: object
                        properties:
                          source:
                            type: string
                            enum:
                              - unsplash
                          photographerName:
                            type: string
                          photographerUrl:
                            type: string
                            format: uri
                          photoUrl:
                            type: string
                            format: uri
                        required:
                          - source
                          - photographerName
                          - photographerUrl
                          - photoUrl
                      background_hex:
                        type: string
                      category:
                        type: string
                      kind:
                        type: string
                        enum:
                          - purchase
                          - request
                          - ad
                      pricing:
                        oneOf:
                          - type: object
                            properties:
                              model:
                                type: string
                                enum:
                                  - flat
                            required:
                              - model
                          - type: object
                            properties:
                              model:
                                type: string
                                enum:
                                  - by_option
                              fieldLabel:
                                type: string
                                minLength: 1
                              options:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: string
                                    title:
                                      type: string
                                      minLength: 1
                                    priceInCents:
                                      type: integer
                                      minimum: 0
                                    percentPrice:
                                      type: object
                                      properties:
                                        percent:
                                          type: number
                                          minimum: 0
                                          exclusiveMinimum: true
                                          maximum: 100
                                        of:
                                          type: string
                                          enum:
                                            - totalPrice
                                            - grossRent
                                            - netRent
                                            - subtotal
                                            - totalFees
                                            - totalTaxes
                                      required:
                                        - percent
                                        - of
                                    timeSlot:
                                      type: string
                                  required:
                                    - title
                                    - priceInCents
                            required:
                              - model
                              - fieldLabel
                              - options
                      link_url:
                        type: string
                      highlights:
                        type: array
                        items:
                          type: string
                      availability:
                        type: object
                        properties:
                          visibleFrom:
                            type: number
                            minimum: 0
                          visibleUntil:
                            type: number
                            minimum: 0
                          bookableFrom:
                            type: number
                            minimum: 0
                          bookableUntil:
                            type: number
                            minimum: 0
                      targeting:
                        type: object
                        properties:
                          bookingChannels:
                            type: array
                            items:
                              type: string
                          bookingChannelMode:
                            type: string
                            enum:
                              - include
                              - exclude
                          minNights:
                            type: integer
                            minimum: 0
                          maxNights:
                            type: integer
                            minimum: 0
                          minVacantNightsBeforeArrival:
                            type: integer
                            minimum: 0
                          minVacantNightsAfterDeparture:
                            type: integer
                            minimum: 0
                          listingIds:
                            type: array
                            items:
                              type: string
                          listingGroupIds:
                            type: array
                            items:
                              type: string
                              minLength: 1
                          inboxTypeIds:
                            type: array
                            items:
                              type: string
                          inboxMode:
                            type: string
                            enum:
                              - include
                              - exclude
                          customAttributeConditions:
                            type: object
                            properties:
                              combinator:
                                type: string
                                enum:
                                  - all
                                  - any
                              conditions:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    attributeId:
                                      type: string
                                      minLength: 1
                                    operator:
                                      type: string
                                      enum:
                                        - equals
                                        - not_equals
                                        - contains
                                        - not_contains
                                        - greater_than
                                        - less_than
                                        - before
                                        - after
                                        - has_value
                                        - has_no_value
                                    value:
                                      anyOf:
                                        - type: string
                                        - type: number
                                        - type: boolean
                                  required:
                                    - attributeId
                                    - operator
                            required:
                              - combinator
                              - conditions
                      sku:
                        type: string
                      active:
                        type: boolean
                      created_at:
                        type: number
                      updated_at:
                        type: number
                    required:
                      - id
                      - workspace_id
                      - name
                      - description
                      - price_in_cents
                      - currency
                      - active
                      - created_at
                      - updated_at
                required:
                  - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                description: Standard error response.
                example:
                  error: Invalid workspace id
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                description: Standard error response.
                example:
                  error: Invalid workspace id
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                description: Standard error response.
                example:
                  error: Invalid workspace id
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                description: Standard error response.
                example:
                  error: Invalid workspace id
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                description: Standard error response.
                example:
                  error: Invalid workspace id
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                description: Standard error response.
                example:
                  error: Invalid workspace id
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Token
      description: >-
        Conduit API token. Use `Authorization: Bearer <token>`. Read/write
        endpoints require a token with write access.

````