Base URL
Authentication
Every request must include a bearer token in theAuthorization header.
altType query parameter must be set to location and altId to your location ID on all requests.
OAuth scopes
| Scope | Access |
|---|---|
medias.readonly | Read and list files and folders |
medias.write | Upload, rename, move, and delete files and folders |
Quick start
List files and folders in a location’s media library:Endpoints
| Method | Path | Description |
|---|---|---|
GET | /medias/files | Get List of Files / Folders |
POST | /medias/upload-file | Upload File into Media Storage |
POST | /medias/folder | Create Folder |
POST | /medias/{id} | Update File / Folder |
DELETE | /medias/{id} | Delete File or Folder |
PUT | /medias/update-files | Bulk Update Files / Folders |
PUT | /medias/delete-files | Bulk Delete / Trash Files or Folders |
Related
- OAuth 2.0 overview — obtain and refresh access tokens
- Blogs API overview — embed media library assets in blog content
- Funnels API overview — use uploaded images in funnel pages
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)