sending an API command on broadcast