Using GroupMe’s API To Bulk Add People

I’m updating GroupMe-Multi-Add (originally written by Y.H.) to accommodate for changes within GroupMe’s public facing UI, as well as make it more intuitive to use for less tech-oriented people.

Changes Made:

  1. GroupMe’s UI now makes it impossible to find the group_id of a chat without using the API. Consequently, I auto-grab the correct GroupMe group_id using the name of the group and calls to the API instead.
  2. Got rid of global variables and implemented a terminal prompting system, which lessens the likelihood of human error.
  3. The script is now written in Python 3.


GroupMe-Multi-Add-v2.0 bulk adds a list of members by phone number from a .csv file to a GroupMe group.


  1. Install Homebrew if you haven’t already. Run the following command in the terminal:
    /usr/bin/ruby -e "$(curl -fsSL"
  2. Install wget:
    brew install wget
  3. Download the Miniconda installer. Miniconda is a lightweight python environment, which automatically includes python 3:
  4. Run the Miniconda installer:
  5. Delete the Miniconda installer:
    rm ~/
  6. Edit PATH variable and store it:
    echo export PATH='~/miniconda3/bin:$PATH' >> ~/.profile
  7. Activate the changes:
    source ~/.profile
  8. Install python environment:
    conda install anaconda
  9. Update python packages:
    conda update --all
  10. In your terminal, run git clone in the directory you would like to keep the script in.


  1. Create a csv file that contains a single column of phone numbers (as shown below). Save it in the same directory that the python file is in.
  2. Get an access token by creating a GroupMe account (skip if you already have one). Next, sign into the developer’s portal. Once you’re logged in, you should be able to see the “Access Token” button located at the top right of the navigation menu (to the left of your account name). Copy the token.
  3. Finally, in your terminal, cd to the directory containing your .csv file and python script. Then type python and press Enter. Follow all the prompts.
  4. Congratulations, you’ve just added your entire roster to your GroupMe group.

Sources Used:

GroupMe API

You Might Also Like

1 Comment

  • Reply
    Pat Holmes
    November 9, 2019 at 9:45 am

    Do you have a version that includes the person’s name? The example .csv *ONLY* has phone numbers. That will be inadequate for our purposes I think, because we need to know the person’s name in our Group.

  • Leave a Reply