Added
Token Refresh Endpoint
20 days ago by Root Insurance
We’ve added a new Auth endpoint to refresh an existing agency-scoped bearer token without requiring you to rediscover your token lookup parameters.
What's Changed
We've introduced a new 'Refresh token' Authentication endpoint that lets you extend the expiry of an agency-scoped bearer token — whether it's active or already expired — without your original token generation parameters. Like Create token, this endpoint authenticates with your integration secret key (Authorization: Bearer isk_...) and returns the same response shape, so integration is straightforward.
Example
Request
{
"token": "ey...expired token..."
}
Response
{
"bearerToken": "eyJ...refreshed token....",
"tokenPayload": {
"ref": "1dY5GaUHJ9S6LKcegkJWpFpY",
"iat": 1771603691,
"exp": 1771646891,
"agentId": "f74b8a78-8b7c-4dc0-90f0-b025c8bc010b"
}
}