API which has a send function that takes data and sensor ontology code as parameters