api call to write tag