calls embed api