SDK Apps > Functions
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.
trueSuccessful response
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"appFunctions": [
{
"name": "myFunction",
"args": "()"
}
]
}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.
Successful response
POST /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"name": "parseTime3"
}Successful response
{
"appFunction": {
"name": "parseTime"
}
}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.
Successful response
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"appFunction": {
"name": "parseTime",
"code": "function parseTime() {}",
"changes": {}
}
}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.
Successful response
DELETE /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"appFunction": {
"name": "parseTime"
}
}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.
Successful response
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/code HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
function parseTime() {
}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.
function parseTime() { const a = "Hello There" }Successful response
PUT /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/code HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/javascript
Accept: */*
Content-Length: 56
"function parseTime() {\n\tconst a = \"Hello There\"\n}"Successful response
{
"change": {
"id": 123456,
"group": "function",
"item": "parseTime",
"code": "code"
}
}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.
Successful response
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/test HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
console.log('This is a test');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.
console.log('This is a new test');Successful response
PUT /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/test HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/javascript
Accept: */*
Content-Length: 36
"console.log('This is a new test');"Successful response
{
"changed": true
}Last updated

