Skip to content
Docs

List Event Types

GET/__remote/api.vercel.com/v1/events/types
Returns the list of user-facing event types with descriptions.
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await vercel.user.listEventTypes({
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});
console.log(result);
}
run();
Response
{
"categories": [
{
"label": "string",
"name": "account"
}
],
"types": [
{
"categories": [],
"deprecated": "false",
"description": "string",
"name": "deployment-created",
"replacedBy": []
}
]
}
AuthorizationbearerToken

Default authentication mechanism

teamIdstringOptional
The Team identifier to perform the request on behalf of.
slugstringOptional
The Team slug to perform the request on behalf of.
200Success
categoriesarrayRequired
typesarrayRequired
400Error
401The request is not authorized.
403You do not have permission to access this resource.
410Error