Skip to content

docs: clarify CSV export download token expiry and auth headers#1282

Open
mintlify[bot] wants to merge 1 commit into
masterfrom
mintlify/f8e00ba4
Open

docs: clarify CSV export download token expiry and auth headers#1282
mintlify[bot] wants to merge 1 commit into
masterfrom
mintlify/f8e00ba4

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Clarify that the CSV export download URL requires authentication headers in addition to its embedded token, and that the token is short-lived — a recurring source of 401 Unauthorized confusion.

Changes

  • guides/csv-export.mdx: added a callout under the download step covering region-specific base URLs, the requirement to send X-App-Id / X-App-Token alongside the token query parameter, and the short-lived nature of the token (re-fetch via Get Export if 401).
  • openapi/exports.json: mirrored the same notes into the Download Export endpoint description so readers hitting the API reference see them too.

Context

Assistant signal showed multiple threads where users obtained a valid result.url from Get Export but then hit 401 Unauthorized on download — either because they sent only the token without auth headers, or because the token expired between Get Export and download. The existing guide mentioned "use the provided URL together with authentication headers" without explaining either pitfall.

@mintlify

mintlify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
voucherify 🟢 Ready View Preview Jun 8, 2026, 7:12 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants