Tags
Operations about tags
Retrieve all tags from your instance.
The maximum number of items to return.
100Example: 100Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first "page" of the collection. See pagination for more detail.
Operation successful.
The request is invalid or provides malformed data.
Unauthorized
Forbidden
GET /api/v1/tags HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "2tUt1wbLX592XDdX",
"name": "Production",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"nextCursor": "text"
}Create a tag in your instance.
2tUt1wbLX592XDdXProductionOperation successful.
2tUt1wbLX592XDdXProductionThe request is invalid or provides malformed data.
Unauthorized
Forbidden
Conflict
Unsupported media type.
POST /api/v1/tags HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"name": "Production"
}{
"id": "2tUt1wbLX592XDdX",
"name": "Production",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}Retrieves a tag.
The ID of the tag.
Operation successful.
2tUt1wbLX592XDdXProductionUnauthorized
Forbidden
The specified resource was not found.
GET /api/v1/tags/{tagId} HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "2tUt1wbLX592XDdX",
"name": "Production",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}Update a tag.
The ID of the tag.
2tUt1wbLX592XDdXProductionOperation successful.
2tUt1wbLX592XDdXProductionThe request is invalid or provides malformed data.
Unauthorized
Forbidden
The specified resource was not found.
Conflict
Unsupported media type.
PUT /api/v1/tags/{tagId} HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"name": "Production"
}{
"id": "2tUt1wbLX592XDdX",
"name": "Production",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}Deletes a tag.
The ID of the tag.
Operation successful.
2tUt1wbLX592XDdXProductionUnauthorized
Forbidden
The specified resource was not found.
DELETE /api/v1/tags/{tagId} HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "2tUt1wbLX592XDdX",
"name": "Production",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}Last updated
Was this helpful?