Login

Following registration, users must log in using the same method as their initial sign-up, providing the returned token to gain access to Mimi.

Login with Google

Request

GET /v1/oauth/status?LocalToken=v4.local.9r7*****cdkd6yGJ&AuthenType=5 HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: mml

Parameter

Key
Type
Description

AuthenType *required

Int

The AuthenType used to indicate the type of authentication being used.

Redirect *required

String

body parameter is used to specify the redirect URL after authentication.

Login With Email

Request

POST /v1/auth/token HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: xapp
shard: 1
Content-Length: 137

{
	"Code":"229811",
	"UserID": "64daee9b5125b0c32fb01fa5",
	"Email":"[email protected]",
	"AuthenType":1,
        "IsRotateToken": true
}

Parameter

Key
Type
Description

AuthenType *required

Int

The AuthenType used to indicate the type of authentication being used.

Email *required

String

Email is register

Code *required

String

The Code parameter is a body parameter used for passing the authentication code for verification.

Login With Apple ID

Request

GET /v1/oauth/status?AuthenType=8&LocalToken=v4.local.9r7******cdkd6yGJ HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: mml

Additionally, Mimiland offers a guest mode that allows users to try out its features without needing third-party account authentication.

Login As Guest

POST /v1/auth/token HTTP/1.1
Host: dev.api.mimiland.io
Content-Type: application/json
mm-client-id: day
Content-Length: 85

{
	"UserID":"653263627f60e4b804d97d04",
	"AuthenType":7,
        "IsRotateToken": false
}

Last updated