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

# exportUnderwritingData

> Export all underwriting data as a ZIP file containing CSV files for applications, application events, and information requests. Returns a temporary download URL valid for 1 hour.

`Mutation`

## Arguments

No arguments.

## Return type

`ExportUnderwritingDataPayload!`

<ResponseField name="downloadUrl" type="String">
  Temporary URL to download the exported ZIP file, valid for 1 hour
</ResponseField>

<ResponseField name="errors" type="[Error!]">
  Errors that occurred during the mutation, if any. Null or empty indicates success.

  <Expandable title="child attributes">
    <ResponseField name="message" type="String!" required>
      A message describing the error.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```graphql Operation lines expandable theme={null}
  mutation ExportUnderwritingData {
    exportUnderwritingData {
      downloadUrl
      errors {
        message
      }
    }
  }
  ```

  ```bash cURL lines expandable theme={null}
  curl --request POST \
    --url https://api.sandbox.com/graphql \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
    --data '{
    "query": "mutation ExportUnderwritingData {\n  exportUnderwritingData {\n    downloadUrl\n    errors {\n      message\n    }\n  }\n}"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines expandable theme={null}
  {
    "data": {
      "exportUnderwritingData": {
        "downloadUrl": "example",
        "errors": [
          {
            "message": "example"
          }
        ]
      }
    }
  }
  ```
</ResponseExample>
