Skip to main content
Question

hpw to get custom metadata via API

  • May 22, 2025
  • 2 replies
  • 23 views

Forum|alt.badge.img

https://api.box.com/2.0/metadata_templates/enterprise

 

This call doesn't return "custom metadata"

2 replies

Forum|alt.badge.img

Hello ,

 

this endpoint returns all metadata templates created. Custom metadata is not a template on itself. As every single document and folder can have different metadata fields, there is no single template.

 

If you want to retrieve the custom metadata associated to a file or folder you can use these two endpoints:

https://developer.box.com/v2.0/reference#get-all-metadata

https://developer.box.com/v2.0/reference#get-metadata

 

Hope this helps.

 

Regards


Forum|alt.badge.img

How do you updated custom metadata? 

 

I added a few custom metadata key-value pairs and now from the API https://api.box.com/2.0/files/file_id/metadata/scope/template , how do I make updates? I don't have a metadata template nor a scope values.