Skip to main content
Version: 1.4.0

User Account Connect overview

User Account Connect is an API to integrate the user's DOSI account with partner services in compliance with OAuth 2.0 Flow. The User Account Connect API enables DOSI users to use partner services like games.

Connection info

Development environmentAPI base URIAuthorization endpoint
Productionhttps://api.dosi.worldhttps://members.dosi.world

Response model

User Account Connect uses HTTP status codes and API response codes to inform the request results.

HTTP status codes

The following table describes general status codes.

HTTP status codeDescription
200 OKSuccessful request
400 Bad requestBad request
401 UnauthorizedFailed to authorize
500 Internal Server ErrorServer error

Error messages

More detailed error messages for each HTTP status code are returned in the response body in the following format.

{
"responseCode": "<code>",
"errorMessage": "<message>"
}

Refer to the table below for details of responseCode.

errorMessage is included in the API result.

HTTP status codeAPI response codeDescription
400BAD_REQUESTReceived an invalid argument.
401NO_AUTHORITY
500AUTH_API_UNKNOWNUnknown error occurred in the internal authorization server.
500AUTH_API_SERVER_ERROR
500FAILED_TO_LOGOUT
500INVALID_CHAIN_NAMEProvided another value instead of ‘realnet’ for chainName for the Get digital item list with an access token API.
500NOT_FOUNDNo contractId or tokenType provided for the Get digital item list with an access token API.
500NOT_FOUND_MEMBERCan't find the user.
503MAINTENANCECan't process requests due to maintenance.