send a user agent to the api