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

fetch('https://api.vambe.me/api/public/contact/{aiContactId}/update-metadata', 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/{aiContactId}/update-metadata"

payload = { "metadata": {} }
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}

response = requests.post(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
metadata
object

Response

Metadata added successfully.