This page describes how to programatically add or remove annotations from the Annotations XML File stored by the Custom Search server - developers.google.com ![]()
Send an authenticated POST request with the annotations XML in the message body to the following URL:
http://cse.google.com/api/<USER_ID>/annotations/<CSE_ID>
Note: Custom Search has a file size limit for annotations. To learn more about the limits, see the Annotations: Selecting Sites page.
You end only the annotations that you want to add or remove from the search engines. To modify an existing annotation, you can remove the annotation and add the modified version in the same message.
Because Custom Search combines all the annotations for all search engines associated with your account into a single XML annotations file, you can add and remove annotations for multiple search engines in a single message.
# See also - Custom Search API - Programatically Create Custom Search Engine