Public API key from app returns 401 Unauthorized

Update: Potro’s command worked exactly as posted. The API token is valid, and I was wrong in my previous reply to insist the request was equivalent and that this was a server-side token issue. I also successfully added the Rachio integration to Home Assistant, and it discovered the controller and entities correctly. Thanks for the help, and sorry for the incorrect pushback.