# Download exported data

You can return all data from the specifc file by using its name. The name of a file might be returned in response to started export or from the list of exported data.

GET /api/public/exports/:file_name/download/

Attributes Type Required Description
file_name string yes Whole name of the exported file with its extension.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/exports/:file_name/download/"

# Response

first_name,last_name,email,gender,status,assigned_to,companies,user_id,deals,phone_number,last_ip,last_contacted,hostname,referrer,url,timezone,city,country,unsubscribed,browser_language,score,browser,os_type,resolution,tags,facebook_url,linkedin_url,twitter_url,google_url,custom_attribute_1,custom_attribute_2
John,Doe,myemail@example.org,1,1,2,,my_id,,48123456789,11.22.11.22,2016-08-22T13:03:12.198898Z,myhostname.com,https://google.com,https://example.org,Europe/Warsaw,New York,United States,TRUE,en,2342,Firefox,Windows,1903x693,those|are|four|tags,http://facebook.com,http://linkedin.com,http://twitter.com,http://google.com,value as a string,"\""this value will be also a string, to change data type of custom attributes - you need to first create them via User.com dashboard.\"""