Get Account Information
GET
https://api.vercel.com/v1/installations/{integrationConfigurationId}/accountFetches the best account or user’s contact info
https://api.vercel.com/v1/installations/{integrationConfigurationId}/account
const response = await fetch('https://api.vercel.com/v1/installations/integrationConfigurationId/account', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "contact": { "email": "user@example.com", "name": "Example Name" }, "name": "Example Name", "url": "https://example.com"}AuthorizationbearerToken
Default authentication mechanism
integrationConfigurationIdstringRequired
200Success
contactobjectRequired
The best contact for the integration, which can change as team members and their roles change.
namestringOptional
The name of the team the installation is tied to.
urlstringRequired
A URL linking to the installation in the Vercel Dashboard.
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