GET /api/v202105/account/{accountId}/udf/{udfId}/download

Downloads the file attached to an account's custom field (UDF)

DownloadAccountCustomFieldFileV202105 Permissions: Accounts (View)
Use this endpoint to retrieve a file that was uploaded as the value of a file-type custom field on an account. Returns the file content with appropriate MIME type for download. Returns 404 if the UDF or account does not exist.

Request Headers

Header Value Required Description
ECI-ApiKey string Yes Your API key. See Authentication.
Content-Type application/json Yes All requests must specify JSON content type.

Path Parameters

Name Description Type Required
accountId The unique numeric identifier of the account that owns the custom field integer (int32) Required
udfId The unique numeric identifier of the file-type UDF field to download from integer (int32) Required

Responses

200 OK The request succeeded and the response body contains the requested data.