GET
/
v1
/
integrations
/
configurations
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await vercel.integrations.getConfigurations({
    view: "account",
    teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
    slug: "my-team-url-slug",
  });

  // Handle the result
  console.log(result);
}

run();
[
  {
    "completedAt": 1558531915505,
    "createdAt": 1558531915505,
    "id": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F",
    "integrationId": "oac_xzpVzcUOgcB1nrVlirtKhbWV",
    "ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf",
    "projects": [
      "prj_xQxbutw1HpL6HLYPAzt5h75m8NjO"
    ],
    "source": "marketplace",
    "slug": "slack",
    "teamId": "team_nLlpyC6RE1qxydlFKbrxDlud",
    "type": "integration-configuration",
    "updatedAt": 1558531915505,
    "userId": "kr1PsOIzqEL5Xg6M4VZcZosf",
    "scopes": [
      "read:project",
      "read-write:log-drain"
    ],
    "disabledAt": 1558531915505,
    "deletedAt": 1558531915505,
    "deleteRequestedAt": 1558531915505,
    "disabledReason": "disabled-by-owner",
    "installationType": "marketplace"
  }
]

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

view
enum<string>
required
Available options:
account,
project
installationType
enum<string>
Available options:
marketplace,
external
integrationIdOrSlug
string

ID of the integration

teamId
string

The Team identifier to perform the request on behalf of.

Example:

"team_1a2b3c4d5e6f7g8h9i0j1k2l"

slug
string

The Team slug to perform the request on behalf of.

Example:

"my-team-url-slug"

Response

200
application/json

The list of configurations for the authenticated user