List files attached to a lead
List the files on a lead, newest first (by date_created). This includes files attached to the lead directly, and attachments of the lead’s emails, notes, SMS, WhatsApp messages and opportunities. last_object_type and last_object_id say where each file was most recently attached.
Returns 403 if you can’t see the lead, and 404 if it doesn’t exist.
Authentication
AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
ID of the lead, e.g. lead_70jZ5hiVt5X31MZ3vJ0R0GJMqJEihkoF7TtSVFbN2ty.
Query parameters
_limit
Number of results to return.
_skip
Number of results to skip before returning, for pagination.
_fields
Comma-separated list of fields to include in the response.
Response
Successful response
data
The results on this page.
has_more
Whether more results exist after this page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error