Renew token auth

Hello everyone.
I’m starting to probe Grafana Cloud and Synthetic Monitoring, and I have the next issue.
I have an endpoint that need a token to can make a query, but this token is not permanent, but else expire each 8 hours.
In my Grafana Cloud I don’t see any place where I can set this action to renew the token.
I read a bit the documentation about Synthetic Monitoring API but I can’t understand too much or even know if has some entrypoint where pass the new token to X service.