Session

Create and manage OAuth 2.0 Tokens

get
Query parameters
response_typestringRequiredDefault: code
client_idstringRequired
redirect_uristringRequired
scopestringRequired
statestring | nullableOptional
realmstring | nullableOptional
Responses
200
Success
application/json
Responsestring · binary
get
GET /api/Session/OAuthRegister HTTP/1.1
Host: api.fuse.work
Accept: */*
binary
post
Body
grant_typestring · min: 1RequiredDefault: authorization_code
codestring · min: 1Required
client_idstring · min: 1Required
client_secretstring · min: 1Required
redirect_uristring · min: 1Required
Responses
200
Success
application/json
post
POST /api/Session/OAuthGetToken HTTP/1.1
Host: api.fuse.work
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 113

"grant_type='authorization_code'&code='text'&client_id='text'&client_secret='text'&redirect_uri='text'"
{
  "token_type": "text",
  "access_token": "text",
  "refresh_token": "text",
  "expires_in": "2025-07-06T00:18:52.882Z",
  "refresh_token_expires_in": "2025-07-06T00:18:52.882Z",
  "default_tenant_id": "text"
}
post
Body
grant_typestring · min: 1RequiredDefault: refresh_token
refresh_tokenstring · min: 1Required
client_idstring · min: 1Required
client_secretstring · min: 1Required
Responses
200
Success
application/json
post
POST /api/Session/OAuthRefreshToken HTTP/1.1
Host: api.fuse.work
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 95

"grant_type='refresh_token'&refresh_token='text'&client_id='text'&client_secret='text'"
{
  "token_type": "text",
  "access_token": "text",
  "refresh_token": "text",
  "expires_in": "2025-07-06T00:18:52.882Z",
  "refresh_token_expires_in": "2025-07-06T00:18:52.882Z",
  "default_tenant_id": "text"
}
post
Body
client_idstring · min: 1Required
refresh_tokenstring · min: 1Required
Responses
200
Success
application/json
Responsestring · binary
post
POST /api/Session/OAuthTokenRevoke HTTP/1.1
Host: api.fuse.work
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 43

"client_id='text'&refresh_token='text'"
binary

Last updated