files
GET /admin/files
Retrieves affiliate files
Request
- Base URLhttps://api.goaffpro.com/v1
- URLhttps://api.goaffpro.com/v1/admin/files
- AuthAPI key in header x-goaffpro-access-token
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 Nov 03 2026 07:14:03 GMT+0100 (Central European Standard Time)"
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.