---
title: "POST Cloudflare R2 object created webhook"
description: "Called by the Cloudflare queue consumer Worker to handle R2 object creation notifications."
last_updated: "2026-10-05T05:08:27.295837+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/webhooks/cloudflarer2objectcreatedwebhook"
---

<APIEndpoint
  method={"POST"}
  path={"/api/cloudflare/webhook/r2-object-created"}
  summary={"Cloudflare R2 object created webhook"}
  description={"Called by the Cloudflare queue consumer Worker to handle R2 object creation notifications."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"authorization","in":"header","required":false,"description":"Bearer token for worker secret verification","schema":{"type":"string"}}]} />

## Request Body

Webhook notification body

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Webhook processed successfully"}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"401"}
  description={"Unauthorized"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"500"}
  description={"Internal server error"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/cloudflare/webhook/r2-object-created"}
  parameters={[{"name":"authorization","in":"header","required":false,"description":"Bearer token for worker secret verification","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Webhook notification body","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
