Create a function deployment
Deploys a function to an existing integration. Use type: function to deploy submitted TypeScript
source code, or type: template to deploy a template from the provider catalog. Requires an API key with the
environment:deploy scope.
environment:deploy scope. Learn more about API key scopes.type: function) or a template from the provider catalog (type: template).Authorizations
The secret key from your Nango environment.
Body
- Option 1
- Option 2
Deploy submitted function source code.
function The integration ID (unique_key) that you created in Nango.
The sync or action function name.
action, sync The TypeScript source code for the function.
1Optional version tag for this deployment.
Allow overwriting an existing standalone function with the same name.
Response
Deployment record. status may be any of waiting, running, success, or failed. If it is not
success, poll GET /functions/deployments/{id} for the final status and details.