List Requests

Last modified: October 16, 2021Author: Jakub Pomykała

This endpoint allows you to list all of your paid requests. It returns records of taken screenshots, and generated images.

GET Endpoint

https://api.bannerly.io/api/v1/requests

Example request

curl 
    --location 
    --request GET 'https://api.bannerly.io/api/v1/requests' \
    --header 'X-API-KEY: <API_KEY>' \
    --header 'Content-Type: application/json'

Example response

The response contains two entries. First entry is a screenshot type and the second entry is an image generated based on template.

[
    {
    "identifier": "1dDefKaC-58XFhX81sPus1v41SM",
    "href": "https://cdn.bannerly.io/camo/.../image.png",
    "executeUrl": "https://bannerly.io",
    "status": "200",
    "width": 1366,
    "height": 768,
    "type": "screenshot",
    "createdAt": "2019-09-30T14:00:42"
    },
    {
      "identifier": "old54T8w2TERyZZQSzIcRmiWF4",
      "href": "https://cdn.bannerly.io/camo/old54T8w2TERyZZQSzIcRmiWF4.png",
      "status": "200",
      "width": 1080,
      "height": 1080,
      "type": "image",
      "template": "OvS9eNpSyXpnIo8rxG7oBndtyWs",
      "templateName": "My Template",
      "changes": "<CHANGES_ARRAY>",
      "createdAt": "2019-09-27T19:44:03"
    }
]