Fetch a document API

Please read :-

and

if you are still having trouble after reading those, feel free to reply to this post.