How to create cloud phones via CLI
Want to create a cloud phone without using GUI? Here's how you can do it!
Step 1: launch CLI
You need to launch CLI (either by launching the executable or via Terminal/Command prompt). Follow the article for more details: How to start working with CLI.
Step 2: log in to authenticate
In order to get your API token, you will need to first log in to your account via the login command.
- Paste this command:
xcli login --username yourusername --password yourpassword - Edit values for each flag

Step 3: type the command and flags
One thing is remaining – type a command, and you are all set.
- Type a command
xcli mobile-profiles-create - Add flags to the command. CLI recognizes them by
--. The required flags are:-
--phone-name: choose any title for your cloud phone. Don't forget to put it under quotation marks. E.g.,‘Multilogin profile’ -
--mobile-type: set the OS and its version for your profile. Don't forget to put it under quotation marks. E.g.,‘Android 12’ -
--proxy: add the full proxy string (including port, server, protocol, and password), for example:socks5://user:pass@host:portThis step mentions only mandatory flags. The latest chapter explains the other flags.
-
- Press Enter.
Your profile is ready!
List of flags for profile creation
General flags | |
h or --help
|
provides info about the command (which flags you can add to it) |
--mobile-type |
(required) OS and its version for your profile. Don't forget to put it under quotation marks. E.g., ‘Android 12’
|
|
networking type. 0 = Wi-Fi, 1 = Mobile (default 1) |
--phone-name |
phone device name (in Android settings) |
--profile-name |
(required) name of new cloud phone (in Multilogin interface) |
|
mobile phone number, automatically generated if empty |
|
profile note |
|
(required) sets the full proxy string, for example: socks5://user:pass@host:port
|
|
quantity of phones to create (1 by default) |
|
phone brand name |
|
phone model name |
|
sets tags (separated by commas) |
Global flags | |
-f, --folder string
|
folder to use ("Default folder" by default) |
Geolocation flags | |
--mobile-city |
city of the cloud phone |
--mobile-language |
language of the cloud phone |
--mobile-province |
province of the cloud phone |
--mobile-region |
region of the cloud phone |