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

How to add service account as collaborator on user folder.

New post

Comments

6 comments

  • Kourtney

    Hello, 

     

    Thanks so much for using our platform and development forum! 

     

    To do this via the API, you will need to obtain a token for either the content owner or a collaborator who has a high enough access level to add collaborators, and then use the create collaboration endpoint

     

    Let me know if you have any questions or would like directions on how to do this via the webapp! 

     

    Best, 

    Kourtney 

    0
    Comment actions Permalink
  • jmckearin

    How do we do this without having to obtain a user token and use the API? If I have a user which can create collaborator's in the UI, can they not add a service account themselves?

     

    UPDATE:

    Disregard. For anyone that comes across this in the future. If you do get the service account user id (using the api), then you can make a call to the users api and it will return the generated email address for the service account user. You can then have someone with permissions invite that user as a collaborator using the generated email address through the UI.

    1
    Comment actions Permalink
  • colincam

    Thanks for the post.  I was just trying to find a less clunky way to grant access to a service account, but based on this thread, I will assume that this is the way to do it.

     

    Colin

    0
    Comment actions Permalink
  • Sachin Sudheer

    How do i get the service account userid through api call or dev console? 

    0
    Comment actions Permalink
  • Box User

    tbh, everything posted here is useless at all! no examples are working at all!

    0
    Comment actions Permalink
  • Sachin Sudheer

    I was able to get the email id for the service account using get user api function using the config file. Through the authenticator token it wasnt working

    0
    Comment actions Permalink

Please sign in to leave a comment.