> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.me-mate.net/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.me-mate.net/_mcp/server.

# Create Contact List / Tag

POST https://business.me-mate.net/partners/broadcast/addnewcontacttag
Content-Type: application/json

Creates a new **Contact List / Contact Tag** for the Partners Broadcast module.

**Method:** `POST`\
**URL:** `https://business.me-mate.net/partners/broadcast/addnewcontacttag`

***

### Authentication

This endpoint requires an authenticated Partners session.

* Send the auth token using the global variable: `{{auth token}}`

* Add it in the standard auth mechanism used by your collection (for example, an `Authorization` header).

> Note: This request already references the `auth token` variable in your workspace. Ensure it is set before sending.

***

### Required Headers

| Header             | Value            | Required |
| ------------------ | ---------------- | -------- |
| `X-Requested-With` | `XMLHttpRequest` | Yes      |

***

### Request Body

**Content-Type:** `application/json`

#### Schema

```json
{
  "name": "string"
}

```

* `name` (string, required): Contact list name to create.

#### Example

```json
{
  "name": "new contact new test"
}

```

***

### Success Response

#### `200 OK`

Returns a success flag, message, and the created tag/contact-list identifier.

```json
{
  "status": true,
  "message": "Contact List Created Successfully",
  "tagId": 112995
}

```

***

### Error Responses (generic)

Depending on authentication, validation, or server issues, you may see:

* `400 Bad Request`: Invalid/missing fields (for example, missing `name`).

* `401 Unauthorized` / `403 Forbidden`: Missing or invalid `{{auth token}}` / insufficient permissions.

* `500 Internal Server Error`: Unexpected server-side error.

***

### Notes

* Use a unique, meaningful `name` to avoid duplicates (behavior may vary by server-side validation).

* If you receive `401/403`, verify `{{auth token}}` is set and is valid for the Partners account/session.

Reference: https://apidocs.me-mate.net/business-me-mate-net-ap-is-document-v-1-0/manage-contact/contact-list-creation/create-contact-list-tag

## Request

### Headers

- `X-Requested-With` (string, optional)

### Body (application/json)

- `string`

## Response

### 200

OK

- `tagId` (integer, required)
- `status` (boolean, required)
- `message` (string, required)

## Examples

**Request**

```json
"{\r\n    \"name\":\"new contact new test new\" // contact list name\r\n}"
```

**Response**

```json
{
  "tagId": 112995,
  "status": true,
  "message": "Contact List Created Successfully"
}
```

**SDK Code**

```python
import requests

url = "https://business.me-mate.net/partners/broadcast/addnewcontacttag"

payload = "{
    \"name\":\"new contact new test new\" // contact list name
}"
headers = {
    "X-Requested-With": "XMLHttpRequest",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://business.me-mate.net/partners/broadcast/addnewcontacttag';
const options = {
  method: 'POST',
  headers: {'X-Requested-With': 'XMLHttpRequest', 'Content-Type': 'application/json'},
  body: '"{\r\n    \"name\":\"new contact new test new\" // contact list name\r\n}"'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://business.me-mate.net/partners/broadcast/addnewcontacttag"

	payload := strings.NewReader("\"{\\r\\n    \\\"name\\\":\\\"new contact new test new\\\" // contact list name\\r\\n}\"")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-Requested-With", "XMLHttpRequest")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://business.me-mate.net/partners/broadcast/addnewcontacttag")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Requested-With"] = 'XMLHttpRequest'
request["Content-Type"] = 'application/json'
request.body = "\"{\\r\\n    \\\"name\\\":\\\"new contact new test new\\\" // contact list name\\r\\n}\""

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://business.me-mate.net/partners/broadcast/addnewcontacttag")
  .header("X-Requested-With", "XMLHttpRequest")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n    \\\"name\\\":\\\"new contact new test new\\\" // contact list name\\r\\n}\"")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://business.me-mate.net/partners/broadcast/addnewcontacttag', [
  'body' => '"{\\r\\n    \\"name\\":\\"new contact new test new\\" // contact list name\\r\\n}"',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-Requested-With' => 'XMLHttpRequest',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://business.me-mate.net/partners/broadcast/addnewcontacttag");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Requested-With", "XMLHttpRequest");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n    \\\"name\\\":\\\"new contact new test new\\\" // contact list name\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Requested-With": "XMLHttpRequest",
  "Content-Type": "application/json"
]
let parameters = "{
    \"name\":\"new contact new test new\" // contact list name
}" as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://business.me-mate.net/partners/broadcast/addnewcontacttag")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```