> 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.

# https://business.me-mate.net/partners/broadcast/editMultiContact

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

### Purpose

Edit/update multiple contacts in a single contact list (tag) in one call. Each item in `contacts` identifies an existing contact by `old_number` and provides the new `number` and `name` to update.

### Endpoint

`POST https://business.me-mate.net/partners/broadcast/editMultiContact`

### Authentication

This endpoint requires an authenticated partner session.

In this workspace, an auth token is referenced via the variable `{{access token}}`.

> Configure auth at the request/collection level as required by your backend (for example, a session cookie or an Authorization header). This request currently only includes the header documented below.

### Headers

| Header             | Required | Value            | Notes                          |
| ------------------ | -------- | ---------------- | ------------------------------ |
| `X-Requested-With` | Yes      | `XMLHttpRequest` | Indicates an AJAX/XHR request. |

### Request body (JSON)

Top-level body schema:

| Field      | Type    | Required | Description                       |
| ---------- | ------- | -------- | --------------------------------- |
| `contacts` | `array` | Yes      | List of contact updates to apply. |

``Each `contacts[]` item:``

| Field        | Type     | Required | Description                                                                                                  |
| ------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------ |
| `tag`        | `string` | Yes      | Contact list / tag identifier to update within (e.g., `"113050"`). All updates are applied within this list. |
| `old_number` | `string` | Yes      | Existing/previous contact number to locate the contact record.                                               |
| `number`     | `string` | Yes      | New contact number to set.                                                                                   |
| `name`       | `string` | Yes      | New/updated contact name.                                                                                    |

### `Example payload`

```json
{
  "contacts": [
    {
      "tag": "113050",
      "old_number": "97190xxxxx",
      "number": "998877xxxx",
      "name": "name Updated"
    },
    {
      "tag": "113050",
      "old_number": "987654xxxxx",
      "number": "99999xxxx",
      "name": "Sales Updated"
    }
  ]
}

```

### `Validation & edge cases`

* **`Number format:** Ensure `old\_number`and`number` use the expected format for your account/region (digits-only vs. E.164, country code, etc.`**

* **`Existence:** If `old\_number`does not exist under the provided`tag`, that item may fail or be ignored depending on server behavio`**

* **`Duplicates/conflicts:** If `number`already exists in the same`tag` (or violates uniqueness rules), the server may reject that updat`**

* **`Partial success:** When submitting multiple items, confirm whether the API applies updates atomically or allows partial updates (some succeed, some fail). Handle accordingl`**

* **`Empty list:** `contacts` should be non-empt`**

### `Typical responses`

`(Exact response body may vary by deployment.)`

* **`200 OK**: Updates accepted/applied successfull`**

* **`400 Bad Request**: Invalid JSON/body schema, missing required fields, or failed validatio`**

* **`401 Unauthorized / 403 Forbidden**: Missing/invalid auth context (token/cookie) or insufficient permission`**

* **`404 Not Found**: Tag/list not found (or related resource missing`**

* **`500 Internal Server Error**: Unexpected server-side erro`**

Reference: https://apidocs.me-mate.net/business-me-mate-net-ap-is-document-v-1-0/manage-contact/edit-numbers-inside-contact-lists/multiple/https-business-me-mate-net-partners-broadcast-edit-multi-contact

## Request

### Headers

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

### Body (application/json)

- `string`

## Response

### 200

OK

- `msg` (string, required)
- `failed` (list of any, required)
- `status` (boolean, required)
- `summary` (object, required)
  - `failed` (integer, required)
  - `updated` (integer, required)
  - `not_found` (integer, required)
  - `requested` (integer, required)
  - `duplicates` (integer, required)
- `updated` (list of any, required)
- `not_found` (list of object, required)
  - `tag` (string, required)
  - `error` (string, required)
  - `old_number` (string, required)
- `duplicates` (list of any, required)

## Examples

**Request**

```json
"{\r\n  \"contacts\": [\r\n    {\r\n      \"tag\": \"113050\",   // contact list id\r\n      \"old_number\": \"97190xxxxx\", // old contact number\r\n      \"number\": \"998877xxxx\",   // new contact number\r\n      \"name\": \"name Updated\"     //  contact user name\r\n    },\r\n    {\r\n      \"tag\": \"113050\",\r\n      \"old_number\": \"987654xxxxx\",\r\n      \"number\": \"99999xxxx\",\r\n      \"name\": \"Sales Updated\"\r\n    }\r\n  ]\r\n}"
```

**Response**

```json
{
  "msg": "Contacts updated!",
  "failed": [
    {
      "key": "value"
    }
  ],
  "status": true,
  "summary": {
    "failed": 0,
    "updated": 0,
    "not_found": 2,
    "requested": 2,
    "duplicates": 0
  },
  "updated": [
    {
      "key": "value"
    }
  ],
  "not_found": [
    {
      "tag": "113050",
      "error": "Contact not found",
      "old_number": "971905xxxx"
    },
    {
      "tag": "113050",
      "error": "Contact not found",
      "old_number": "987654xxxx"
    }
  ],
  "duplicates": [
    {
      "key": "value"
    }
  ]
}
```

**SDK Code**

