Save pdf with annotations on server

Hi,

We want to save PDF with annotations on our server using API. Please provide documentation or code for save the PDF file.

Thanks.