Skip to content

Zoho: Attachments schemas

8 Zoho schemas with complete fields and constraints.

← Attachments operations · All schemas

Retrieve All Attachments — response body

FieldTypePresenceDescription and constraints
$objectRootResponse containing list of attachments for a record
Additional keys: not allowed
dataarrayRequired within parentArray of attachment objects
Maximum items: 1000
data[]ModelEach itemExpand Retrieve All Attachments — response body — data item
infoModelRequired within parentExpand Retrieve All Attachments — response body — info

Referenced models: Retrieve All Attachments — response body — data item, Retrieve All Attachments — response body — info

Retrieve All Attachments — response body — data item

FieldTypePresenceDescription and constraints
$objectRootIndividual attachment metadata
Additional keys: not allowed
$editablebooleanOptionalIndicates if the attachment is editable
$field_statesJSONOptional
$field_states (anyOf 1)objectAlternativeRepresents the field states metadata
$field_states (anyOf 2)nullAlternativeRepresents the field states metadata
$file_idJSONOptional
$file_id (anyOf 1)stringAlternativeRepresents the file identifier for the attachment
Maximum length: 255
$file_id (anyOf 2)nullAlternativeRepresents the file identifier for the attachment
Maximum length: 255
$link_urlJSONOptional
$link_url (anyOf 1)stringAlternativeRepresents the URL for link-type attachments. Null for file attachments.
Format: uri
Maximum length: 2000
$link_url (anyOf 2)nullAlternativeRepresents the URL for link-type attachments. Null for file attachments.
Format: uri
Maximum length: 2000
$se_modulestringOptionalRepresents the source module name
Maximum length: 100
$sharing_permissionstringOptionalRepresents the sharing permission level for the attachment
Maximum length: 50
$statestringOptionalRepresents the current state of the attachment
Maximum length: 50
$typestringOptionalRepresents the type of the attachment. Possible values: `File` for uploaded files, or `Link URL` for URL-based attachments.
Maximum length: 50
Created_ByModelRequired within parentExpand Retrieve All Attachments — response body — data item Created By
Created_TimestringRequired within parentRepresents the timestamp when the attachment was created (ISO 8601 with timezone)
Format: date-time
File_NamestringOptionalRepresents the name of the attached file
Maximum length: 250
Modified_ByModelRequired within parentExpand Retrieve All Attachments — response body — data item Modified By
Modified_TimestringRequired within parentRepresents the timestamp when the attachment was last modified (ISO 8601 with timezone)
Format: date-time
OwnerModelOptionalExpand Retrieve All Attachments — response body — data item Owner
Parent_IdobjectOptionalParent record information
Additional keys: not allowed
Parent_Id.idstringRequired within parentParent record ID. Use the [Get Records API](record.yaml#$.paths./module.get) to retrieve record IDs.

Maximum length: 50
Pattern: ^[0-9]+$
Parent_Id.namestringRequired within parentRepresents the parent record name
Maximum length: 250
SizestringOptionalRepresents the size of the attachment in bytes
Maximum length: 50000
Pattern: ^[0-9]+$
idstringRequired within parentRepresents the unique numeric identifier of the attachment
Maximum length: 50
Pattern: ^[0-9]+$

Referenced models: Retrieve All Attachments — response body — data item Created By, Retrieve All Attachments — response body — data item Modified By, Retrieve All Attachments — response body — data item Owner

Retrieve All Attachments — response body — data item Created By

FieldTypePresenceDescription and constraints
$objectRootUser who created the attachment.
Additional keys: not allowed
emailstringOptionalRepresents the user email address
Format: email
Maximum length: 100
idstringRequired within parentUser ID. Use the [Users API](users.yaml#$.paths./users/bulk.get) to retrieve user IDs.

Maximum length: 50
Pattern: ^[0-9]+$
namestringRequired within parentRepresents the user display name
Maximum length: 250

Retrieve All Attachments — response body — data item Modified By

FieldTypePresenceDescription and constraints
$objectRootUser who last modified the attachment.
Additional keys: not allowed
emailstringOptionalRepresents the user email address
Format: email
Maximum length: 100
idstringRequired within parentUser ID. Use the [Users API](users.yaml#$.paths./users/bulk.get) to retrieve user IDs.

Maximum length: 50
Pattern: ^[0-9]+$
namestringRequired within parentRepresents the user display name
Maximum length: 250

Retrieve All Attachments — response body — data item Owner

FieldTypePresenceDescription and constraints
$objectRootOwner of the attachment
Additional keys: not allowed
emailstringOptionalRepresents the owner email address
Format: email
Maximum length: 100
idstringRequired within parentOwner user ID. Use the [Users API](users.yaml#$.paths./users/bulk.get) to retrieve user IDs.

Maximum length: 50
Pattern: ^[0-9]+$
namestringRequired within parentRepresents the owner display name
Maximum length: 250

Retrieve All Attachments — response body — info

FieldTypePresenceDescription and constraints
$objectRootPagination information for list responses
Additional keys: not allowed
countJSONRequired within parent
count (anyOf 1)integerAlternativeRepresents the number of records returned in the current response
Format: int32
Minimum: 0
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
more_recordsbooleanRequired within parentIndicates whether more records are available
next_page_tokenJSONRequired within parent
next_page_token (anyOf 1)stringAlternativeRepresents the token to retrieve the next page of results
Maximum length: 1024
next_page_token (anyOf 2)nullAlternativeRepresents the token to retrieve the next page of results
Maximum length: 1024
pageJSONRequired within parent
page (anyOf 1)integerAlternativeRepresents the current page number
Format: int32
Minimum: 1
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
page_token_expiryJSONRequired within parent
page_token_expiry (anyOf 1)stringAlternativeRepresents the expiry timestamp for the page tokens
Format: date-time
page_token_expiry (anyOf 2)nullAlternativeRepresents the expiry timestamp for the page tokens
Format: date-time
per_pageJSONRequired within parent
per_page (anyOf 1)integerAlternativeRepresents the number of records per page
Format: int32
Maximum: 200
Minimum: 1
per_page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
previous_page_tokenJSONRequired within parent
previous_page_token (anyOf 1)stringAlternativeRepresents the token to retrieve the previous page of results
Maximum length: 1024
previous_page_token (anyOf 2)nullAlternativeRepresents the token to retrieve the previous page of results
Maximum length: 1024

Upload an Attachment — response body

FieldTypePresenceDescription and constraints
$objectRootSuccessful attachment operation response
Additional keys: not allowed
dataarrayRequired within parentArray of upload results
Maximum items: 100
data[]objectEach itemUpload status details
Additional keys: not allowed
data[].codestringRequired within parentRepresents the response code
Known values: SUCCESS
data[].detailsModelRequired within parentExpand Upload an Attachment — response body — data item details
data[].messagestringRequired within parentRepresents the success message
Known values: attachment uploaded successfully
data[].statusstringRequired within parentRepresents the operation status
Known values: success

Referenced models: Upload an Attachment — response body — data item details

Upload an Attachment — response body — data item details

FieldTypePresenceDescription and constraints
$objectRootDetails of the uploaded attachment
Additional keys: not allowed
Created_ByobjectRequired within parentRepresents the user who created the attachment
Additional keys: not allowed
Created_By.idstringRequired within parentUser ID. Use the [Users API](users.yaml#$.paths./users/bulk.get) to retrieve user IDs.

Maximum length: 50
Pattern: ^[0-9]+$
Created_By.namestringRequired within parentRepresents the user display name
Maximum length: 250
Created_TimestringRequired within parentRepresents the creation timestamp
Format: date-time
Modified_ByobjectRequired within parentRepresents the user who last modified the attachment
Additional keys: not allowed
Modified_By.idstringRequired within parentRepresents the user ID
Maximum length: 50
Pattern: ^[0-9]+$
Modified_By.namestringRequired within parentRepresents the user display name
Maximum length: 250
Modified_TimestringRequired within parentRepresents the last modification timestamp
Format: date-time
idstringRequired within parentRepresents the attachment identifier
Maximum length: 50
Pattern: ^[0-9]+$

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.