List a contact's files
GET
/api/v1/contacts/{contactId}/files
const url = 'https://digize.com/api/v1/contacts/example/files';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/contacts/example/files \ --header 'x-api-key: <x-api-key>'The files kept on a contact, the newest first, each with a signed link that works for an hour.
Needs the crm:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”contactId
required
string
Responses
Section titled “Responses”Done
Media typeapplication/json
Array<object>
object
id
required
string
contactId
required
string
name
required
string
contentType
required
string
size
required
In bytes.
number
uploadedByName
required
string
createdAt
required
string format: date-time
url
required
A signed link to the file, which works for an hour.
string
Example generated
[ { "id": "example", "contactId": "example", "name": "example", "contentType": "example", "size": 1, "uploadedByName": "example", "createdAt": "2026-04-15T12:00:00Z", "url": "example" }]What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}