embed api demo