Programmatically Annotate PDF documents using a REST API on the cloud in PHP with Document Annotation Cloud SDK for PHP. Add multiple annotations using PHP.... Next, set annotation properties e.g., position, type, text...AnnotateApi . Next, set annotation properties e.g., position, text, etc...