đź“„ How to use the API to retrieve a CSV response

How to use the API to retrieve a CSV response

Use this article when you need to download the CSV variant of the export or call the .csv route with the same auth headers.

Before you start

  • Open Event registration sharing while signed in to your Climb account.
  • Decide on a secure folder path for large attendee dumps before running automation.

Who can do this

Same credential and administrator requirements as the JSON export.

Steps

  1. Authenticate exactly as you would for JSON—the only change is the path suffix .csv.
  2. Run GET <base>/api/event/detail-sharing/v1/registrations.csv with the same optional query parameters.
  3. Save the body to disk using your client’s -o flag or binary-safe write path.
  4. Open the file in a spreadsheet program only inside compliant environments.

Check the result

  • The saved file opens as CSV with the expected columns.
  • Antivirus or DLP tools did not strip attachment contents—re-run if quarantined.

If something does not work

  • If Excel mangles UTF-8 characters, import via “From text/CSV” with Unicode selected.
  • If the download is tiny, verify you did not append a typo such as .csv.csv.

Notes

curl -sS -o registrations.csv "BASE/api/event/detail-sharing/v1/registrations.csv?state=open,done" \
  -H "Authorization: Bearer ACCESS_TOKEN"