```python
import requests

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

payload = "{
  \"contacts\": [
    {
      \"tag\": \"113050\",   // contact list id
      \"old_number\": \"97190xxxxx\", // old contact number
      \"number\": \"998877xxxx\",   // new contact number
      \"name\": \"name Updated\"     //  contact user name
    },
    {
      \"tag\": \"113050\",
      \"old_number\": \"987654xxxxx\",
      \"number\": \"99999xxxx\",
      \"name\": \"Sales Updated\"
    }
  ]
}"
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/editMultiContact';
const options = {
  method: 'POST',
  headers: {'X-Requested-With': 'XMLHttpRequest', 'Content-Type': 'application/json'},
  body: '"{\r\n  \"contacts\": [\r\n    {\r\n      \"tag\": \"113050\",   // contact list id\r\n      \"old_number\": \"97190xxxxx\", // old contact number\r\n      \"number\": \"998877xxxx\",   // new contact number\r\n      \"name\": \"name Updated\"     //  contact user name\r\n    },\r\n    {\r\n      \"tag\": \"113050\",\r\n      \"old_number\": \"987654xxxxx\",\r\n      \"number\": \"99999xxxx\",\r\n      \"name\": \"Sales Updated\"\r\n    }\r\n  ]\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/editMultiContact"

	payload := strings.NewReader("\"{\\r\\n  \\\"contacts\\\": [\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",   // contact list id\\r\\n      \\\"old_number\\\": \\\"97190xxxxx\\\", // old contact number\\r\\n      \\\"number\\\": \\\"998877xxxx\\\",   // new contact number\\r\\n      \\\"name\\\": \\\"name Updated\\\"     //  contact user name\\r\\n    },\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",\\r\\n      \\\"old_number\\\": \\\"987654xxxxx\\\",\\r\\n      \\\"number\\\": \\\"99999xxxx\\\",\\r\\n      \\\"name\\\": \\\"Sales Updated\\\"\\r\\n    }\\r\\n  ]\\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/editMultiContact")

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  \\\"contacts\\\": [\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",   // contact list id\\r\\n      \\\"old_number\\\": \\\"97190xxxxx\\\", // old contact number\\r\\n      \\\"number\\\": \\\"998877xxxx\\\",   // new contact number\\r\\n      \\\"name\\\": \\\"name Updated\\\"     //  contact user name\\r\\n    },\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",\\r\\n      \\\"old_number\\\": \\\"987654xxxxx\\\",\\r\\n      \\\"number\\\": \\\"99999xxxx\\\",\\r\\n      \\\"name\\\": \\\"Sales Updated\\\"\\r\\n    }\\r\\n  ]\\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/editMultiContact")
  .header("X-Requested-With", "XMLHttpRequest")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n  \\\"contacts\\\": [\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",   // contact list id\\r\\n      \\\"old_number\\\": \\\"97190xxxxx\\\", // old contact number\\r\\n      \\\"number\\\": \\\"998877xxxx\\\",   // new contact number\\r\\n      \\\"name\\\": \\\"name Updated\\\"     //  contact user name\\r\\n    },\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",\\r\\n      \\\"old_number\\\": \\\"987654xxxxx\\\",\\r\\n      \\\"number\\\": \\\"99999xxxx\\\",\\r\\n      \\\"name\\\": \\\"Sales Updated\\\"\\r\\n    }\\r\\n  ]\\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/editMultiContact', [
  'body' => '"{\\r\\n  \\"contacts\\": [\\r\\n    {\\r\\n      \\"tag\\": \\"113050\\",   // contact list id\\r\\n      \\"old_number\\": \\"97190xxxxx\\", // old contact number\\r\\n      \\"number\\": \\"998877xxxx\\",   // new contact number\\r\\n      \\"name\\": \\"name Updated\\"     //  contact user name\\r\\n    },\\r\\n    {\\r\\n      \\"tag\\": \\"113050\\",\\r\\n      \\"old_number\\": \\"987654xxxxx\\",\\r\\n      \\"number\\": \\"99999xxxx\\",\\r\\n      \\"name\\": \\"Sales Updated\\"\\r\\n    }\\r\\n  ]\\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/editMultiContact");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Requested-With", "XMLHttpRequest");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n  \\\"contacts\\\": [\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",   // contact list id\\r\\n      \\\"old_number\\\": \\\"97190xxxxx\\\", // old contact number\\r\\n      \\\"number\\\": \\\"998877xxxx\\\",   // new contact number\\r\\n      \\\"name\\\": \\\"name Updated\\\"     //  contact user name\\r\\n    },\\r\\n    {\\r\\n      \\\"tag\\\": \\\"113050\\\",\\r\\n      \\\"old_number\\\": \\\"987654xxxxx\\\",\\r\\n      \\\"number\\\": \\\"99999xxxx\\\",\\r\\n      \\\"name\\\": \\\"Sales Updated\\\"\\r\\n    }\\r\\n  ]\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Requested-With": "XMLHttpRequest",
  "Content-Type": "application/json"
]
let parameters = "{
  \"contacts\": [
    {
      \"tag\": \"113050\",   // contact list id
      \"old_number\": \"97190xxxxx\", // old contact number
      \"number\": \"998877xxxx\",   // new contact number
      \"name\": \"name Updated\"     //  contact user name
    },
    {
      \"tag\": \"113050\",
      \"old_number\": \"987654xxxxx\",
      \"number\": \"99999xxxx\",
      \"name\": \"Sales Updated\"
    }
  ]
}" as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://business.me-mate.net/partners/broadcast/editMultiContact")! 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()
```