APIs
Last updated
Last updated
Click the button below to redirect to Postman
GET
https://your-site.com/wp-json/filebird/public/v1/folder/?folder_id=
Get detail of folder by folder_id
folder_id
integer
The folder id
Authorization
string
Bearer Token
GET
https://your-site.com/wp-json/filebird/public/v1/folders
This endpoint allows you to get folders
Authorization
string
Bearer Token
POST
https://your-site.com/wp-json/filebird/public/v1/folders
This endpoint allows you to create new folder.
Authorization
string
Bearer Token
name
string
Your folder name.
parent_id
integer
The parent id of your folder. 0 for parent.
GET
https://your-site.com/wp-json/filebird/public/v1/attachment-id/?folder_id=
This endpoint allows you to get Attachment IDs by folder_id
folder_id
integer
Your Folder Id
Authorization
string
Bearer Token
POST
https://your-site.com/wp-json/filebird/public/v1/folder/set-attachment
Authorization
string
Bearer Token
folder
number
The folder id
ids
number
The attachment ID, it could be a number or an array
set folder = 0 to move images from those folders to Uncategorized
GET
https://your-site.com/wp-json/filebird/public/v1/attachment-count/?folder_id=
folder_id=-1 for All Folder
folder_id=0 for Uncategorized Folder