How to hit the Cloudinary API

Cloudinary stores, transforms, and delivers images and video. The Admin API at https://api.cloudinary.com/v1_1/<cloud> manages assets; delivery URLs on res.cloudinary.com transform them on the fly.

Authentication

The Admin API uses Basic auth with your API key and secret from the Cloudinary console — curl's -u, PostTaco's Auth tab. {{CLOUD_NAME}} is your cloud name. The tag list below is public if a cloud allows it; demo is Cloudinary's own demo cloud.

Full reference: https://cloudinary.com/documentation/admin_api

List images with a tag (public)

Runs as-is against Cloudinary's demo cloud.

curl https://res.cloudinary.com/demo/image/list/sample.json
Run in PostTaco
Example response (trimmed)
{
  "resources": [
    {
      "public_id": "red_dress_crop_1.700_gif70_hunor3",
      "version": 1553525837,
      "format": "gif",
      "width": 636,
      "height": 1080,
      "type": "upload",
      "created_at": "2019-03-25T14:57:17Z"
    },
    {
      "public_id": "sample/flowers",
      "version": 1429686295,
      "format": "jpg",
      "width": 5034,
      "height": 2653,
      "type": "upload",
      "created_at": "2015-04-22T07:04:55Z"
    }
  ],
  "updated_at": "2019-03-25T19:24:27Z"
}

List your images

curl "https://api.cloudinary.com/v1_1/{{CLOUD_NAME}}/resources/image?max_results=10" \
  -u {{CLOUDINARY_API_KEY}}:{{CLOUDINARY_API_SECRET}}
Run in PostTaco

Account usage

curl https://api.cloudinary.com/v1_1/{{CLOUD_NAME}}/usage \
  -u {{CLOUDINARY_API_KEY}}:{{CLOUDINARY_API_SECRET}}
Run in PostTaco