url = "{}/{}".format(base_url, "teams")
body = {"name": "New example collaboration"}
team_id = requests.post(url, headers=header, data=body).json()['id']
url = "{}/{}".format(base_url, "rooms")
body = {"title": "NewRoom", "teamId": team_id}
room_id = requests.post(url, headers=header, data=body).json()['id']
url = "{}/{}".format(base_url, "messages")
body = {"roomId": room_id, "text": "New text"}
requests.post(url, headers=header, data=body)
url = "{}/{}".format(base_url, "people")
body = {"emails": [email], "displayName": name}
requests.post(url, headers=header, data=body)