Create a custom function

Required scopes:

  • functions:write

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 list of JavaScript reserved words.

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 custom functions limitations 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 Make pricing page for Make pricing plans overview.

Last updated