Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7853367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:39:56+00:00 2026-06-02T19:39:56+00:00

I have been using box-api v1.0 and now see there is a new one

  • 0

I have been using box-api v1.0 and now see there is a new one and would like to take advantage of it. However I am very new to REST and don’t really understand what to do here.

My code for getting folders was this:

wcGetFolders.OpenReadAsync(new Uri("https://www.box.net/api/1.0/rest?action=get_account_tree&api_key=" + api_key + "&auth_token=" + auth_token + "&folder_id=" + currentFolder + "&params[]=onelevel&params[]=nozip"));

But now with the new API I am unsure on how to format the string.

Previously I was able to put all the parameters inside the uri.

Can I still do that?

The new API help indicates that the request looks like this:

https://api.box.com/2.0/folders/FOLDER_ID \
-H "Authorization: BoxAuth api_key=API_KEY&auth_token=AUTH_TOKEN" \

I don’t know what to do with the backslashes and the quotes, basically I don’t know at all how to format the uri and even if all the -h etc parameters actually go into it at all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:39:59+00:00Added an answer on June 2, 2026 at 7:39 pm

    The example requests in the documentation are given for cURL, a command line tool for making HTTP requests, so that is what the example refers to.

    The v2 Box API is RESTful which you can read more about here and here.

    In short, the folder id of the folder you’re trying to get information about should be inserted in the resource URL where FOLDER_ID appears.

    Your code sample indicates that you’re developing in .NET, so I’d recommend using one of the REST libraries available for .NET, many of which are listed here. You may also find it helpful to utilize a REST client such as Postman for playing around with the API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For a while now, I have been using UltraEdit on my Windows box. The
I have been using the CodeIgniter system for a while now - but it
I have been using WPF for a few years now and don't have any
I have been using Weblogic as my company used it. Now I want to
I have been using WSP builder up until now with VS 2008. I recently
I am new to using Microsoft development tools but have been using Visual Studio
I have a bdb database which I have been using on my XP box.
I have Tortoise Hg installed on my Windows box, and have been using mercurial
I have been using JQuery UI dialog box.The following code I am using.Can any
I have been using Photoshop for about three weeks now, finding it very different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.