Resolve media UUIDs for a creator chat message
curl --request GET \
--url https://api.fanvue.com/v1/creators/{creatorUserUuid}/chats/{userUuid}/messages/{messageUuid}/media \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/creators/{creatorUserUuid}/chats/{userUuid}/messages/{messageUuid}/media"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/creators/{creatorUserUuid}/chats/{userUuid}/messages/{messageUuid}/media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": {
"a1b2c3d4-e5f6-7890-abcd-ef1234567890": {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"messageUuid": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6",
"mediaType": "image",
"created_at": "2024-01-15T00:00:00.000Z",
"sentAt": "2024-01-15T00:00:00.000Z",
"ownerUuid": "c3d4e5f6-7g8h-9i0j-1k2l-m3n4o5p6q7r8",
"name": "Beach Sunset",
"variants": [
{
"variantType": "main",
"displayPosition": 0,
"url": "https://media.fanvue.com/main/a1b2c3d4-e5f6-7890-abcd-ef1234567890.jpg",
"width": 1920,
"height": 1440,
"lengthMs": null
}
],
"purchasedAt": "2024-01-15T00:00:00.000Z",
"pricing": {
"USD": {
"price": 1000
}
},
"amountPaid": {
"USD": {
"price": 700
}
}
},
"00000000-0000-0000-0000-000000000000": null
},
"errors": [
{
"mediaUuid": "00000000-0000-0000-0000-000000000000",
"code": "NOT_IN_MESSAGE",
"message": "Media UUID is not attached to this message"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "<string>"
}Creator Chats
Resolve media UUIDs for a creator chat message
Resolves means: for each requested mediaUuid, lookup that media only within the specified messageUuid in this creator conversation, then return its chat media payload (metadata + signed variant URLs) or a per-item error.
The
mediaUuids query parameter is required and accepts up to 20 UUIDs.GET
/
v1
/
creators
/
{creatorUserUuid}
/
chats
/
{userUuid}
/
messages
/
{messageUuid}
/
media
Resolve media UUIDs for a creator chat message
curl --request GET \
--url https://api.fanvue.com/v1/creators/{creatorUserUuid}/chats/{userUuid}/messages/{messageUuid}/media \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/creators/{creatorUserUuid}/chats/{userUuid}/messages/{messageUuid}/media"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/creators/{creatorUserUuid}/chats/{userUuid}/messages/{messageUuid}/media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": {
"a1b2c3d4-e5f6-7890-abcd-ef1234567890": {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"messageUuid": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6",
"mediaType": "image",
"created_at": "2024-01-15T00:00:00.000Z",
"sentAt": "2024-01-15T00:00:00.000Z",
"ownerUuid": "c3d4e5f6-7g8h-9i0j-1k2l-m3n4o5p6q7r8",
"name": "Beach Sunset",
"variants": [
{
"variantType": "main",
"displayPosition": 0,
"url": "https://media.fanvue.com/main/a1b2c3d4-e5f6-7890-abcd-ef1234567890.jpg",
"width": 1920,
"height": 1440,
"lengthMs": null
}
],
"purchasedAt": "2024-01-15T00:00:00.000Z",
"pricing": {
"USD": {
"price": 1000
}
},
"amountPaid": {
"USD": {
"price": 700
}
}
},
"00000000-0000-0000-0000-000000000000": null
},
"errors": [
{
"mediaUuid": "00000000-0000-0000-0000-000000000000",
"code": "NOT_IN_MESSAGE",
"message": "Media UUID is not attached to this message"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "<string>"
}Required scopes
read:creator— Access creator profiles, content, and creator-specific information.read:chat— Read chat conversations, messages, and chat-related data. This includes viewing chat lists and message history.
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
Example:
"2025-06-26"
Path Parameters
Query Parameters
Comma-separated list of media UUIDs to resolve (required, max 20)
Optional comma-separated list of variant types to include
Was this page helpful?