ACME API Documentation logo

Get All Media in Gallery

Retrieve all the images and videos uploaded to the gallery

GEThttps://api.acme.com/api/media
Available on Premium, Business, Enterprise plans.

Retrieve all the images uploaded to the image gallery including resized images.

Header Parameters

Authorizationstringrequired
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Keystring
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY
curl \
-H "Authorization: Bearer [API Key]" \
-X GET https://api.acme.com/api/media
[
    {
        "id": "5553a26a-cffb-4a31-bd89-dee296d35648-jpeg",
        "timeCreated": "2025-07-30T20:23:49.774Z",
        "size": "223340",
        "url": "https://images.acme.com/LW8kx9Q5smXeJl5CujF7DxFAF1q1/5553a26a-cffb-4a31-bd89-dee296d35648.jpeg",
        "fileName": "test1.jpeg",
        "description": "Test1",
        "expiresAt": "2025-09-05T22:00:48.000Z" // The date and time the media will expire
    },
    {
        "id": "93383cc7-7a15-4d16-a5fa-fdda1f9bebe2-jpeg",
        "timeCreated": "2025-07-30T20:24:57.421Z",
        "size": "223340",
        "url": "https://images.acme.com/LW8kx9Q5smXeJl5CujF7DxFAF1q1/93383cc7-7a15-4d16-a5fa-fdda1f9bebe2.jpeg",
        "fileName": "test2.jpeg",
        "description": "Test2",
        "expiresAt": "2025-09-05T22:00:48.000Z" // The date and time the media will expire
    }
]