# Data Export CSV

> This is a subset of the full specification, limited to the `data_export_csv` schema.
>
> You can find the full specification here: /_bundle/docs/references/@2.12/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.12'
  description: This is a subset of the full specification, limited to the `data_export_csv` schema.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
paths: {}
components:
  schemas:
    data_export_csv:
      title: Data Export CSV
      type: object
      description: A CSV output file
      properties:
        user_id:
          type: string
          description: The user_id of the user who was sent the message.
        user_external_id:
          type: string
          description: The external_user_id of the user who was sent the message
        company_id:
          type: string
          description: The company ID of the user in relation to the message that was sent. Will return -1 if no company is present.
        email:
          type: string
          description: The users email who was sent the message.
        name:
          type: string
          description: The full name of the user receiving the message
        ruleset_id:
          type: string
          description: The id of the message.
        content_id:
          type: string
          description: The specific content that was received. In an A/B test each version has its own Content ID.
        content_type:
          type: string
          description: Email, Chat, Post etc.
        content_title:
          type: string
          description: The title of the content you see in your Intercom workspace.
        ruleset_version_id:
          type: string
          description: As you edit content we record new versions. This ID can help you determine which version of a piece of content that was received.
        receipt_id:
          type: string
          description: ID for this receipt. Will be included with any related stats in other files to identify this specific delivery of a message.
        received_at:
          type: integer
          description: Timestamp for when the receipt was recorded.
        series_id:
          type: string
          description: The id of the series that this content is part of. Will return -1 if not part of a series.
        series_title:
          type: string
          description: The title of the series that this content is part of.
        node_id:
          type: string
          description: The id of the series node that this ruleset is associated with. Each block in a series has a corresponding node_id.
        first_reply:
          type: integer
          description: The first time a user replied to this message if the content was able to receive replies. Only events within the export job's requested date range are counted.
        first_completion:
          type: integer
          description: The first time a user completed this message if the content was able to be completed e.g. Tours, Surveys. Only events within the export job's requested date range are counted.
        first_series_completion:
          type: integer
          description: The first time the series this message was a part of was completed by the user. Only events within the export job's requested date range are counted.
        first_series_disengagement:
          type: integer
          description: The first time the series this message was a part of was disengaged by the user. Only events within the export job's requested date range are counted.
        first_series_exit:
          type: integer
          description: The first time the series this message was a part of was exited by the user. Only events within the export job's requested date range are counted.
        first_goal_success:
          type: integer
          description: The first time the user met this messages associated goal if one exists. Only events within the export job's requested date range are counted.
        first_open:
          type: integer
          description: The first time the user opened this message. Only events within the export job's requested date range are counted.
        first_click:
          type: integer
          description: The first time the series the user clicked on a link within this message. Only events within the export job's requested date range are counted.
        first_dismisall:
          type: integer
          description: The first time the series the user dismissed this message. Only events within the export job's requested date range are counted.
        first_unsubscribe:
          type: integer
          description: The first time the user unsubscribed from this message. Only events within the export job's requested date range are counted.
        first_hard_bounce:
          type: integer
          description: The first time this message hard bounced for this user. Only events within the export job's requested date range are counted.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
