curl --request POST \
--url https://api.fanvue.com/v1/chats/{userUuid}/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>' \
--data '{}'import requests
url = "https://api.fanvue.com/v1/chats/{userUuid}/message"
payload = {}
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api.fanvue.com/v1/chats/{userUuid}/message', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"messageUuid": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "<string>"
}Send a message
Send a message to a user in an existing chat conversation. The message can include text, media attachments, and optional pricing for pay-to-view content, or a single third-party GIF (gif) in place of text and media.
curl --request POST \
--url https://api.fanvue.com/v1/chats/{userUuid}/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>' \
--data '{}'import requests
url = "https://api.fanvue.com/v1/chats/{userUuid}/message"
payload = {}
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api.fanvue.com/v1/chats/{userUuid}/message', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"messageUuid": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "<string>"
}write:chat— Create new chats and send messages. This scope is required for any chat-related actions that modify data.
Authorizations
OAuth 2.0 access token, presented as a JWT bearer token in the Authorization header. Obtain a token via the authorization-code flow; the scopes granted to the token determine which operations it may call.
Headers
API version to use for the request
"2025-06-26"
Path Parameters
Body
1 - 5000A third-party GIF to send in place of media. May be sent on its own or alongside text, which is rendered as a caption. Cannot be combined with mediaUuids, mediaPreviewUuid, price or templateUuid.
Show child attributes
Show child attributes
UUID of a single media item shown for free as a preview of a pay-to-view message. Requires a price and attached media (or a template).
x >= 300Response
Message sent successfully
Was this page helpful?