How can I get my data out of iCloud without the password?

Help me pls

Hello my exboyfriend buy me an iPhone and he put all his date in iCloud so I try to reset and I lost all and know my phone is not working I try to recuperate the id but I things he block it . Please I need the phone I have videos and more . What should I do ?? I have the imei I try and try and nothing
Re: Help me pls

Welcome to iMore!

Unfortunately you will need the Apple ID and password for your phone. Only way to be able to access them.

Original thread: https://forums.imore.com/threads/how-can-i-get-my-data-out-of-icloud-without-the-password.359755/