Attach a file to a lead
Attach an already-uploaded file to a lead. First upload the file to S3 using the Files API, then pass the resulting download url here along with its filename and content_type.
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
Request
This endpoint expects an object.
content_type
filename
url
Response
Successful response
checksum
content_type
date_created
date_updated
download_url
id
is_pinned
last_activity_at
last_object_id
last_object_type
lead_id
name
organization_id
size
thumbnail_url
updated_by
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error