Skip to main content
PATCH
/
api
/
public
/
contact
/
tags
/
{aiContactId}
Update all the tags from an AI contact
curl --request PATCH \
  --url https://api.vambe.me/api/public/contact/tags/{aiContactId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "tagsIds": [
    123
  ]
}
'
const options = {
  method: 'PATCH',
  headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({tagsIds: [123]})
};

fetch('https://api.vambe.me/api/public/contact/tags/{aiContactId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.vambe.me/api/public/contact/tags/{aiContactId}"

payload = { "tagsIds": [123] }
headers = {
    "x-api-key": "<x-api-key>",
    "Content-Type": "application/json"
}

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

print(response.text)

Headers

x-api-key
string
required

API key required to authorize the request

Path Parameters

aiContactId
string
required

ID of the AI contact

Body

application/json
tagsIds
number[]

Response

Tags updated successfully.