List contact attachments
Scope: contacts:contacts.read https://api.alladdin.com/api/v2/contacts/{contactId}/attachments
Returns the list of file names attached to a contact.
Each item is a plain file name string (e.g. invoice.pdf). Use the file name to download individual files via the Get attachment endpoint.
Parameters
Path parameters
contactId string required
Contact ID (24-char hex ObjectId)
Request
import requests
url = "https://api.alladdin.com/api/v2/contacts/{contactId}/attachments"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
{
"items": [
"string"
]
}Success responses
200 List of attachment file names application/json object items[] string[]
Error responses
401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Contact not found application/json 429 Rate limit exceeded application/json
