Users
The following main user endpoints allow you to get a list of existing users and manage their basic details such as password change.
Retrieves a collection of all users for a team or an organization with a given ID. Returned users are sorted by id in descending order.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique ID of the organization whose users will be retrieved. If this parameter is set, the teamId parameter must be skipped. For each request either teamId or organizationId must be defined.
The unique ID of the team whose users will be retrieved. If this parameter is set, the organizationId parameter must be skipped. For each request either teamId or organizationId must be defined.
1Optional filter parameter.
Optional filter parameter.
Optional filter parameter. If this parameter is set, the teamId parameter must be set as well.
{"value":3}Optional filter parameter. If this parameter is set, the organizationId parameter must be set as well.
{"value":13}Filter by team ID. Use 0 to find users not assigned to any team. Requires organizationId.
{"value":5}Optional filter parameter. Restricts the result to users whose ID is in the given list.
[1,2]The user's two-factor authentication (TFA) status. This field is available only on plans that have the TFA enforcement enabled.
{"value":1}Possible values: The value that will be used to sort returned entities by. Users can be sorted by name, id and email.
The sorting order. It accepts the ascending and descending direction specifiers.
The number of entities you want to skip before getting entities you want.
The maximum number of entities you want to get in the response.
Successful response
GET /api/v2/users HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"users": [
{
"id": 1,
"name": "Administrator",
"email": "admin@make.cloud",
"language": "en",
"timezoneId": 113,
"localeId": 18,
"countryId": 202,
"features": {},
"avatar": "https://secure.gravatar.com/avatar/6b1a74d20d925c12a73af32bf0dd7164.jpg?d=mm",
"lastLogin": "2022-04-04T10:23:34.347Z",
"tfaStatus": 0
}
],
"pg": {
"sortBy": "name",
"sortDir": "desc",
"offset": 0,
"limit": 10
}
}Deletes the authenticated user's own account. Requires password and/or 2FA, if configured. Optionally deletes all user connections (accounts, webhooks, etc).
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
Whether to delete all user connections (accounts, webhooks, etc).
falseUser's current password (required if user has a password set).
Two-factor authentication code (required if 2FA is enabled).
Successful response
DELETE /api/v2/users HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"deleteConnections": false,
"currentPassword": "text",
"tfaCode": "text"
}Successful response
{
"user": 3
}Updates a user with a given ID by passing new data in the request body. Any property that is not provided will be left unchanged. As the response, it returns all details of the updated user including properties that were not changed.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique ID of the user. It can be retrieved from the List users endpoint.
1The name of the user. The name must be at most 250 characters long and does not need to be unique. The name may contain only letters, numbers, spaces, and the following special characters: ', -, ., (, ), *, +, ,, @, _, /. The name must not start or end with a space.
The standardized language code. It sets the Make environment language.
The timezone ID corresponding to the local time. The list of all timezones can be retrieved from the GET /enums/timezones endpoint.
The location ID. It sets the Make environment date formats, hour formats, decimal separators, etc. The list of all locales can be retrieved from the GET /enums/locales endpoint.
The country ID. It sets the region of use.
Successful response
PATCH /api/v2/users/{userId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"name": "admin",
"language": "en",
"localeId": 18,
"timezoneId": 113,
"countryId": 1
}Successful response
{
"user": {
"id": 1,
"name": "Administrator",
"email": "admin@make.cloud",
"language": "en",
"timezoneId": 113,
"localeId": 18,
"countryId": 202,
"features": {},
"avatar": "https://secure.gravatar.com/avatar/6b1a74d20d925c12a73af32bf0dd7164.jpg?d=mm",
"lastLogin": "2022-04-04T10:23:34.347Z",
"tfaStatus": 0
}
}Updates an email for a user with a given ID by passing new data in the request body. It replaces the entire resource with the new values. In the response, it returns the confirmation if the email was changed.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique ID of the user. It can be retrieved from the List users endpoint.
1User's current email address.
User's new email address.
User's current password.
Successful response
PUT /api/v2/users/{userId}/attributes/email HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"currentEmailAddress": "current@email.com",
"newEmailAddress": "new@email.com",
"currentPassword": "123456Ab-"
}Successful response
{
"changed": false,
"emailSent": true
}Updates a password for a user with a given ID by passing new data in the request body. It replaces the entire resource with the new values. In the response, it returns the confirmation if the password was changed. This endpoint corresponds to changing a password in the user profile when the user is logged in to the Make interface.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique ID of the user. It can be retrieved from the List users endpoint.
1The current user password.
The new user password. The password must be at least 9 characters long and must contain at least one uppercase letter, at least one number, and at least one special character.
The new user password for confirmation. This password must be the same as the password in the newPassword1 property.
Successful response
PUT /api/v2/users/{userId}/attributes/password HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"currentPassword": "123456Ab.",
"newPassword1": "123456Ab-",
"newPassword2": "123456Ab-"
}Successful response
{
"changed": true
}Sends password reset demand for a user with an email passed in the request body. This endpoint corresponds to the Lost password function on the login page in the Make interface. In the response, it returns the confirmation if the demand was sent successfully.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The email of the user for who the password should be reset.
Successful response
POST /api/v2/users/password-reset-demand HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"email": "ee@eee.com"
}Successful response
{
"ok": 1
}Checks a hash and sets a session for the Reset lost password endpoint. This endpoint corresponds to clicking the Reset password link in the Password reset email.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique hash of the password reset session.
fab680b60044adb766128e713e44e15bSuccessful response
GET /api/v2/users/password-reset HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"ok": 1
}Updates a password for a user based on the session created when calling the Prepare session for password reset endpoint. This endpoint corresponds to setting a new password on the Lost password page in the Make interface.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The new user password.
This password must be the same as the password in the newPassword1 property.
Successful response
POST /api/v2/users/password-reset HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"newPassword1": "Aa123456.",
"newPassword2": "Aa123456."
}Successful response
{
"ok": 1
}Returns users who have a specific permission within an organization or team.
Use type: organization with organizationId to find users that hold a given organization-level permission. Use type: company with teamId to find users that hold a given team-level permission.
Requires the organization users view permission on the resolved organization. When type is company, additionally requires the team view permission on the specified team.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
Whether to filter by an organization-level or team-level (company) permission.
When organization, supply organizationId.
When company, supply teamId.
organizationPossible values: The permission string to filter by. Must be a valid permission for the given type.
For example organization users view (organization type) or team view (company type).
organization users viewRequired when type is organization. The organization to scope the query to.
1Required when type is company. The team to scope the query to.
2Specifies columns that are returned in the response. Use the cols[] parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2 to get both key1 and key2 columns in the response.
{"value":["id","name","email"]}Successful response
Bad request — invalid or missing parameters.
Unauthorized — authentication is required.
Forbidden — the authenticated user does not have the required permissions.
GET /api/v2/users/by-permission?type=organization&permission=text HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"users": [
{
"id": 1,
"name": "John Doe",
"email": "john.doe@example.com"
}
]
}Last updated

