Skip to content
Docs

Retrieve an integration configuration

GEThttps://api.vercel.com/v1/integrations/configuration/{id}
Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.
https://api.vercel.com/v1/integrations/configuration/{id}
const response = await fetch('https://api.vercel.com/v1/integrations/configuration/id?teamId=string&slug=string', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{
"projectSelection": "all",
"notification": {
"level": "error",
"title": "string",
"message": "string",
"href": "string"
},
"transferRequest": {
"kind": "transfer-to-marketplace",
"metadata": "value",
"billingPlan": {
"id": "icfg_1234567890",
"type": "prepayment",
"scope": "installation",
"name": "Example Name",
"description": "string",
"paymentMethodRequired": "false",
"preauthorizationAmount": "123"
},
"requestId": "example_id",
"transferId": "example_id",
"requester": {
"name": "Example Name",
"email": "user@example.com"
},
"createdAt": "123",
"expiresAt": "123",
"discardedAt": "123",
"discardedBy": "string",
"approvedAt": "123",
"approvedBy": "string",
"authorizationId": "example_id"
},
"projects": [],
"status": "error",
"type": "integration-configuration",
"id": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F",
"integrationId": "oac_xzpVzcUOgcB1nrVlirtKhbWV",
"userId": "kr1PsOIzqEL5Xg6M4VZcZosf",
"createdAt": "1558531915505",
"deletedAt": "1558531915505",
"slug": "slack",
"teamId": "team_nLlpyC6RE1qxydlFKbrxDlud",
"updatedAt": "1558531915505",
"scopes": [],
"ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf",
"canConfigureOpenTelemetry": "false",
"completedAt": "1558531915505",
"externalId": "example_id",
"source": "marketplace",
"disabledAt": "1558531915505",
"deleteRequestedAt": "1558531915505",
"customerDeleteRequestedAt": "123",
"disabledReason": "account-plan-downgrade",
"installationType": "external",
"acceptedPoliciesInheritedFromInstallationId": "example_id"
}
AuthorizationbearerToken

Default authentication mechanism

idstringRequired
ID of the configuration to check
teamIdstringOptional
The Team identifier to perform the request on behalf of.
slugstringOptional
The Team slug to perform the request on behalf of.
200The configuration with the provided id
projectSelectionstringRequired
A string representing the permission for projects. Possible values are all or selected.
notificationobjectRequired
transferRequestobjectRequired2 variants
projectsarrayOptional
When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
statusstringOptional
The configuration status. Optional. If not defined, assume 'ready'.
typestringRequired
idstringRequired
The unique identifier of the configuration
integrationIdstringRequired
The unique identifier of the app the configuration was created for
userIdstringRequired
The ID of the user that created the configuration.
createdAtnumberRequired
A timestamp that tells you when the configuration was created
deletedAtnumberOptional
A timestamp that tells you when the configuration was deleted.
slugstringRequired
The slug of the integration the configuration is created for.
teamIdstringOptional
When the configuration was created for a team, this will show the ID of the team.
updatedAtnumberRequired
A timestamp that tells you when the configuration was updated.
scopesarrayRequired
The resources that are allowed to be accessed by the configuration.
ownerIdstringRequired
The user or team ID that owns the configuration
canConfigureOpenTelemetrybooleanOptional
completedAtnumberOptional
A timestamp that tells you when the configuration was installed successfully
externalIdstringOptional
An external identifier defined by the integration vendor.
sourcestringOptional
Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
disabledAtnumberOptional
A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
deleteRequestedAtnumberOptional
A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
customerDeleteRequestedAtnumberOptional
Record when the customer initited deletion, independent of whether deleteRequestedAt gets set.
disabledReasonstringOptional
installationTypestringOptional
Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
acceptedPoliciesInheritedFromInstallationIdstringOptional
Historical parent installation from which acceptedPolicies were inherited. This is immutable provenance, not current authorization or relationship truth.
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404The configuration was not found
410Error