Skip to content

File

The value describing a file upload set for a custom attribute

typestring
Example:"upload"
namestring

The name of the file

Example:"Screenshot.png"
urlstring

The url of the file. This is a temporary URL and will expire after 30 minutes.

Example:"https://intercom-attachments-1.com/.../Screenshot.png"
content_typestring

The type of file

Example:"image/png"
filesizeinteger

The size of the file in bytes

Example:11308309
widthinteger

The width of the file in pixels, if applicable

Example:3024
heightinteger

The height of the file in pixels, if applicable

Example:1964
{ "type": "upload", "name": "Screenshot.png", "url": "https://intercom-attachments-1.com/.../Screenshot.png", "content_type": "image/png", "filesize": 11308309, "width": 3024, "height": 1964 }