Get the attachment policy
curl --request GET \
--url https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"accepted_extensions": [
"<string>"
],
"enabled": true,
"max_attachments_per_conversation": 123,
"max_bytes_per_file": 123,
"max_bytes_per_message": 123,
"max_files_per_folder": 123,
"max_files_per_message": 123,
"retention_days": 123,
"unwrap_archives": true
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Conversations
Get the attachment policy
Read the upload limits and accepted extensions the instance’s published config enforces.
GET
/
conversations
/
instances
/
{instanceSlug}
/
conversations
/
{conversationID}
/
attachments
/
policy
Get the attachment policy
curl --request GET \
--url https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"accepted_extensions": [
"<string>"
],
"enabled": true,
"max_attachments_per_conversation": 123,
"max_bytes_per_file": 123,
"max_bytes_per_message": 123,
"max_files_per_folder": 123,
"max_files_per_message": 123,
"retention_days": 123,
"unwrap_archives": true
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Path Parameters
Response
OK
Last modified on November 30, 2026