Passthrough Requests
We have Functions for the most commonly used endpoints of 200+ apps.
If you want to do anything else, you can call the Passthrough Request function of any app we support via API endpoint or SDK method. Integry will automatically add the user's auth credentials to the request.
Make a passthrough request via API
POST
/<app_name>-passthrough-request
Integry will execute the function if the user has already connected their account for the function app, and the method
and URL
parameters are provided in the body. These function calls will show in the Function Calls log in the Integry app.
Integry will not execute the function if the user has not connected an account, or the parameters passed are invalid. These function calls will not show in the Function Calls log.
Body
method
string
Request method
true
url
string
Request URL
true
body
object
Request body
false
Response
If Integry executes the function, it will respond with a 200 OK
with following keys in the response body:
network_code
: HTTP response status code of the onwards API call made by Integry.output
: HTTP response body of the onwards API call made by Integry.
If Integry does not execute the function, it will respond with a 400 Bad Request
with following keys in the response body:
error
: Summary of the error.error_details[]
: Detailed errors for individual fields (if applicable).
Make a passthrough request via SDK
invokeFunction(<app_name>-passthrough-request, params, connectedAccountId)
Integry will execute the function if the user has already connected their account for the function app, and the method
and URL
parameters are provided in the params
object. These function calls will show in the Function Calls log in the Integry app.
Integry will not execute the function if the user has not connected an account, or the parameters passed are invalid. These function calls will not show in the Function Calls log.
Method parameters
functionName
string
The name of the function to execute
slack-post-message
true
params
object
An object containing the function parameters.
{"method":"",
"url":"",
"body":""}
true
connectedAccountId
string
The connected account to use for executing the action. Only use if the user has connected multiple accounts.
43654
false
Returns
If Integry executes the function, this method returns a result
object with following keys:
network_code
: HTTP response status code of the onwards API call made by Integry.output
: HTTP response body of the onwards API call made by Integry.
If Integry does not execute the function, this method returns a result
object with following keys:
error
: Summary of the error.error_details[]
: Detailed errors for individual fields (if applicable).
List all passthrough request functions
GET
/functions?type=passthrough
List all passthrough request functions supported by Integry. See /functions
for more options.
Last updated