Use to invite people to join your group, or accept an invite

in detail view

check out accept_invite to accept an invite to join a group

GET /api/group_invites/8/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 8,
    "url": "https://api.represent.me/api/group_invites/8/",
    "email": "ejiro@theraingods.com",
    "group": 59,
    "group_info": {
        "id": 59,
        "url": "https://api.represent.me/api/groups/59/",
        "name": "Rain Cloud Victoria",
        "slug": "rain-cloud-victoria",
        "parent": null,
        "desc": "To find out what current and future members think about stuff",
        "image": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/82682ba7-0c00-4969-8b4d-d777327ca8cf.png",
        "logo_image": null,
        "welcome_message": "",
        "created_at": "2016-06-17T16:19:06.757303Z",
        "modified_at": "2016-06-29T13:21:42.312512Z",
        "private": true,
        "default_share_email": 0,
        "member_count": 1,
        "my_membership": null,
        "autoPublishQuestions": true,
        "requested_join": null,
        "questions_count": 0,
        "require_approval_to_join": true,
        "secret": false,
        "canAskDefault": true,
        "votes_count": 0,
        "official": false
    },
    "user": null,
    "role": "member",
    "user_url": null,
    "invite_from": {
        "id": 5570,
        "username": "TimothyBarnes",
        "first_name": "Timothy",
        "last_name": "Barnes",
        "url": "https://api.represent.me/api/users/5570/",
        "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_5570_URKQTKb.jpg",
        "age": 44,
        "latest_compare": [],
        "follow": [],
        "locations": [
            "https://api.represent.me/api/user_geos/714904/",
            "https://api.represent.me/api/user_geos/714903/",
            "https://api.represent.me/api/user_geos/714902/",
            "https://api.represent.me/api/user_geos/714901/",
            "https://api.represent.me/api/user_geos/714900/",
            "https://api.represent.me/api/user_geos/714899/"
        ],
        "bio": "",
        "created_at": "2016-05-20T06:49:36.452739Z",
        "modified_at": "2019-04-15T15:54:57.185350Z",
        "is_deleted": false,
        "country": 59,
        "country_info": {
            "id": 59,
            "ID": "GBR",
            "name": "United Kingdom",
            "m_type": "country",
            "location": {
                "type": "Point",
                "coordinates": [
                    -2.8869514831036756,
                    54.14704818919766
                ]
            },
            "members_count": 9084,
            "question_count": 923,
            "created_at": "2016-03-20T04:26:45.483907Z",
            "type_description": null,
            "parent": null,
            "parent_url": null,
            "politicians": [],
            "modified_at": "2019-07-15T09:12:13.796827Z"
        },
        "region": 45690,
        "region_info": {
            "id": 45690,
            "ID": "GBR_REGION_ENG",
            "name": "England",
            "m_type": "region",
            "location": {
                "type": "Point",
                "coordinates": [
                    -1.4587100703941027,
                    52.59501517841384
                ]
            },
            "members_count": 7866,
            "question_count": 13,
            "created_at": "2017-03-17T16:31:15.805339Z",
            "type_description": "Constituent Country",
            "parent": 59,
            "parent_url": "https://api.represent.me/api/simple_geos/59/",
            "politicians": [],
            "modified_at": "2019-07-15T09:12:13.773714Z"
        },
        "last_answer_time": "2017-06-05T11:11:16.083707Z",
        "politician": 1444,
        "politician_info": {
            "id": 1444,
            "ID": null,
            "name": "Timothy Barnes",
            "sort_name": "",
            "email": "timothyplbarnes@mac.com",
            "twitter": "@CampaignTim",
            "facebook": "",
            "group": "Conservative",
            "group_id": "",
            "area_id": "45260",
            "area": "Holborn and St Pancras",
            "chamber": "",
            "term": "",
            "start_date": "2017",
            "end_date": null,
            "image": null,
            "gender": "",
            "country": "59",
            "type": "candidate",
            "linkedin": "https://www.linkedin.com/in/timothyplbarnes/",
            "facebook_page": "https://www.facebook.com/groups/CampaignTim/",
            "fundraising_page": null,
            "cv": null,
            "statement": "Tim is a local candidate who has lived in Holborn & St Pancras for over 20 years and is passionate about supporting education, helping small businesses grow and improving our environment in Camden"
        },
        "is_email_verified": true,
        "is_admin_verified": false,
        "is_facebook_verified": true,
        "is_google_verified": false,
        "is_twitter_verified": true,
        "is_linkedin_verified": true,
        "is_stripe_verified": false,
        "verification_count": 4,
        "verification_score": 87,
        "count_questions": 0,
        "count_votes": 357,
        "count_question_votes": 301,
        "count_friends": 9,
        "count_comment_votes": 5,
        "count_choice_votes": 56,
        "count_group_memberships": 4,
        "count_following_tags": 6,
        "count_comments": 11,
        "count_following_users": 4,
        "count_followers": 4,
        "karma": 2
    },
    "created_at": "2016-06-17T16:19:54.372289Z",
    "modified_at": "2016-06-17T16:19:54.372713Z"
}