---
updatedAt: 2026-04-22T15:51:57.000Z
agentTools:
  projectIndex: https://360learning.readme.io/llms.txt
---

# Migrate getCustomLinks

This guide outlines the changes introduced in the [List custom links](https://360learning.readme.io/reference/v2customlinksgetcustomlinksbycompanycontroller_getcustomlinksbycompany) v2 endpoint (previously known as `GET
getCustomLinks` in v1).

<Callout icon="💡" theme="default">
  ### Key changes

  * **Pagination:** The v2 endpoint is paginated with a page size of 1,000 custom links. A Link header is provided in the response to fetch subsequent pages.
</Callout>

## Documentation links

Here are the links to the API reference for:

* [API v1](https://api.360learning.com/#10ad0c71-e7ae-4fd6-a05c-68bf28cf6737)
* [API v2](https://360learning.readme.io/reference/v2customlinksgetcustomlinksbycompanycontroller_getcustomlinksbycompany)

## Endpoint mapping

Here's the direct correlation between the v1 and v2 endpoint URLs:

* API v1: `/api/v1/customlinks`
* API v2: `/api/v2/custom-links`

## Input changes

This section details the specific alterations to the input requirements between API versions.

### API v1 input example

```Text Shell
curl --location -g 'https://app.360learning.com/api/v1/customlinks?company={{company}}&apiKey={{apiKey}}'
```

### API v2 input example

```Text Shell
curl --request GET \
     --url https://app.360learning.com/api/v2/custom-links \
     --header '360-api-version: v2.0' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer access_token'
```

### Main input differences

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Change type
      </th>

      <th>
        API v1
      </th>

      <th>
        API v2
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <span class="param-added">Added</span><br />Header parameter
      </td>

      <td>
        * <br />
      </td>

      <td>
        `360-api-version` (Required):  API version identifier. Example: `v2.0`.
      </td>
    </tr>
  </tbody>
</Table>

## Output changes

This section details the specific alterations to the successful output returned between API versions.

### API v1 output example

```Text JSON
[
  {
    "_id": "62824f79aeu0e6fedb8b9255",
    "company": "5c376013c7bd33220c4c28ad",
    "name": "Gmail",
    "order": 0,
    "type": "mailbox link",
    "iconName": "inbox"
  }
]
```

### API v2 output example

```Text JSON
[
  {
    "name": "Gmail",
    "order": 0,
    "type": "mailbox link",
    "iconName": "inbox",
    "_id": "62824f79aeu0e6fedb8b9255"
  }
]
```

### Main output differences

API v2 introduces pagination.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Change type
      </th>

      <th>
        API v1
      </th>

      <th>
        API v2
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <span class="param-removed">Removed</span><br />Output property
      </td>

      <td>
        `company`: Removed from endpoint v2 version, not replaced.
      </td>

      <td>
        * <br />
      </td>
    </tr>

    <tr>
      <td>
        <span class="param-modified">Modified</span><br /> Success output
      </td>

      <td>
        `200`: Returns a full list of custom links in a single array.
      </td>

      <td>
        `200`: Returns one page of 1,000 custom links. Includes a Link header for pagination.
      </td>
    </tr>
  </tbody>
</Table>