Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
API Reference › OAuth

Refresh Access Token

POST/oauth/token

Get a new access token with a refresh token. Tokens rotate: the old access and refresh tokens stop working, so store the new pair.

Authorization and token management. These follow the OAuth 2.0 spec and answer in plain OAuth JSON (no success/data envelope). Errors use the standard error and error_description fields.

Usage

curl -X POST "https://api.lifebots.cloud/api/v1/oauth/token" \
  --data-urlencode "grant_type=refresh_token" \
  --data-urlencode "client_id=your_client_id" \
  --data-urlencode "client_secret=your_client_secret" \
  --data-urlencode "refresh_token=lb_rt_…"

Path parameters

None.

Body (application/x-www-form-urlencoded)

NameTypeRequiredDescription
grant_typestringyesrefresh_token
client_idstringyesYour client_id.
client_secretstringnoRequired for confidential apps.
refresh_tokenstringyesThe current refresh token.

Example response

{
  "access_token": "lb_at_…",
  "refresh_token": "lb_rt_…",
  "token_type": "Bearer",
  "scope": "read:profile bots:chat",
  "expires_in": 3600
}
Lifebots symbol
Lifebots.cloud

Empowering Second Life experiences with intelligent bot automation and seamless group management solutions.

Product
Support
Company
Visit Us

© 2025 - 2026 LifeBots. Made with ❤️. All rights reserved.

LifeBots is not affiliated with Linden Research, Inc., or any of its affiliated entities or products, including, without limitation, Second Life (collectively, “Linden Lab”).

Initializing A New World of Second Life Bots...