Download Files using API

HI ,

I tried Get/file/ID/download but i am not able to download files. Still data exists at that ID which is i am sending to get file.

my code block is

client = new RestClient(“https://api.pipedrive.com/v1/file/” + id + “/download?api_token=” + token);

                            client.Timeout = -1;

                            request = new RestRequest(Method.GET);

                            request.AlwaysMultipartFormData = true;

                            response = client.Execute(request);

Response status is false…

Please help me

Thanks In advance

Reply

its resolved … my mistake is i am using file inside of files…

thanks

1 Like