Skip to content

Cloudflare Batch Image Upload Endpoint #18929

@DevX86

Description

@DevX86

Existing documentation URL(s)

https://developers.cloudflare.com/images/upload-images/images-batch/

What changes are you suggesting?

curl "https://batch.imagedelivery.net/images/v2" \
--header "Authorization: Bearer <BATCH_TOKEN>"

Should be

curl "https://batch.imagedelivery.net/images/v1" \
--header "Authorization: Bearer <BATCH_TOKEN>"

It also says batch and normal endpoints are the same aside from uri.

After getting your token, you can use it to make requests for:

Upload an image ↗ - POST /images/v1
Delete an image ↗ - DELETE /images/v1/{identifier}
Image details ↗ - GET /images/v1/{identifier}
Update image ↗ - PATCH /images/v1/{identifier}
List images V2 ↗ - GET /images/v2
Direct upload V2 ↗ - POST /images/v2/direct_upload
These options use a different host and a different path with the same method, request, and response bodies.

You can not make a url upload image request with the batch endpoint, it supports form post only, unlike the normal endpoint.

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions