Menu

Get Integration Resource

GEThttps://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}
Get a resource by its partner ID.
https://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}
const response = await fetch('https://api.vercel.com/v1/installations/string/resources/string', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{
"id": "string",
"internalId": "string",
"name": "string",
"status": "ready",
"productId": "string",
"protocolSettings": {
"experimentation": {
"edgeConfigSyncingEnabled": "false",
"edgeConfigId": "string",
"edgeConfigTokenId": "string"
}
},
"notification": {
"level": "error",
"title": "string",
"message": "string",
"href": "string"
},
"billingPlanId": "string",
"metadata": "value"
}
AuthorizationbearerToken

Default authentication mechanism

integrationConfigurationIdstringRequired
The ID of the integration configuration (installation) the resource belongs to
resourceIdstringRequired
The ID provided by the 3rd party provider for the given resource
idstringRequired
The ID provided by the 3rd party provider for the given resource
internalIdstringRequired
The ID assigned by Vercel for the given resource
namestringRequired
The name of the resource as it is recorded in Vercel
statusstringOptional
The current status of the resource
productIdstringRequired
The ID of the product the resource is derived from
protocolSettingsobjectOptional
Any settings provided for the resource to support its product's protocols
notificationobjectOptional
The notification, if set, displayed to the user when viewing the resource in Vercel
billingPlanIdstringOptional
The ID of the billing plan the resource is subscribed to, if applicable
metadataobjectOptional
The configured metadata for the resource as defined by its product's Metadata Schema
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.
404Error
Get Integration Resource | Vercel API