Skip to main content
POST
/
api
/
public
/
ai-customer
/
merge-customers
/
by-ai-contact
cURL
curl --request POST \
  --url https://api.vambe.me/api/public/ai-customer/merge-customers/by-ai-contact \
  --header 'Content-Type: application/json' \
  --data '
{
  "mainAiContactId": "<string>",
  "aiContactIdsToMerge": [
    "<string>"
  ]
}
'
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({mainAiContactId: '<string>', aiContactIdsToMerge: ['<string>']})
};

fetch('https://api.vambe.me/api/public/ai-customer/merge-customers/by-ai-contact', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.vambe.me/api/public/ai-customer/merge-customers/by-ai-contact"

payload = {
    "mainAiContactId": "<string>",
    "aiContactIdsToMerge": ["<string>"]
}
headers = {"Content-Type": "application/json"}

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

print(response.text)

Body

application/json
mainAiContactId
string
required
aiContactIdsToMerge
string[]
required
Minimum array length: 1

Response

201 - undefined