List media
curl --request GET \
--url https://api.autoadify.com/v1/media \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.autoadify.com/v1/media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.autoadify.com/v1/media"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "<string>",
"type": "image",
"status": "pending",
"fileName": "<string>",
"mimeType": "<string>",
"sizeBytes": 0,
"url": "<string>",
"thumbnailUrl": "<string>",
"width": 0,
"height": 0,
"durationSeconds": 0,
"altText": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}Media
List media
Ready files in the media library, newest first.
Requires the read scope.
GET
/
media
List media
curl --request GET \
--url https://api.autoadify.com/v1/media \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.autoadify.com/v1/media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.autoadify.com/v1/media"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "<string>",
"type": "image",
"status": "pending",
"fileName": "<string>",
"mimeType": "<string>",
"sizeBytes": 0,
"url": "<string>",
"thumbnailUrl": "<string>",
"width": 0,
"height": 0,
"durationSeconds": 0,
"altText": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}Authorizations
An API key from Autoadify → Settings → Developers, sent as Authorization: Bearer aak_live_….
Query Parameters
media = anything a post can carry (images, GIFs, videos).
Available options:
image, video, document, media Search file names, alt text and AI descriptions.
Maximum string length:
200Required range:
1 <= x <= 100nextCursor from the previous page.

