Sketchfab Forum

Notification whenmodel has been uploaded and processed

upload

(Klaasnienhuis) #1

Hi,
in most of my projects I need to repeatedly upload a model and apply a material and environment preset to it. I do this with the patch method in the data api and it works great. However, I always need to wait for the model to be processed before I can patch it. Is it possible to set up a webhook when processing is done? At the moment I'm the one applying these presets, but I've got a project coming up where end users upload their own models and have to patch them. Having this done automatically when triggered by the webhook would improve that process a lot.


#2

The only way to do it right now, as far as I know, is to poll the processing status.


(Klaasnienhuis) #3

Yes, it appears so. Is that already included in the V3 api? I'm unable to locate it


#4

Can you not just GET https://api.sketchfab.com/v3/models/442c548d94744641ba279ae94b5f45ec , which includes the status object?