Skip to content

Local API (1.0.0)

The MoreLogin API offers a comprehensive and developer-friendly RESTful interface that empowers you to programmatically manage browser profiles, cloud phones, and related resources—enabling seamless automation, scalability, and control.The MoreLogin local API runs on your machine and is accessible at:127.0.0.1:40000

Download OpenAPI description
Languages
Servers
Mock server
https://guide.morelogin.com/_mock/api-reference/local-api/local-api
Morelogin Local endponint
http://127.0.0.1:40000
Operations

Request

Used to retrieve information of all monitors. No request parameters required.

Bodyapplication/json
object
curl -i -X POST \
  https://guide.morelogin.com/_mock/api-reference/local-api/local-api/api/env/getAllScreen \
  -H 'Content-Type: application/json'

Responses

Bodyapplication/json
codeinteger
msgnull
dataArray of objects
Response
application/json
{ "code": 0, "msg": null, "data": [ { … } ] }

One-click adaptive window arrangement

Request

Used to arrange opened profiles with one click. Requires at least one profile to be open.

Bodyapplication/jsonrequired
arrangeTypeinteger

Arrangement type: 1 for Tiled, 2 for Stacked, defaults to Tiled if not specified

envIdsArray of strings

Environment IDs, if not specified, all environment windows are selected by default

screenIdsArray of integers

Screen IDs, array type, if not specified, arrange on the screen where the mouse cursor is located

curl -i -X POST \
  https://guide.morelogin.com/_mock/api-reference/local-api/local-api/api/env/arrangeWindows \
  -H 'Content-Type: application/json'

Responses

Bodyapplication/json
arrangeTypeinteger
envIdsArray of strings

Environment ID

screenIdsArray of integers

Sequence ID

Response
application/json
{ "arrangeType": 2, "envIds": [ "2014664375044337664" ], "screenIds": [ 2528732444 ] }

Request

Used to batch modify the group information of profiles. Creates a new group if the group name does not exist.

Bodyapplication/jsonrequired
envIdsArray of strings
groupNamestringrequired

Group name, string type, required

uniqueIdsArray of strings

Serial IDs, array type, must choose one between this and environment IDs

curl -i -X POST \
  https://guide.morelogin.com/_mock/api-reference/local-api/local-api/api/env/setGroup/batch \
  -H 'Content-Type: application/json'

Responses

Bodyapplication/json
codeinteger
msgnull
databoolean
requestIdstringrequired
Response
application/json
{ "code": 0, "msg": null, "data": true, "requestId": "a416bb98f6d240c3bb79e7b2cf6e7ad4" }
Operations
Operations
Operations
Operations
Operations
Operations
Operations