api for device do not need appid