Skip to content
Docs

Get the data of a user-provided Global Config

GEThttps://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config.
https://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
const response = await fetch('https://api.vercel.com/v1/installations/integrationConfigurationId/resources/resourceId/experimentation/global-config', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{
"digest": "string",
"items": "value",
"purpose": "experimentation",
"updatedAt": "123"
}
AuthorizationbearerToken

Default authentication mechanism

integrationConfigurationIdstringRequired
resourceIdstringRequired
200The Global Config data
digeststringRequired
itemsobjectRequired
purposestringOptional
updatedAtnumberRequired
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
410Error
Get the data of a user-provided Global Config | Vercel API