# Creating New Contact Group

### <mark style="color:green;">`GET`</mark> `/api/contacts/create_contactgroup/`

Create a new contact group using our proxy API.&#x20;

{% tabs %}
{% tab title="Curl" %}

```http
curl -XGET 'https://tasks-wave.mobivate.com/api/contacts/create_contactgroup/?username=username&password=password&group_name=MyGroup
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get(
    'https://tasks-wave.mobivate.com/api/contacts/create_contactgroup/?username=username&password=password&group_name=MyGroup',
)
```

{% endtab %}
{% endtabs %}

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `No Auth`          |

**Body**

| Parameter   | Required | Description                             |
| ----------- | -------- | --------------------------------------- |
| username    | Yes      | The username used to login to Mobivate. |
| password    | Yes      | The password used to login to Mobivate. |
| group\_name | No       | Your contact group name.                |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "status": "ok",
    "group_id": "group_id"
}
```

{% endtab %}

{% tab title="403" %}

```json
{
   "message":"Not Authenticated"
}
```

{% endtab %}
{% endtabs %}
