Log in to pCloud Account
IMPORTANT: short public links are insecure.They can be guessed and/or enumerated. Regular (and long) links are secure, they are next to impossible to guess or crack. It is advised that applications do not work only with short links, but ask user's preference when possible. Of course when the link is being generated especially for "writing down" or "sending in SMS", short link may be the best choice. In any case remember that the act of generating short link is insecure, so even if the long link is used, the short one still can be guessed.
IMPORTANT: generating public links requires verified email address.Error number 2014 should be expected and reported without unnecessary pointing out the fact that this is erroneous condition. Instead implementations are expected to ask the user if she/he is willing to confirm the email address (showing the address is a good idea), call sendverificationemail method and advise the user to check his email box, click the link and retry the operation that failed with 2014 error.
IMPORTANT: public link can be generated only for files/folders owned by the user.Implementations are advised to look out for the ismine metadata field of an object before requesting a public link or (preferably and) to expect 2026 error. In this case copyfile can be used to create a copy that can be shared.
IMPORTANT: look out for 7xxx errors.