RPCs
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}/rpcs HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"rpcs": []
}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}/rpcs HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"name": "listUsers",
"label": "List Users",
"connection": null
}Successful response
{
"appRpc": {
"name": "listUsers",
"label": "List Users"
}
}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}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"appRpc": {
"name": "listUsers",
"label": "List Users",
"connection": null,
"altConnection": null
}
}Tests the RPC
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
No content
POST /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"data": {
"id": "1",
"jidlo": "Banana bread"
},
"schema": [
{
"name": "id",
"type": "integer",
"required": true
},
{
"name": "jidlo",
"type": "text",
"required": true
}
]
}Successful response
No content
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}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"appRpc": "listUsers"
}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
PATCH /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"label": "New RPC Label",
"connection": "new-connection"
}Successful response
{
"appRpc": {
"name": "listUsers",
"label": "IDI",
"connection": null,
"altConnection": null
}
}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}/rpcs/{SDK_rpcName}/{SDK_rpcSection} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"url": "/api/users",
"method": "GET",
"qs": {},
"body": {},
"headers": {},
"response": {
"iterate": "{{body.users}}",
"output": {
"label": "{{item.name}}",
"value": "{{item.id}}"
}
}
}Available sections: api, parameters
Send the section with Content-Type: application/jsonc (recommended) to keep comments and formatting. Content-Type: application/json is accepted too and its text is kept exactly as sent, but it must be plain JSON: comments and trailing commas are not allowed, and a body with them fails with 400.
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
The request body cannot be parsed for its content type. A body with comments or trailing commas is JSONC and has to be sent with Content-Type: application/jsonc.
An application/json body declares another charset than UTF-8. The section source is kept as UTF-8 text, so send the body encoded in UTF-8 (a Content-Type without a charset means UTF-8).
PUT /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 163
{
"url": "/api/users",
"method": "GET",
"qs": {},
"body": {},
"headers": {},
"response": {
"iterate": "{{body.users}}",
"output": {
"label": "{{item.name}}",
"value": "{{item.id}}"
}
}
}{
"change": {
"id": 12345,
"group": "apps_rpcs",
"code": "api",
"oldValue": {
"url": "/api/users"
},
"newValue": {
"url": "/api/v2/users"
}
}
}Last updated

