Get configurations for the authenticated user or team
GET
/__remote/api.vercel.com/v1/integrations/configurationsAllows to retrieve all configurations for an authenticated integration. When the
project view is used, configurations generated for the authorization flow will be filtered out of the results.Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.integrations.getConfigurations({ view: "account", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", });
console.log(result);}
run();Response
[ { "acceptedPoliciesInheritedFromInstallationId": "example_id", "completedAt": "1558531915505", "createdAt": "1558531915505", "customerDeleteRequestedAt": "123", "deletedAt": "1558531915505", "deleteRequestedAt": "1558531915505", "disabledAt": "1558531915505", "disabledReason": "account-plan-downgrade", "externalId": "example_id", "id": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F", "installationType": "external", "integrationId": "oac_xzpVzcUOgcB1nrVlirtKhbWV", "ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf", "projects": [], "scopes": [], "slug": "slack", "source": "marketplace", "status": "error", "teamId": "team_nLlpyC6RE1qxydlFKbrxDlud", "type": "integration-configuration", "updatedAt": "1558531915505", "userId": "kr1PsOIzqEL5Xg6M4VZcZosf" }]AuthorizationbearerToken
Default authentication mechanism