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

# Unarchive a broadcast.

> The broadcast's status becomes Sent if it sent any emails, and Draft otherwise.
Unarchiving never resumes sending.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/email/campaigns/broadcasts/{broadcastCampaignUid}/unarchive
openapi: 3.0.0
info:
  title: Outseta API
  description: >-
    Outseta REST API. See the [API
    overview](https://docs.outseta.com/api-reference/overview) for
    authentication, field selection, pagination, filtering, errors, rate limits
    and webhooks.
  version: v1
servers:
  - url: https://{subdomain}.outseta.com
    description: Your Outseta account
    variables:
      subdomain:
        default: your-subdomain
        description: >-
          Your Outseta account subdomain — the part before ".outseta.com" in
          your admin URL.
security: []
paths:
  /api/v1/email/campaigns/broadcasts/{broadcastCampaignUid}/unarchive:
    post:
      tags:
        - Email
      summary: Unarchive a broadcast.
      description: >-
        The broadcast's status becomes Sent if it sent any emails, and Draft
        otherwise.

        Unarchiving never resumes sending.
      operationId: Campaign_UnarchiveBroadcastCampaign
      parameters:
        - name: broadcastCampaignUid
          in: path
          required: true
          schema:
            type: string
            nullable: true
          x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                example:
                  Uid: string
                  _objectType: string
                  Created: string
                  Updated: string
                  ActivityEventData: {}
                  SendDateTime: string
                  NextRunDateTime: string
                  Campaign:
                    Uid: string
                    _objectType: string
                    Created: string
                    Updated: string
                    ActivityEventData: {}
                    Name: string
                    FromName: string
                    FromEmail: string
                    CampaignType: 1
                  Message:
                    Uid: string
                    _objectType: string
                    Created: string
                    Updated: string
                    ActivityEventData: {}
                    Template: {}
                    Name: string
                    Subject: string
                    PreviewText: string
                    Body: string
                    Design: string
                    CountSent: 0
                    CountDelivered: 0
                    CountBounce: 0
                    CountSpam: 0
                    CountOpen: 0
                    CountClick: 0
                    CountUnsubscribed: 0
                    CountTotalOpen: 0
                    CountTotalClick: 0
                    IgnoredSpamBounce: 0
                    IsBounceRatePaused: false
                    IsSpamScorePaused: false
                    EmailLinks: []
                    SpamAssassinScore: 0
                    SpamStatus: 0
                  RecipientData: string
                  EmailListUids:
                    - string
                  SegmentUids:
                    - string
                  TemplateUid: string
                  Status: 1
                  ErrorMessage: string
                  Tags:
                    - Uid: string
                      _objectType: string
                      Created: string
                      Updated: string
                      ActivityEventData: {}
                      Name: string
                      SystemName: string
                      SystemDescription: string
                      TagColor: 1
                      EntityType: 0
                title: BroadcastCampaign
                type: object
                properties:
                  Uid:
                    type: string
                    maxLength: 10
                    nullable: true
                  _objectType:
                    type: string
                    nullable: true
                  Created:
                    type: string
                    readOnly: true
                    format: date-time
                    minLength: 1
                  Updated:
                    type: string
                    readOnly: true
                    format: date-time
                    minLength: 1
                  ActivityEventData:
                    nullable: true
                  SendDateTime:
                    type: string
                    format: date-time
                    nullable: true
                  NextRunDateTime:
                    type: string
                    format: date-time
                    nullable: true
                  Campaign:
                    nullable: true
                    oneOf:
                      - $ref: '#/components/schemas/Campaign'
                  Message:
                    nullable: true
                    oneOf:
                      - title: Message
                        type: object
                        properties:
                          Uid:
                            type: string
                            maxLength: 10
                            nullable: true
                          _objectType:
                            type: string
                            nullable: true
                          Created:
                            type: string
                            readOnly: true
                            format: date-time
                            minLength: 1
                          Updated:
                            type: string
                            readOnly: true
                            format: date-time
                            minLength: 1
                          ActivityEventData:
                            nullable: true
                          Template:
                            nullable: true
                            oneOf:
                              - type: object
                                title: Template
                                description: >-
                                  Related Template. Not included by default;
                                  request its fields with the fields parameter,
                                  e.g. fields=*,Message.Template.*
                          Name:
                            type: string
                            maxLength: 250
                            minLength: 1
                          Subject:
                            type: string
                            maxLength: 250
                            nullable: true
                          PreviewText:
                            type: string
                            maxLength: 250
                            nullable: true
                          Body:
                            type: string
                            nullable: true
                          Design:
                            type: string
                            nullable: true
                          CountSent:
                            type: integer
                            format: int32
                          CountDelivered:
                            type: integer
                            format: int32
                          CountBounce:
                            type: integer
                            format: int32
                          CountSpam:
                            type: integer
                            format: int32
                          CountOpen:
                            type: integer
                            format: int32
                          CountClick:
                            type: integer
                            format: int32
                          CountUnsubscribed:
                            type: integer
                            format: int32
                          CountTotalOpen:
                            type: integer
                            format: int32
                          CountTotalClick:
                            type: integer
                            format: int32
                          IgnoredSpamBounce:
                            type: integer
                            format: int32
                          IsBounceRatePaused:
                            type: boolean
                          IsSpamScorePaused:
                            type: boolean
                          EmailLinks:
                            type: array
                            nullable: true
                            items:
                              $ref: '#/components/schemas/EmailLink'
                          SpamAssassinScore:
                            type: number
                            format: decimal
                          SpamStatus:
                            $ref: '#/components/schemas/SpamStatus'
                        required:
                          - Id
                          - Created
                          - CreatedByUser_Id
                          - Updated
                          - UpdatedByUser_Id
                          - Qcount_Id
                          - Name
                  RecipientData:
                    type: string
                    nullable: true
                  EmailListUids:
                    type: array
                    nullable: true
                    items:
                      type: string
                  SegmentUids:
                    type: array
                    nullable: true
                    items:
                      type: string
                  TemplateUid:
                    type: string
                    nullable: true
                  Status:
                    $ref: '#/components/schemas/BroadcastCampaignStatus'
                  ErrorMessage:
                    type: string
                    maxLength: 500
                    nullable: true
                  Tags:
                    type: array
                    nullable: true
                    items:
                      $ref: '#/components/schemas/Tag'
                required:
                  - Id
                  - Created
                  - CreatedByUser_Id
                  - Updated
                  - UpdatedByUser_Id
                  - Qcount_Id
        '400':
          description: Invalid Uid format
        '401':
          description: Unauthorized
        '404':
          description: BroadcastCampaign not found
      security:
        - Bearer: []
        - ApiKey: []
components:
  schemas:
    Campaign:
      allOf:
        - $ref: '#/components/schemas/AbstractQcountBean'
        - type: object
          additionalProperties: false
          required:
            - Name
          properties:
            Name:
              type: string
              maxLength: 250
              minLength: 1
            FromName:
              type: string
              maxLength: 250
              nullable: true
            FromEmail:
              title: From Email
              type: string
              maxLength: 250
              nullable: true
            CampaignType:
              maximum: 2
              minimum: 1
              oneOf:
                - $ref: '#/components/schemas/CampaignType'
    EmailLink:
      allOf:
        - $ref: '#/components/schemas/AbstractQcountBean'
        - type: object
          additionalProperties: false
          properties:
            Name:
              type: string
              nullable: true
            URL:
              type: string
              nullable: true
            CountClick:
              type: integer
              format: int32
            CountTotalClick:
              type: integer
              format: int32
            RecipientIds:
              type: array
              nullable: true
              items:
                type: integer
                format: int64
    SpamStatus:
      type: integer
      description: >-
        `0` - Draft, `1` - Pending, `2` - Processing, `3` - Reprocessing, `4` -
        Spam, `5` - NotSpam, `6` - Ignored
      x-enumNames:
        - Draft
        - Pending
        - Processing
        - Reprocessing
        - Spam
        - NotSpam
        - Ignored
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
    BroadcastCampaignStatus:
      type: integer
      description: >-
        `1` - Draft, `2` - Pending, `3` - Sent, `4` - Queuing, `5` - Queued, `6`
        - Sending, `7` - Error, `8` - WaitingToResume, `9` - QueuedEmails, `10`
        - Archived
      x-enumNames:
        - Draft
        - Pending
        - Sent
        - Queuing
        - Queued
        - Sending
        - Error
        - WaitingToResume
        - QueuedEmails
        - Archived
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
    Tag:
      example:
        Uid: string
        _objectType: string
        Created: string
        Updated: string
        ActivityEventData: {}
        Name: string
        SystemName: string
        SystemDescription: string
        TagColor: 1
        EntityType: 0
      allOf:
        - $ref: '#/components/schemas/AbstractQcountBean'
        - type: object
          additionalProperties: false
          required:
            - Name
          properties:
            Name:
              type: string
              maxLength: 50
              minLength: 1
            SystemName:
              type: string
              maxLength: 50
              nullable: true
            SystemDescription:
              type: string
              maxLength: 500
              nullable: true
            TagColor:
              $ref: '#/components/schemas/TagColor'
            EntityType:
              $ref: '#/components/schemas/EntityType'
    AbstractQcountBean:
      allOf:
        - $ref: '#/components/schemas/AbstractBean'
        - type: object
          additionalProperties: false
          required:
            - Qcount_Id
          properties:
            ActivityEventData:
              nullable: true
    CampaignType:
      type: integer
      description: '`1` - Broadcast, `2` - Drip'
      x-enumNames:
        - Broadcast
        - Drip
      x-enum-descriptions:
        - ''
        - ''
      enum:
        - 1
        - 2
    TagColor:
      type: integer
      description: >-
        `1` - Red, `2` - Orange, `3` - Amber, `4` - Green, `5` - Teal, `6` -
        Blue, `7` - Indigo, `8` - Purple, `9` - Pink, `10` - Gray
      x-enumNames:
        - Red
        - Orange
        - Amber
        - Green
        - Teal
        - Blue
        - Indigo
        - Purple
        - Pink
        - Gray
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
    EntityType:
      type: integer
      description: >-
        `0` - None, `1` - Account, `2` - Person, `3` - Deal, `4` - Case, `5` -
        Invoice, `6` - EmailLog, `7` - Plan, `8` - DiscountCoupon, `9` - AddOn,
        `10` - Task, `11` - Segment, `12` - Broadcast, `13` - Article, `14` -
        Template
      x-enumNames:
        - None
        - Account
        - Person
        - Deal
        - Case
        - Invoice
        - EmailLog
        - Plan
        - DiscountCoupon
        - AddOn
        - Task
        - Segment
        - Broadcast
        - Article
        - Template
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
        - 13
        - 14
    AbstractBean:
      type: object
      x-abstract: true
      additionalProperties: false
      required:
        - Id
        - Created
        - CreatedByUser_Id
        - Updated
        - UpdatedByUser_Id
      properties:
        Uid:
          type: string
          maxLength: 10
          nullable: true
        _objectType:
          type: string
          nullable: true
        Created:
          type: string
          readOnly: true
          format: date-time
          minLength: 1
        Updated:
          type: string
          readOnly: true
          format: date-time
          minLength: 1
  securitySchemes:
    Bearer:
      type: http
      description: Enter your access token (OAuth / JWT).
      scheme: bearer
      bearerFormat: JWT
    ApiKey:
      type: apiKey
      description: 'Enter: Outseta {api_key}:{api_secret}'
      name: Authorization
      in: header

````

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