> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get started with Box Notes API

> Set up authentication and create your first Box Note from Markdown content.

export const RelatedLinks = ({title, items = []}) => {
  const getBadgeClass = badge => {
    if (!badge) return "badge-default";
    const badgeType = badge.toLowerCase().replace(/\s+/g, "-");
    return `badge-${badge === "ガイド" ? "guide" : badgeType}`;
  };
  if (!items || items.length === 0) {
    return null;
  }
  return <div className="my-8">
      {}
      <h3 className="text-sm font-bold uppercase tracking-wider mb-4">{title}</h3>

      {}
      <div className="flex flex-col gap-3">
        {items.map((item, index) => <a key={index} href={item.href} className="py-2 px-3 rounded related_link hover:bg-[#f2f2f2] dark:hover:bg-[#111827] flex items-center gap-3 group no-underline hover:no-underline border-b-0">
            {}
            <span className={`px-2 py-1 rounded-full text-xs font-semibold uppercase tracking-wide flex-shrink-0 ${getBadgeClass(item.badge)}`}>
              {item.badge}
            </span>

            {}
            <span className="text-base">{item.label}</span>
          </a>)}
      </div>
    </div>;
};

export const Link = ({href, children, className, ...props}) => {
  const localizedHref = href;
  return <a href={localizedHref} className={className} {...props}>
      {children}
    </a>;
};

This guide walks you through creating your first Box Note from
Markdown using the Box Notes API. By the end, you have a
`.boxnote` file in your Box account created from a single API call.

## Prerequisites

Before you begin, make sure you have:

* A Box account with file upload permissions.
* A <Link href="/guides/applications/platform-apps/create">platform application</Link> configured in the Box Developer Console.
* A valid access token for authentication (OAuth 2.0 or JWT).
* A target folder ID in Box where you want to create the note.

<Note>
  The Box Notes API requires API version `2026.0`. All requests must
  include the `box-version: 2026.0` header.
</Note>

## Step 1: Generate an access token

You need an access token to authenticate your API calls.

To generate a developer token for testing:

1. Go to **Developer Console** > **My Platform Apps**.
2. Click the **Options menu** button (**…**) next to your app.
3. Select **Generate Developer Token**. The token is automatically
   copied to your clipboard.

<Warning>
  Developer tokens expire after one hour. For production use, implement
  <Link href="/guides/authentication/oauth2">OAuth 2.0</Link> or
  <Link href="/guides/authentication/jwt">JWT authentication</Link>.
</Warning>

## Step 2: Identify your target folder

You need the folder ID where the new note has been created. To find a
folder ID:

* Open the folder in the Box web app. The folder ID is the number at
  the end of the URL: `https://app.box.com/folder/123456789`.
* Alternatively, use the <Link href="/reference/get-folders-id">Get
  folder</Link> API endpoint.

<Tip>
  Use `0` as the folder ID to create the note in the root folder
  (All Files).
</Tip>

## Step 3: Create your first Box Note

Send a `POST` request to the `/2.0/notes/convert` endpoint with your
Markdown content. The API converts the Markdown to a Box Note and
uploads it to the specified folder.

<CodeGroup>
  ```sh cURL theme={null}
  curl -L 'https://api.box.com/2.0/notes/convert' \
       -H 'box-version: 2026.0' \
       -H 'Authorization: Bearer <ACCESS_TOKEN>' \
       -H 'Content-Type: application/json' \
       -d '{
         "content": "# Welcome\n\nThis is my first **Box Note** created using the API.",
         "content_format": "markdown",
         "parent": {
           "id": "123456789"
         },
         "name": "My First Note"
       }'
  ```

  ```python Python theme={null}
  import requests

  url = "https://api.box.com/2.0/notes/convert"
  headers = {
      "box-version": "2026.0",
      "Authorization": "Bearer <ACCESS_TOKEN>",
      "Content-Type": "application/json",
  }
  payload = {
      "content": "# Welcome\n\nThis is my first **Box Note** created using the API.",
      "content_format": "markdown",
      "parent": {"id": "123456789"},
      "name": "My First Note",
  }

  response = requests.post(url, json=payload, headers=headers)
  print(response.status_code, response.json())
  ```

  ```javascript Node.js theme={null}
  const response = await fetch("https://api.box.com/2.0/notes/convert", {
    method: "POST",
    headers: {
      "box-version": "2026.0",
      Authorization: "Bearer <ACCESS_TOKEN>",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      content:
        "# Welcome\n\nThis is my first **Box Note** created using the API.",
      content_format: "markdown",
      parent: { id: "123456789" },
      name: "My First Note",
    }),
  });

  const data = await response.json();
  console.log(data);
  ```
</CodeGroup>

A successful request returns `201 Created` with the new file's
information:

```json theme={null}
{
  "type": "file",
  "id": "1234567890"
}
```

## Step 4: Verify the note was created

Use the returned `id` to retrieve the full file metadata from the
Box Files API:

```sh theme={null}
curl -L 'https://api.box.com/2.0/files/1234567890' \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
```

You can also open the Box web app and navigate to the target folder
to confirm the `.boxnote` file appears.

## Next steps

Now that you have created your first Box Note, explore these guides:

<RelatedLinks
  title="RELATED GUIDES"
  items={[
{ label: translate("Convert Markdown to Box Note"), href: "/guides/box-notes/convert-markdown", badge: "GUIDE" },
{ label: translate("Use cases"), href: "/guides/box-notes/use-cases", badge: "GUIDE" },
{ label: translate("API versioning"), href: "/guides/api-calls/api-versioning-strategy", badge: "GUIDE" }
]}
/>
