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

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

async function run() {
  const result = await vercel.integrations.getConfiguration({
    id: "icfg_cuwj0AdCdH3BwWT4LPijCC7t",
    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

Path Parameters

id
string
required

ID of the configuration to check

Example:

"icfg_cuwj0AdCdH3BwWT4LPijCC7t"

Query Parameters

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 configuration with the provided id