List the media files already uploaded to your organization's media library, newest first, 18 per page.
Authorization
Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.
Parameters
pageintegerquery · Page number (1-indexed). Defaults to 1.
searchstringquery · Case-insensitive filter on the original file name.
Request
curl -X GET 'https://tryferra.co/api/public/v1/media' \
-H 'Authorization: your-api-key'Responses
200Paginated list of media files
{
"pages": 2,
"results": [
{
"id": "e639003b-f727-4a1e-87bd-74a2c48ae41e",
"name": "6fba0ef5febb4400ae8778a5b854224d.png",
"originalName": "cover-cyan.png",
"path": "https://tryferra.co/uploads/6fba0ef5febb4400ae8778a5b854224d.png",
"createdAt": "2024-12-14T08:18:54.274Z"
}
]
}List the files already in your media library so you can reuse them as post attachments without uploading again. Results are scoped to your organization, sorted newest first, 18 per page.
Query parameters
page: page number, starting at 1 (default 1).search: case-insensitive filter on the original file name.
Example
curl "https://tryferra.co/api/public/v1/media?search=banner&page=1" \
-H "Authorization: your-api-key"
Response:
{
"pages": 1,
"results": [
{
"id": "e639003b-f727-4a1e-87bd-74a2c48ae41e",
"name": "6fba0ef5febb4400ae8778a5b854224d.png",
"originalName": "launch-banner.png",
"path": "https://tryferra.co/uploads/6fba0ef5febb4400ae8778a5b854224d.png",
"createdAt": "2025-01-10T09:12:00.000Z"
}
]
}
Pass an item's path in a post's image array (see Create Post). path is a public URL, so there is no separate download endpoint.