Creates an access group
Allows to create an access group
postaccess-groups/v1/access-groups
Create an access group project
Allows creation of an access group project
postaccess-groups/v1/access-groups/{accessGroupIdOrName}/projects
Deletes an access group
Allows to delete an access group
deleteaccess-groups/v1/access-groups/{idOrName}
Delete an access group project
Allows deletion of an access group project
deleteaccess-groups/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}
List members of an access group
List members of an access group
getaccess-groups/v1/access-groups/{idOrName}/members
List projects of an access group
List projects of an access group
getaccess-groups/v1/access-groups/{idOrName}/projects
List access groups for a team, project or member
List access groups
getaccess-groups/v1/access-groups
Reads an access group
Allows to read an access group
getaccess-groups/v1/access-groups/{idOrName}
Reads an access group project
Allows reading an access group project
getaccess-groups/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}
Update an access group
Allows to update an access group metadata
postaccess-groups/v1/access-groups/{idOrName}
Update an access group project
Allows update of an access group project
patchaccess-groups/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}
Assign an Alias
Creates a new alias for the deployment with the given deployment ID. The authenticated user or team 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.
postaliases/v2/deployments/{id}/aliases
Delete an Alias
Delete an Alias with the specified ID.
deletealiases/v2/aliases/{aliasId}
Get an Alias
Retrieves an Alias for the given host name or alias ID.
getaliases/v4/aliases/{idOrAlias}
List aliases
Retrieves a list of aliases for the authenticated User or Team. When
domain
is provided, only aliases for that domain will be returned. WhenprojectId
is provided, it will only return the given project aliases.getaliases/v4/aliases
List Deployment Aliases
Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
getaliases/v2/deployments/{id}/aliases
Check if a cache artifact exists
Check that a cache artifact with the given
hash
exists. This request returns response headers only and is equivalent to aGET
request to this endpoint where the response contains no body.headartifacts/v8/artifacts/{hash}
Query information about an artifact
Query information about an array of artifacts.
postartifacts/v8/artifacts
Download a cache artifact
Downloads a cache artifact indentified by its
hash
specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.getartifacts/v8/artifacts/{hash}
Record an artifacts cache usage event
Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are
HIT
andMISS
. The source is eitherLOCAL
the cache event was on the users filesystem cache orREMOTE
if the cache event is for a remote cache. When the event is aHIT
the request also accepts a numberduration
which is the time taken to generate the artifact in the cache.postartifacts/v8/artifacts/events
Get status of Remote Caching for this principal
Check 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.
getartifacts/v8/artifacts/status
Upload a cache artifact
Uploads a cache artifact identified by the
hash
specified on the path. The cache artifact can then be downloaded with the providedhash
.putartifacts/v8/artifacts/{hash}
Create an Auth Token
Creates and returns a new authentication token for the currently authenticated User. The
bearerToken
property is only provided once, in the response body, so be sure to save it on the client for use with API requests.postauthentication/v3/user/tokens
Delete an authentication token
Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.
deleteauthentication/v3/user/tokens/{tokenId}
Get Auth Token Metadata
Retrieve metadata about an authentication token belonging to the currently authenticated User.
getauthentication/v5/user/tokens/{tokenId}
List Auth Tokens
Retrieve a list of the current User's authentication tokens.
getauthentication/v5/user/tokens
Get cert by id
Get cert by id
getcerts/v7/certs/{id}
Issue a new cert
Issue a new cert
postcerts/v7/certs
Remove cert
Remove cert
deletecerts/v7/certs/{id}
Upload a cert
Upload a cert
putcerts/v7/certs
Creates a new Check
Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
postchecks/v1/deployments/{deploymentId}/checks
Retrieve a list of all checks
List all of the checks created for a deployment.
getchecks/v1/deployments/{deploymentId}/checks
Get a single check
Return a detailed response for a single check.
getchecks/v1/deployments/{deploymentId}/checks/{checkId}
Rerequest a check
Rerequest a selected check that has failed.
postchecks/v1/deployments/{deploymentId}/checks/{checkId}/rerequest
Update a check
Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
patchchecks/v1/deployments/{deploymentId}/checks/{checkId}
Cancel a deployment
This endpoint allows you to cancel a deployment which is currently building, by supplying its
id
in the URL.patchdeployments/v12/deployments/{id}/cancel
Create a new deployment
Create 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.
postdeployments/v13/deployments
Delete a Deployment
This API allows you to delete a deployment, either by supplying its
id
in the URL or theurl
of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments.deletedeployments/v13/deployments/{id}
Get a deployment by ID or URL
Retrieves information for a deployment either by supplying its ID (
id
property) or Hostname (url
property). Additional details will be included when the authenticated user or team is an owner of the deployment.getdeployments/v13/deployments/{idOrUrl}
Get deployment events
Get 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.
getdeployments/v3/deployments/{idOrUrl}/events
Get Deployment File Contents
Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64.
getdeployments/v7/deployments/{id}/files/{fileId}
List deployments
List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the
url
property will have a value ofnull
.getdeployments/v6/deployments
List Deployment Files
Allows to retrieve the file structure of a deployment by supplying the deployment unique identifier.
getdeployments/v6/deployments/{id}/files
Upload Deployment Files
Before 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.
postdeployments/v2/files
Create a DNS record
Creates a DNS record for a domain.
postdns/v2/domains/{domain}/records
List existing DNS records
Retrieves 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.
getdns/v4/domains/{domain}/records
Delete a DNS record
Removes an existing DNS record from a domain name.
deletedns/v2/domains/{domain}/records/{recordId}
Update an existing DNS record
Updates an existing DNS record for a domain name.
patchdns/v1/domains/records/{recordId}
Purchase a domain
Allows to purchase the specified domain.
postdomains/v5/domains/buy
Check the price for a domain
Check the price to purchase a domain and how long a single purchase period is.
getdomains/v4/domains/price
Check a Domain Availability
Check if a domain name is available for purchase.
getdomains/v4/domains/status
Register or transfer-in a new Domain
This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.
postdomains/v5/domains
Remove a domain by name
Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.
deletedomains/v6/domains/{domain}
Get Information for a Single Domain
Get information for a single domain in an account or team.
getdomains/v5/domains/{domain}
Get a Domain's configuration
Get a Domain's configuration.
getdomains/v6/domains/{domain}/config
Get domain transfer info.
Fetch domain transfer availability or transfer status if a transfer is in progress.
getdomains/v1/domains/{domain}/registry
List all the domains
Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.
getdomains/v5/domains
Update or move apex domain
Update or move apex domain.
patchdomains/v3/domains/{domain}
Create an Edge Config
Creates an Edge Config.
postedge-config/v1/edge-config
Create an Edge Config token
Adds a token to an existing Edge Config.
postedge-config/v1/edge-config/{edgeConfigId}/token
Delete an Edge Config
Delete an Edge Config by id.
deleteedge-config/v1/edge-config/{edgeConfigId}
Delete an Edge Config's schema
Deletes the schema of existing Edge Config.
deleteedge-config/v1/edge-config/{edgeConfigId}/schema
Delete one or more Edge Config tokens
Deletes one or more tokens of an existing Edge Config.
deleteedge-config/v1/edge-config/{edgeConfigId}/tokens
Get an Edge Config
Returns an Edge Config.
getedge-config/v1/edge-config/{edgeConfigId}
Get Edge Config backup
Retrieves a specific version of an Edge Config from backup storage.
getedge-config/v1/edge-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}
Get Edge Config backups
Returns backups of an Edge Config.
getedge-config/v1/edge-config/{edgeConfigId}/backups
Get an Edge Config item
Returns a specific Edge Config Item.
getedge-config/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}
Get Edge Config items
Returns all items of an Edge Config.
getedge-config/v1/edge-config/{edgeConfigId}/items
Get Edge Config schema
Returns the schema of an Edge Config.
getedge-config/v1/edge-config/{edgeConfigId}/schema
Get Edge Config token meta data
Return meta data about an Edge Config token.
getedge-config/v1/edge-config/{edgeConfigId}/token/{token}
Get all tokens of an Edge Config
Returns all tokens of an Edge Config.
getedge-config/v1/edge-config/{edgeConfigId}/tokens
Get Edge Configs
Returns all Edge Configs.
getedge-config/v1/edge-config
Update Edge Config items in batch
Update multiple Edge Config Items in batch.
patchedge-config/v1/edge-config/{edgeConfigId}/items
Update Edge Config schema
Update an Edge Config's schema.
postedge-config/v1/edge-config/{edgeConfigId}/schema
Update an Edge Config
Updates an Edge Config.
putedge-config/v1/edge-config/{edgeConfigId}
Delete an integration configuration
Allows to remove the configuration with the
id
provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.deleteintegrations/v1/integrations/configuration/{id}
Retrieve an integration configuration
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.
getintegrations/v1/integrations/configuration/{id}
Get configurations for the authenticated user or team
Allows to retrieve all configurations for an authenticated integration. When the
project
view is used, configurations generated for the authorization flow will be filtered out of the results.getintegrations/v1/integrations/configurations
List git namespaces by provider
Lists git namespaces for a supported provider. Supported providers are
github
,gitlab
andbitbucket
. If the provider is not provided, it will try to obtain it from the user that authenticated the request.getintegrations/v1/integrations/git-namespaces
List git repositories linked to namespace by provider
Lists git repositories linked to a namespace
id
for a supported provider. A specific namespaceid
can be obtained via thegit-namespaces
endpoint. Supported providers aregithub
,gitlab
andbitbucket
. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request.getintegrations/v1/integrations/search-repo
Creates a Configurable Log Drain
Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)
postlogDrains/v1/log-drains
Creates a new Integration Log Drain
Creates 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.
postlogDrains/v2/integrations/log-drains
Deletes a Configurable Log Drain
Deletes 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.
deletelogDrains/v1/log-drains/{id}
Deletes the Integration log drain with the provided `id`
Deletes 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.deletelogDrains/v1/integrations/log-drains/{id}
Retrieves a list of all the Log Drains
Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.
getlogDrains/v1/log-drains
Retrieves a Configurable Log Drain
Retrieves 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.
getlogDrains/v1/log-drains/{id}
Retrieves a list of Integration log drains
Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.
getlogDrains/v2/integrations/log-drains
Adds a new member to a project.
Adds a new member to the project.
postprojectMembers/v1/projects/{idOrName}/members
List project members
Lists all members of a project.
getprojectMembers/v1/projects/{idOrName}/members
Remove a Project Member
Remove a member from a specific project
deleteprojectMembers/v1/projects/{idOrName}/members/{uid}
Add a domain to a project
Add a domain to the project by passing its domain name and by specifying the project by either passing the project
id
orname
in 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 theverification
challenge viaPOST /projects/:idOrName/domains/:domain/verify
. If the domain already exists on the project, the request will fail with a400
status code.postprojects/v10/projects/{idOrName}/domains
Create a new project
Allows to create a new project with the provided configuration. It only requires the project
name
but more configuration can be provided to override the defaults.postprojects/v10/projects
Create one or more environment variables
Create one ore more environment variables for a project by passing its
key
,value
,type
andtarget
and by specifying the project by either passing the projectid
orname
in the URL.postprojects/v10/projects/{idOrName}/env
Delete a Project
Delete a specific project by passing either the project
id
orname
in the URL.deleteprojects/v9/projects/{idOrName}
Edit an environment variable
Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project
id
orname
in the URL.patchprojects/v9/projects/{idOrName}/env/{id}
Retrieve the environment variables of a project by id or name
Retrieve the environment variables for a given project by passing either the project
id
orname
in the URL.getprojects/v9/projects/{idOrName}/env
Find a project by id or name
Get the information for a specific project by passing either the project
id
orname
in the URL.getprojects/v9/projects/{idOrName}
Get a project domain
Get project domain by project id/name and domain name.
getprojects/v9/projects/{idOrName}/domains/{domain}
Retrieve project domains by project by id or name
Retrieve the domains associated with a given project by passing either the project
id
orname
in the URL.getprojects/v9/projects/{idOrName}/domains
Retrieve the decrypted value of an environment variable of a project by id
Retrieve the environment variable for a given project.
getprojects/v1/projects/{idOrName}/env/{id}
Retrieve a list of projects
Allows to retrieve the list of projects of the authenticated user or team. The list will be paginated and the provided query parameters allow filtering the returned projects.
getprojects/v9/projects
Gets a list of aliases with status for the current promote
Get a list of aliases related to the last promote request with their mapping status
getprojects/v1/projects/{projectId}/promote/aliases
Pause a project
Pause a project by passing its project
id
in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code.postprojects/v1/projects/{projectId}/pause
Remove a domain from a project
Remove a domain from a project by passing the domain name and by specifying the project by either passing the project
id
orname
in the URL.deleteprojects/v9/projects/{idOrName}/domains/{domain}
Remove an environment variable
Delete a specific environment variable for a given project by passing the environment variable identifier and either passing the project
id
orname
in the URL.deleteprojects/v9/projects/{idOrName}/env/{id}
Points all production domains for a project to the given deploy
Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint.
postprojects/v10/projects/{projectId}/promote/{deploymentId}
Unpause a project
Unpause a project by passing its project
id
in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code.postprojects/v1/projects/{projectId}/unpause
Update an existing project
Update the fields of a project using either its
name
orid
.patchprojects/v9/projects/{idOrName}
Update the data cache feature
Update the data cache feature on a project.
patchprojects/v1/data-cache/projects/{projectId}
Update a project domain
Update a project domain's configuration, including the name, git branch and redirect of the domain.
patchprojects/v9/projects/{idOrName}/domains/{domain}
Update Protection Bypass for Automation
Update the deployment protection automation bypass for a project
patchprojects/v1/projects/{idOrName}/protection-bypass
Verify project domain
Attempts to verify a project domain with
verified = false
by checking the correctness of the project domain'sverification
challenge.postprojects/v9/projects/{idOrName}/domains/{domain}/verify
Create a new secret
Allows to create a new secret.
postsecrets/v2/secrets/{name}
Delete a secret
This deletes the user or team’s secret defined in the URL.
deletesecrets/v2/secrets/{idOrName}
Get a single secret
Retrieves the information for a specific secret by passing either the secret id or name in the URL.
getsecrets/v3/secrets/{idOrName}
List secrets
Retrieves the active Vercel secrets for the authenticated user or team. By default it returns 20 secrets. The rest can be retrieved using the pagination options. The body will contain an entry for each secret.
getsecrets/v3/secrets
Change secret name
Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.
patchsecrets/v2/secrets/{name}
Read Firewall Configuration
Retrieve the specified firewall configuration for a project. The deployed configVersion will be
active
getsecurity/v1/security/firewall/config/{configVersion}
Put Firewall Configuration
Set the firewall configuration to provided rules and settings. Creates or overwrite the existing firewall configuration.
putsecurity/v1/security/firewall/config
Update Attack Challenge mode
Update the setting for determining if the project has Attack Challenge mode enabled.
postsecurity/v1/security/attack-mode
Update Firewall Configuration
Process updates to modify the existing firewall config for a project
patchsecurity/v1/security/firewall/config
Create a Team
Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.
postteams/v1/teams
Delete a Team
Delete a team under your account. You need to send a
DELETE
request with the desired teamid
. An optional array of reasons for deletion may also be sent.deleteteams/v1/teams/{teamId}
Delete a Team invite code
Delete an active Team invite code.
deleteteams/v1/teams/{teamId}/invites/{inviteId}
Get a Team
Get information for the Team specified by the
teamId
parameter.getteams/v2/teams/{teamId}
Get access request status
Check the status of a join request. It'll respond with a 404 if the request has been declined. If no
userId
path segment was provided, this endpoint will instead return the status of the authenticated user.getteams/v1/teams/{teamId}/request/{userId}
List team members
Get a paginated list of team members for the provided team.
getteams/v2/teams/{teamId}/members
List all teams
Get a paginated list of all the Teams the authenticated User is a member of.
getteams/v2/teams
Invite a user
Invite a user to join the team specified in the URL. The authenticated user needs to be an
OWNER
in 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.postteams/v1/teams/{teamId}/members
Join a team
Join a team with a provided invite code or team ID.
postteams/v1/teams/{teamId}/members/teams/join
Update a Team
Update the information of a Team specified by the
teamId
parameter. The request body should contain the information that will be updated on the Team.patchteams/v2/teams/{teamId}
Remove a Team Member
Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.
deleteteams/v1/teams/{teamId}/members/{uid}
Request access to a team
Request 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.
postteams/v1/teams/{teamId}/request
Update a Team Member
Update 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 anOWNER
of the Team.patchteams/v1/teams/{teamId}/members/{uid}
Get the User
Retrieves information related to the currently authenticated User.
getuser/v2/user
List User Events
Retrieves 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
teamId
parameter is supplied, then the events that are returned will be in relation to the Team that was specified.getuser/v3/events
Delete User Account
Initiates 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.
deleteuser/v1/user
Creates a webhook
Creates a webhook
postwebhooks/v1/webhooks
Deletes a webhook
Deletes a webhook
deletewebhooks/v1/webhooks/{id}
Get a webhook
Get a webhook
getwebhooks/v1/webhooks/{id}
Get a list of webhooks
Get a list of webhooks
getwebhooks/v1/webhooks
Was this helpful?