User
The maximum number of items to return.
100Example: 100The number of items to skip before starting to collect the result set.
0Example: 0Paginate 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.
Whether to include the user's role or not.
falseExample: trueVmwOO9HeTEj20kxMOperation successful.
Paginate through users by setting the cursor parameter to a nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.
MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDAUnauthorized
GET /api/v1/users HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"email": "john.doe@company.com",
"firstName": "john",
"lastName": "Doe",
"isPending": true,
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"role": "global:owner",
"mfaEnabled": false
}
],
"nextCursor": "MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA"
}global:memberOperation successful.
Unauthorized
Forbidden
POST /api/v1/users HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 51
[
{
"email": "name@gmail.com",
"role": "global:member"
}
]{
"user": {
"id": "text",
"email": "text",
"inviteAcceptUrl": "text",
"emailSent": true
},
"error": "text"
}The ID or email of the user.
Whether to include the user's role or not.
falseExample: trueOperation successful.
123e4567-e89b-12d3-a456-426614174000john.doe@company.comUser's first name
johnUser's last name
DoeWhether the user finished setting up their account in response to the invitation (true) or not (false).
Time the user was created.
Last time the user was updated.
global:ownerWhether the user has multi-factor authentication (MFA/2FA) enabled.
falseUnauthorized
GET /api/v1/users/{id} HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"email": "john.doe@company.com",
"firstName": "john",
"lastName": "Doe",
"isPending": true,
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"role": "global:owner",
"mfaEnabled": false
}The ID or email of the user.
Operation successful.
No content
Unauthorized
Forbidden
The specified resource was not found.
DELETE /api/v1/users/{id} HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
No content
The ID or email of the user.
global:memberOperation successful.
No content
Unauthorized
Forbidden
The specified resource was not found.
PATCH /api/v1/users/{id}/role HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"newRoleName": "global:member"
}No content
Last updated
Was this helpful?