Update fan notes
curl --request PUT \
--url https://api.fanvue.com/v1/chats/{userUuid}/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>' \
--data '
{
"notes": "<string>"
}
'import requests
url = "https://api.fanvue.com/v1/chats/{userUuid}/notes"
payload = { "notes": "<string>" }
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({notes: '<string>'})
};
fetch('https://api.fanvue.com/v1/chats/{userUuid}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"notes": "Prefers evening messages. Birthday on 12 March.",
"updatedAt": "2024-01-15T00:00:00.000Z"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Chats
Update fan notes
Replaces the authenticated user’s notes about a fan and returns the stored result.
These are the notes a creator keeps on a fan in the Fanvue chat sidebar and contact list. Only the manually written notes are exposed; automatically generated fan summaries are never returned. Notes do not require an existing conversation with the fan.
The body replaces the notes in full, so send the complete text rather than a delta. Pass null (or an empty string) to clear them. Returns 400 if userUuid is your own UUID and 404 if the user does not exist.
PUT
/
v1
/
chats
/
{userUuid}
/
notes
Update fan notes
curl --request PUT \
--url https://api.fanvue.com/v1/chats/{userUuid}/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>' \
--data '
{
"notes": "<string>"
}
'import requests
url = "https://api.fanvue.com/v1/chats/{userUuid}/notes"
payload = { "notes": "<string>" }
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({notes: '<string>'})
};
fetch('https://api.fanvue.com/v1/chats/{userUuid}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"notes": "Prefers evening messages. Birthday on 12 March.",
"updatedAt": "2024-01-15T00:00:00.000Z"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Required scope
write:chat— Create new chats and send messages. This scope is required for any chat-related actions that modify data.
Authorizations
Scopes
Headers
Body
application/json
Response
The stored notes
Was this page helpful?