Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to add an event listener to an instance in Metadata

Answered
New post

Comments

2 comments

  • BB_Jake

     

    Webhooks may work for you - https://developer.box.com/docs/work-with-webhooks

    You can define a webhook for that specific file and monitor whichever events you need to (sounds like you want to listen for METADATA_INSTANCE_UPDATED events) and have the webhook call a specific endpoint in your application to update the newly updated metadata value. I don't see a sample of what the request looks like that the webhook sends but you can assume it will have the box id of the file that was updated. You will need to just test it out and log out the request to see.

    0
    Comment actions Permalink
  • umasenthil

    Thank you for your reply Jake!

     

    0
    Comment actions Permalink

Please sign in to leave a comment.