files

Retrieves affiliate files

get/admin/files

Query parameters

affiliate_idstring

Retrieve only the files uploaded by/for affiliates specified by a comma-separated list of Affiliate IDs

since_idstring

Show files after the specified file ID

created_at_maxstring

Show files created at or before date (format: Sun Jul 26 2019 12:10:07 GMT+0530)

created_at_minstring

Show files created at or after date (format: Sun Jul 26 2019 12:10:07 GMT+0530)

fieldsstring[] required

Comma separated list of fields to return. See Affiliate Schema to get list of available fields

Limit number of results. Max 1000

Offset of the result

Response

Example response

{
  "files": [
    {
      "id": 1,
      "affiliate_id": 1,
      "name": "filename.jpg",
      "title": "File name",
      "description": "Description for this file",
      "size": 195773,
      "type": "image/jpg",
      "metadata": {
        "width": 300,
        "height": 400
      },
      "created_at": "Tue Sep 01 2026 09:54:14 GMT+0200 (Central European Summer Time)"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.