SDK Apps > Functions

List App Functions

get

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Responses
200
Successful response
application/json
get
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "functions": [
    {
      "name": "myFunction",
      "args": "()"
    }
  ]
}

Create Function

post

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Content-TypestringOptionalExample: application/json
Body
namestringOptional
Responses
200
Successful response
application/json
post
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"
}
200

Successful response

{
  "appFunction": {
    "name": "parseTime"
  }
}

Get Function

get

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Responses
200
Successful response
application/json
get
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "appFunction": {
    "name": "parseTime"
  }
}

Delete Function

delete

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Responses
200
Successful response
application/json
delete
DELETE /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "appFunction": "parseTime"
}

Get Function Code

get

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Responses
200
Successful response
text/plain
Responsestring
get
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: */*
200

Successful response

function parseTime() {

}

Set Function Code

put

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Content-TypestringOptionalExample: application/javascript
Body
stringOptionalExample: function parseTime() { const a = "Hey There" }
Responses
200
Successful response
application/json
put
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: text/plain
Accept: */*
Content-Length: 54

"function parseTime() {
	const a = "Hey There"
}"
200

Successful response

{
  "change": {}
}

Get Function Test

get

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Responses
200
Successful response
get
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: */*
200

Successful response

No content

Set Function Test

put

Retrieves a list of all apps available to the user.

Authorizations
Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Query parameters
allbooleanOptionalExample: true
opensourcebooleanOptionalExample: true
Header parameters
imt-adminintegerOptionalExample: 1
Content-TypestringOptionalExample: application/javascript
Body
stringOptionalExample: console.log('AAA');
Responses
200
Successful response
application/json
put
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: text/plain
Accept: */*
Content-Length: 21

"console.log('AAA');"
200

Successful response

{
  "changed": true
}