Custom functions are functions you or your team members create that you can use in a scenario. The following API endpoints allow you to:
list
evaluate
create
update
delete
check version history
of your custom functions.
Check the custom functions feature .
Gets detailed information about a custom function. The response contains function name
, code
, a list of scenarios which use the custom function and the custom function's history of updates.
The ID of the custom function.
44
Specifies 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.
Successful response
Deletes the custom function. The response contains information whether the custom function is deleted or not.
If you or any of your team members use the custom function in a scenario you have to use the confirmed
parameter to confirm the custom function deletion. Otherwise, you get an error with a list of scenarios that use the custom function.
The ID of the custom function.
44
Confirms deleting of the custom function. If you are using the custom function in a scenario Make requires the confirmation.
true
Successful response
Gets history of updates of the specified custom function. The response contains a list of code changes, the change author and date when the author made the change.
The ID of the custom function.
44
The ID of the team.
11
Successful response
Retrieves a list of custom functions available in the team. The response contains id
, name
, description
and a brief updates history of all custom functions available in the team.
Check availability of the custom functions feature with the API call GET /organizations/{organizationId}
for the organization to which the team belongs. If the response contains "customFunctions": true
pair in the license
object then you have access to the custom functions feature.
Refer to the for Make pricing plans overview.
The ID of the team.
11
Specifies 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.
Successful response
Creates a custom function. Specify function name
, description
and code
in the request body.
You cannot use a JavaScript reserved word for the function name
. Check the .
Make sure to use the same function name in the name
field and in the function's code
. Otherwise, you get the IM005 error.
Make validates the custom function's code first. You get an IM005 error if the code validation fails. The validation might fail because of a syntax error in the function's code or when the code uses a JavaScript feature that Make doesn't support. Check the in the Make Help center.
Check availability of the custom functions feature with the API call GET /organizations/{organizationId}
for the organization to which the team belongs. If the response contains "customFunctions": true
pair in the license
object then you have access to the custom functions feature.
Refer to the for Make pricing plans overview.
The ID of the team.
11
The name of the custom function.
The description of the custom function.
The code of the custom function.
Successful response
Checks the custom functions code. The response contains information whether Make validated the custom functions code successfully or whether there was an error.
The code validation might fail because of an syntax error in the function's code or when the code uses a JavaScript feature that Make doesn't support. Check the in the Make Help center.
Check availability of the custom functions feature with the API call GET /organizations/{organizationId}
for the organization to which the team belongs. If the response contains "customFunctions": true
pair in the license
object then you have access to the custom functions feature.
Refer to the for Make pricing plans overview.
The ID of the team.
11
The code of the custom function.
Successful response
Updates custom functions description
or code
. You cannot change the name
of the custom function.
Make sure to use the same function name in the function's code
. Otherwise, you get an IM005 error.
Make validates the custom function's code first. You get an IM005 error if the code validation fails. The validation might fail because of a syntax error in the function's code or when the code uses a JavaScript feature that Make doesn't support. Check the in the Make Help center.
The ID of the custom function.
44
The description of the custom function. You can use maximum of 128 characters.
The code of the custom function.
Successful response