Trigger event when direct upload succeeds?

Is it possible to detect when a direct upload succeeds? I would like to add the image id as a record in a database on successful upload, but currently I can only do this when creating the direct upload link, but then I would have to check later if the image upload succeeded or failed, which may leave redundant database entries.

Currently it is only possible by checking the draft: true status on a return image from API on image get request Cloudflare API Documentation.

See details on direct upload page:

This topic was automatically closed after 15 days. New replies are no longer allowed.