Add label in instances

how can I add label using https://orthanc.uclouvain.be/demo/studies/{id}/labels/{label} given that it accepts id as instance id and I am una ble to get instance id?

I believe you can consult the Orthanc community, and they will assist you.

https://discourse.orthanc-server.org/