Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Skip to main content

Export card data

You can export the card data available on the Dashboard, either from your Dashboard or with the API. Review the next steps to understand what happens after finalizing your export.

Dashboard​

  1. On your Dashboard, go to Data > Cards.
  2. Click the download icon to trigger a .csv export.
  3. A modal appears. Click Export data to finalize the request.

Screenshot of Swan Dashboard cards page with a callout download icon to trigger an export

API​

  1. Call the exportCardData mutation.
  2. Add your email. A link to download the .csv export is sent to the email address you provide.
  3. Add the success payload and rejections.

Mutation​

Open in API Explorer
mutation ExportCards {
exportCardData(
input: {
email: "$YOUR_EMAIL_ADDRESS"
filters: { types: Virtual, statuses: Enabled }
}
) {
... on ExportDataSuccessPayload {
__typename
exportId
}
... on MaximumSimultaneousExportsRejection {
__typename
message
}
... on MaximumDailyExportsReachedRejection {
__typename
message
}
}
}

Payload​

The payload returns the export ID.

{
"data": {
"exportCardData": {
"__typename": "ExportDataSuccessPayload",
"exportId": "$EXPORT_ID"
}
}
}

Next steps​

After you finalize your export, whether from your Dashboard or using the API, a link to download the export is sent to you by email. You must be logged in to download the .csv export file.

Download links are valid for seven days, after which you need to generate a new export.

Sharing the download link

If you forward someone the email with the download link, they can only use it if they also have access to the Dashboard. Otherwise, an error occurs.

Instead, consider downloading the document and sending it to them.