SDK Apps > RPCs

List App RPCs

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Responses
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "rpcs": []
}

Create RPC

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Body
namestringOptional
labelstringOptional
connectionstring | nullableOptional
Responses
200

Successful response

application/json
post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs
POST /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "name": "listUsers",
  "label": "List Users",
  "connection": null
}
200

Successful response

{
  "appRpc": {
    "name": "listUsers",
    "label": "List Users"
  }
}

Get RPC

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_rpcNamestringRequired
Responses
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "appRpc": {
    "name": "listUsers",
    "label": "List Users",
    "connection": null,
    "altConnection": null
  }
}

Test RPC

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}

Tests the RPC

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_rpcNamestringRequired
Body
Responses
200

Successful response

No content

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
POST /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
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
    }
  ]
}
200

Successful response

No content

Delete RPC

delete
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_rpcNamestringRequired
Responses
200

Successful response

application/json
delete
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
DELETE /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "appRpc": "listUsers"
}

Patch RPC

patch
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_rpcNamestringRequired
Body
labelstringOptional
connectionstring | nullableOptional
altConnectionstring | nullableOptional
Responses
200

Successful response

application/json
patch
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}
PATCH /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "label": "New RPC Label",
  "connection": "new-connection"
}
200

Successful response

{
  "appRpc": {
    "name": "listUsers",
    "label": "IDI",
    "connection": null,
    "altConnection": null
  }
}

Get RPC Section

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection}
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_rpcNamestringRequired
SDK_rpcSectionstring · enumRequiredPossible values:
Responses
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection}
GET /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "url": "/api/users",
  "method": "GET",
  "qs": {},
  "body": {},
  "headers": {},
  "response": {
    "iterate": "{{body.users}}",
    "output": {
      "label": "{{item.name}}",
      "value": "{{item.id}}"
    }
  }
}

Set RPC Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection}

Available sections: api, parameters

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_rpcNamestringRequired
SDK_rpcSectionstring · enumRequiredPossible values:
Body
urlstringOptional
methodstringOptional
qsobjectOptional
bodyobjectOptional
headersobjectOptional
Responses
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection}
PUT /api/v2/sdk/apps/{SDK_appName}/{SDK_appVersion}/rpcs/{SDK_rpcName}/{SDK_rpcSection} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
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}}"
    }
  }
}
200

Successful response

{
  "change": {
    "id": 12345,
    "group": "apps_rpcs",
    "code": "api",
    "oldValue": {
      "url": "/api/users"
    },
    "newValue": {
      "url": "/api/v2/users"
    }
  }
}

Last updated