OAuth Tokens

Create a new OAuth Token

post/api/mcp-oauth-tokens

Request

  • Base URL: https://hellosafe.com
  • URL: https://hellosafe.com/api/mcp-oauth-tokens
  • Auth: OAuth 2 (password, token URL /api//openapi-auth)

Query parameters

depthnumber
localestring

Request body

labelstring nullable

Client name at grant time.

accessTokenHashstring required
refreshTokenHashstring required
clientstring required

ID of the mcp-oauth-clients

userstring required

ID of the users

scopestring nullable
familyIdstring required

Rotation family: refresh-token reuse revokes every token in the family.

accessExpiresAtstring required
refreshExpiresAtstring required
revokedAtstring nullable
lastUsedAtstring nullable

Response

OAuth Token object

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.