Skip to main content
Question

How to get Owner's collaboration ID through Box API

  • May 27, 2025
  • 2 replies
  • 9 views

Forum|alt.badge.img

I want to transfer folders from one User to another user using Collaboration Transfer Method following these posts.
https://developer.box.com/guides/users/deprovision/transfer-folders/#fetch-collaboration-id-as-transfer-to-user
But now blocked by this step "Remove Transfer From User as Owner",
because It does not work to get Owner collaboration ID through "get collaboration endpoint" and the return result only include Co-Owner collaboration ID.

Is there any other way to get Owner collaboration ID?

2 replies

Forum|alt.badge.img
  • Author
  • Box Employee
  • 34738 replies
  • May 27, 2025

Hi there,

Welcome to Box Community and glad to assist!

It shows that you have a designated team that works with Box Premier Services.

For immediate assistance, you should contact your internal helpdesk team.

Thanks for posting! 


Forum|alt.badge.img
  • Author
  • Box Employee
  • 34738 replies
  • May 27, 2025

Hi Jennie,

As you suggested, I can get the original Owner user 's collaboration ID after promoting another user to Owner. But it seems that the user collaboration ID does not work after I recover the original Owner user to Owner.
I use this  Box SDK java code and it will throw " not_found - Not Found " Error.
BoxCollaboration co = new BoxCollaboration(api,"XXXXXXXX");

I wonder if that is because the collaboration ID will be set to NULL when the user role is Owner.  Or there is any other way to get the Owner's collaboration ID directly?

Thanks.