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

# Preview Draft

> Previews the latest content. Use to test changes prior to publishing them for live traffic. Rendered through the client zone API with the campaign preview sandbox, so it needs a client access token rather than a consumer one, and it renders against an anonymous profile rather than a named person.



## OpenAPI

````yaml /feature-specific-apis/experience.json get /v5/zones/embedded_experience
openapi: 3.1.0
info:
  title: Experience
  version: 1.0.0
  description: >-
    Operations published by Extole Experience components. Generated from the
    component contracts on my.extole.com.
servers:
  - description: Production - Extole API host
    url: https://api.extole.io
  - description: Production - your program domain
    url: https://{brand}.extole.io
    variables:
      brand:
        default: yourcompany
        description: >-
          Your Extole client subdomain (e.g. 'mycompany' for
          mycompany.extole.io)
security: []
paths:
  /v5/zones/embedded_experience:
    get:
      tags:
        - VIEW
      summary: Preview Draft
      description: >-
        Previews the latest content. Use to test changes prior to publishing
        them for live traffic. Rendered through the client zone API with the
        campaign preview sandbox, so it needs a client access token rather than
        a consumer one, and it renders against an anonymous profile rather than
        a named person.
      operationId: preview
      parameters:
        - name: sandbox
          in: query
          required: true
          schema:
            type: string
            const: CAMPAIGN_PREVIEW-{campaign_id}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                description: >-
                  The preview experience, which renders the draft of the zone in
                  the campaign preview sandbox.
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestExceptionResponse'
              examples:
                binding_error:
                  $ref: '#/components/examples/binding_error'
                invalid_json:
                  $ref: '#/components/examples/invalid_json'
                invalid_parameter:
                  $ref: '#/components/examples/invalid_parameter'
                missing_request_body:
                  $ref: '#/components/examples/missing_request_body'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestExceptionResponse'
              examples:
                access_denied:
                  $ref: '#/components/examples/access_denied'
                method_unauthorized:
                  $ref: '#/components/examples/method_unauthorized'
                missing_access_token:
                  $ref: '#/components/examples/missing_access_token'
      security:
        - HEADER: []
        - QUERY_PARAM: []
      servers:
        - description: Production - Extole API host
          url: https://api.extole.io
components:
  schemas:
    RestExceptionResponse:
      type: object
      description: Represents the API error response
      properties:
        code:
          type: string
          description: Specific error code for this error type, documented per endpoint
        http_status_code:
          type: integer
          description: >-
            HTTP status code that was returned with this error, useful if client
            get response code
        message:
          type: string
          description: User readable English description of the error
        parameters:
          type: object
          description: >-
            Attributes related to the error, varies be error code, documented
            per endpoint
          additionalProperties:
            type: object
            description: >-
              Attributes related to the error, varies be error code, documented
              per endpoint
        unique_id:
          type: string
          description: >-
            Unique id associated with this error, useful for discussions with
            Extole
      required:
        - code
        - http_status_code
        - message
        - parameters
        - unique_id
  examples:
    binding_error:
      summary: binding_error
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 400
        code: binding_error
        message: Argument is not of the expected type
        parameters: {}
    invalid_json:
      summary: invalid_json
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 400
        code: invalid_json
        message: JSON is invalid
        parameters: {}
    invalid_parameter:
      summary: invalid_parameter
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 400
        code: invalid_parameter
        message: Parameter is invalid.
        parameters: {}
    missing_request_body:
      summary: missing_request_body
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 400
        code: missing_request_body
        message: Missing request body
        parameters: {}
    access_denied:
      summary: access_denied
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 403
        code: access_denied
        message: >-
          The access_token provided is not permitted to access the specified
          resource.
        parameters: {}
    method_unauthorized:
      summary: method_unauthorized
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 403
        code: method_unauthorized
        message: Access forbidden to this endpoint
        parameters: {}
    missing_access_token:
      summary: missing_access_token
      value:
        unique_id: 00000000-0000-0000-0000-000000000000
        http_status_code: 403
        code: missing_access_token
        message: No access_token was provided with this request.
        parameters: {}
  securitySchemes:
    HEADER:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        A consumer access token, issued to a single person in the browser or
        app. Not a client access token - never send a client token from a
        consumer device.
      x-bearer-format: bearer
    QUERY_PARAM:
      type: apiKey
      in: query
      name: access_token
      description: >-
        A consumer access token, issued to a single person in the browser or
        app. Not a client access token - never send a client token from a
        consumer device.

````

## Related topics

- [Preview Draft](/api-reference/feature-specific/page-creative/view/preview-draft.md)
- [Creating a Program](/guides/platform-overview/creating-a-program.md)
- [Using Extole's Campaign Editor](/guides/programs-and-campaigns/campaign-creation-and-editing/using-extole-s-campaign-editor.md)
- [BigCommerce](/technical/partners/ecommerce/bigcommerce.md)
- [Making Updates to your Campaigns](/guides/programs-and-campaigns/managing-campaigns/making-updates-to-your-campaigns.md)
