Skip to main content

ExportAPI

MethodHTTPDescription
ExportMyProfileDataGET /export/my/profile-dataProfile JSON export
ExportMyActivityDataGET /export/my/activity-dataActivity history JSON export
profileExport, _, err := client.ExportAPI.ExportMyProfileData(ctx).Execute()
activityExport, _, err := client.ExportAPI.ExportMyActivityData(ctx).Execute()

profileJSON, err := json.MarshalIndent(profileExport, "", " ")
activityJSON, err := json.MarshalIndent(activityExport, "", " ")

Profile export includes account and extended profile data. Activity export contains the user's activity collection plus export metadata.