Vercel API
Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work.
- Homepage
- https://api.apis.guru/v2/specs/vercel.com/0.0.1.json
- Provider
- vercel.com
- OpenAPI version
- 3.1.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/vercel.com/0.0.1/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/vercel.com/0.0.1/openapi.yaml
Tools (115)
Extracted live via the executor SDK.
-
aliases.assignAliasCreates a new alias for the deployment with the given deployment ID. The authenticated user must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.
-
aliases.deleteAliasDelete an Alias with the specified ID.
-
aliases.getAliasRetrieves an Alias for the given host name or alias ID.
-
aliases.listAliasesRetrieves a list of aliases for the authenticated User or Team. When
domainis provided, only aliases for that domain will be returned. WhenprojectIdis provided, it will only return the given project aliases. -
aliases.listDeploymentAliasesRetrieves all Aliases for the Deployment with the given ID. The authenticated User must own the deployment.
-
artifacts.artifactExistsCheck that a cache artifact with the given
hashexists. This request returns response headers only and is equivalent to aGETrequest to this endpoint where the response contains no body. -
artifacts.artifactQueryQuery information about an array of artifacts.
-
artifacts.downloadArtifactDownloads a cache artifact indentified by its
hashspecified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body. -
artifacts.recordEventsRecords an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are
HITandMISS. The source is eitherLOCALthe cache event was on the users filesystem cache orREMOTEif the cache event is for a remote cache. When the event is aHITthe request also accepts a numberdurationwhich is the time taken to generate the artifact in the cache. -
artifacts.statusCheck the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits.
-
artifacts.uploadArtifactUploads a cache artifact identified by the
hashspecified on the path. The cache artifact can then be downloaded with the providedhash. -
authentication.createAuthTokenCreates and returns a new authentication token for the currently authenticated User. The
bearerTokenproperty is only provided once, in the response body, so be sure to save it on the client for use with API requests. -
authentication.deleteAuthTokenInvalidate an authentication token, such that it will no longer be valid for future HTTP requests.
-
authentication.emailLoginRequest a new login for a user to get a token. This will respond with a verification token and send an email to confirm the request. Once confirmed you can use the verification token to get an authentication token.
-
authentication.getAuthTokenRetrieve metadata about an authentication token belonging to the currently authenticated User.
-
authentication.listAuthTokensRetrieve a list of the current User's authentication tokens.
-
authentication.verifyTokenVerify the user accepted the login request and get a authentication token. The user email address and the token received after requesting the login must be added to the URL as a query string with the names
emailandtoken. -
certs.getCertByIdGet cert by id
-
certs.issueCertIssue a new cert
-
certs.removeCertRemove cert
-
certs.uploadCertUpload a cert
-
checks.createCheckCreates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
-
checks.getAllChecksList all of the checks created for a deployment.
-
checks.getCheckReturn a detailed response for a single check.
-
checks.rerequestCheckRerequest a selected check that has failed.
-
checks.updateCheckUpdate an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
-
deployments.cancelDeploymentThis endpoint allows you to cancel a deployment which is currently building, by supplying its
idin the URL. -
deployments.createDeploymentCreate a new deployment with all the required and intended data. If the deployment is not a git deployment, all files must be provided with the request, either referenced or inlined. Additionally, a deployment id can be specified to redeploy a previous deployment.
-
deployments.deleteDeploymentThis API allows you to delete a deployment, either by supplying its
idin the URL or theurlof the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments. -
deployments.getDeploymentRetrieves information for a deployment either by supplying its ID (
idproperty) or Hostname (urlproperty). Additional details will be included when the authenticated user is an owner of the deployment. -
deployments.getDeploymentEventsGet the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.
-
deployments.getDeploymentFileContentsAllows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain the raw content of the file.
-
deployments.getDeploymentsList deployments under the account corresponding to the API token. If a deployment hasn't finished uploading (is incomplete), the
urlproperty will have a value ofnull. -
deployments.listDeploymentBuildsRetrieves the list of builds given their deployment's unique identifier.
-
deployments.listDeploymentFilesAllows to retrieve the file structure of a deployment by supplying the deployment unique identifier.
-
deployments.uploadFileBefore you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body.
-
dns.createRecordCreates a DNS record for a domain.
-
dns.getRecordsRetrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.
-
dns.removeRecordRemoves an existing DNS record from a domain name.
-
dns.updateRecordUpdates an existing DNS record for a domain name.
-
domains.buyDomainAllows to purchase the specified domain.
-
domains.checkDomainPriceCheck the price to purchase a domain and how long a single purchase period is.
-
domains.checkDomainStatusCheck if a domain name is available for purchase.
-
domains.createOrTransferDomainThis endpoint is used for registering a new domain name with Vercel for the authenticating user, and also for initiating a domain transfer request from an external Registrar to Vercel.
-
domains.deleteDomainDelete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.
-
domains.getDomainGet information for a single domain in an account or team.
-
domains.getDomainConfigGet a Domain's configuration.
-
domains.getDomainsRetrieves a list of domains registered for the authenticating user. By default it returns the last 20 domains if no limit is provided.
-
edgeConfig.createEdgeConfigCreates an Edge Config.
-
edgeConfig.createEdgeConfigTokenAdds a token to an existing Edge Config.
-
edgeConfig.deleteEdgeConfigDelete an Edge Config by id.
-
edgeConfig.deleteEdgeConfigTokensDeletes one or more tokens of an existing Edge Config.
-
edgeConfig.getEdgeConfigReturns an Edge Config.
-
edgeConfig.getEdgeConfigItemReturns a specific Edge Config Item.
-
edgeConfig.getEdgeConfigItemsReturns all items of an Edge Config.
-
edgeConfig.getEdgeConfigsReturns all Edge Configs.
-
edgeConfig.getEdgeConfigTokenReturn meta data about an Edge Config token.
-
edgeConfig.getEdgeConfigTokensReturns all tokens of an Edge Config.
-
edgeConfig.patchtEdgeConfigItemsUpdate multiple Edge Config Items in batch.
-
edgeConfig.updateEdgeConfigUpdates an Edge Config.
-
integrations.deleteConfigurationAllows to remove the configuration with the
idprovided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables. -
integrations.getConfigurationAllows 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.
-
integrations.getConfigurationsAllows to retrieve all configurations for an authenticated integration. When the
projectview is used, configurations generated for the authorization flow will be filtered out of the results. -
integrations.getV1IntegrationsSearchRepoLists git repositories linked to a namespace
idfor a supported provider. A specific namespaceidcan be obtained via thegit-namespacesendpoint. Supported providers aregithub,gitlabandbitbucket. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request. -
integrations.gitNamespacesLists git namespaces for a supported provider. Supported providers are
github,gitlabandbitbucket. If the provider is not provided, it will try to obtain it from the user that authenticated the request. -
logDrains.createConfigurableLogDrainCreates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)
-
logDrains.createLogDrainCreates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.
-
logDrains.deleteConfigurableLogDrainDeletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.
-
logDrains.deleteIntegrationLogDrainDeletes the Integration log drain with the provided
id. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it. -
logDrains.getConfigurableLogDrainRetrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.
-
logDrains.getConfigurableLogDrainsRetrieves a list of Configurable Log Drains. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.
-
logDrains.getIntegrationLogDrainsRetrieves a list of all Integration log drains that are defined for the authorized account. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.
-
projects.addProjectDomainAdd a domain to the project by passing its domain name and by specifying the project by either passing the project
idornamein the URL. If the domain is not yet verified to be used on this project, the request will returnverified = false, and the domain will need to be verified according to theverificationchallenge viaPOST /projects/:idOrName/domains/:domain/verify. If the domain already exists on the project, the request will fail with a400status code. -
projects.createProjectAllows to create a new project with the provided configuration. It only requires the project
namebut more configuration can be provided to override the defaults. -
projects.createProjectEnvCreate one ore more environment variables for a project by passing its
key,value,typeandtargetand by specifying the project by either passing the projectidornamein the URL. -
projects.deleteProjectDelete a specific project by passing either the project
idornamein the URL. -
projects.editProjectEnvEdit a specific environment variable for a given project by passing the environment variable identifier and either passing the project
idornamein the URL. -
projects.filterProjectEnvsRetrieve the environment variables for a given project by passing either the project
idornamein the URL. -
projects.getProjectGet the information for a specific project by passing either the project
idornamein the URL. -
projects.getProjectDomainGet project domain by project id/name and domain name.
-
projects.getProjectDomainsRetrieve the domains associated with a given project by passing either the project
idornamein the URL. -
projects.getProjectEnvRetrieve the environment variable for a given project.
-
projects.getProjectsAllows to retrieve the list of projects of the authenticated user. The list will be paginated and the provided query parameters allow filtering the returned projects.
-
projects.removeProjectDomainRemove a domain from a project by passing the domain name and by specifying the project by either passing the project
idornamein the URL. -
projects.removeProjectEnvDelete a specific environment variable for a given project by passing the environment variable identifier and either passing the project
idornamein the URL. -
projects.updateProjectUpdate the fields of a project using either its
nameorid. -
projects.updateProjectDomainUpdate a project domain's configuration, including the name, git branch and redirect of the domain.
-
projects.verifyProjectDomainAttempts to verify a project domain with
verified = falseby checking the correctness of the project domain'sverificationchallenge. -
secrets.createSecretAllows to create a new secret.
-
secrets.deleteSecretThis deletes the user's secret defined in the URL.
-
secrets.getSecretRetrieves the information for a specific secret by passing either the secret id or name in the URL.
-
secrets.getSecretsRetrieves the active Vercel secrets for the authenticated user. By default it returns 20 secrets. The rest can be retrieved using the pagination options. The body will contain an entry for each secret.
-
secrets.renameSecretEnables to edit the name of a user's secret. The name has to be unique to that user's secrets.
-
teams.createTeamCreate a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.
-
teams.deleteTeamDelete a team under your account. You need to send a
DELETErequest with the desired teamid. An optional array of reasons for deletion may also be sent. -
teams.deleteTeamInviteCodeDelete an active Team invite code.
-
teams.getTeamGet information for the Team specified by the
teamIdparameter. -
teams.getTeamAccessRequestCheck the status of a join request. It'll respond with a 404 if the request has been declined. If no
userIdpath segment was provided, this endpoint will instead return the status of the authenticated user. -
teams.getTeamMembersGet a paginated list of team members for the provided team.
-
teams.getTeamsGet a paginated list of all the Teams the authenticated User is a member of.
-
teams.inviteUserToTeamInvite a user to join the team specified in the URL. The authenticated user needs to be an
OWNERin order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority. -
teams.joinTeamJoin a team with a provided invite code or team ID.
-
teams.patchTeamUpdate the information of a Team specified by the
teamIdparameter. The request body should contain the information that will be updated on the Team. -
teams.removeTeamMemberRemove a Team Member from the Team, or dismiss a user that requested access, or leave a team.
-
teams.requestAccessToTeamRequest access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.
-
teams.updateTeamMemberUpdate the membership of a Team Member on the Team specified by
teamId, such as changing the role of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be anOWNERof the Team. -
user.getAuthUserRetrieves information related to the currently authenticated User.
-
user.listUserEventsRetrieves a list of "events" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the
teamIdparameter is supplied, then the events that are returned will be in relation to the Team that was specified. -
user.requestDeleteInitiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process.
-
webhooks.createWebhookCreates a webhook
-
webhooks.deleteWebhookDeletes a webhook
-
webhooks.getWebhookGet a webhook
-
webhooks.getWebhooksGet a list of webhooks
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools