refresh_oauth_token
Obtain a new OAuth bearer token via client-credentials grant. Force refresh after a 401 unauthorized response to restore API access.
Instructions
Fetch a fresh OAuth bearer token from /oauth/token (client-credentials grant).
Requires GOCANVAS_CLIENT_ID and GOCANVAS_CLIENT_SECRET to be configured. The token is cached and used automatically for subsequent API calls; call this to force a refresh (e.g. after a 401). Returns token metadata with the access token masked for safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||