Use the following Request URL format to authenticate using API key: 

OAuth 2.0 authentication  | API key authentication  | 
OAuth 2.0 protocol uses header for authentication.  | API key is authenticated in the Request URL.   | 
All the custom functions in Orchestly can be authenticated using OAuth 2.0 protocol.  | Only  standalone functions can be authenticated using API key.  | 
In OAuth 2.0 authentication, the access token expires every hour. Refresh tokens are used to generate new access tokens.   | API key has to be generated just once. It  does not expire.  | 
Business Scenarios  Update your company’s website automatically with the number of open job positions once a candidate is selected in the recruitment process.
Calculate the total time spent by a user on each stage and email a detailed summary to the client for billing.
Integrate Orchestly with a calendar application and send interview invites to the shortlisted candidates.
Integrate Orchestly with  Jira to add a job in Orchestly for every project created in Jira. 
Navigate to    and select  Developer   from the left panel.
Click the  Add Custom Function button under  the  Custom Functions  tab.
Fill in the details:
Module Type :   Select  Jobs if the function requires job arguments. 
Function Name  : Name your function.
Return Type  : Return type for job-based custom functions will always be void. 
Description  : Describe how the function works.
Arguments  : Enter the arguments that are used in the code snippet. 
Connections  : Configure internal or third-party integrations here. Learn more about connections.
Code your custom function. 
Click  Save or  Save & Execute.    

Navigate to       and select  Developer   from the left panel. 
Click the  Add Custom Function  button under  the  Custom Functions  tab.
Fill in the details:
Module Type  : Select  Standalone if the function requires only independent arguments. 
Function Name  : Name your function. 
Return Type  : Select a return type for the custom function. 
Description  : Describe how the function works.
Arguments  : Enter the arguments that are used in the code snippet. 
Connections  : Configure internal or third-party integrations here.  Learn more  about connections.
Code your custom function. 
Click  Save  or  Save & Execute.    

To invoke a standalone function using API key, it has to be enabled first. Make sure that the API key is generated in the Organization Setup. 

Navigate to   and select  Automation  from the left panel.
Create a new blueprint or select an existing one. Learn how to create a blueprint. 
Click on a transition and navigate to the  After section. 
Click the   sign next to  Associate Custom Functions .
Select a function from the  Function Gallery or  Configured Functions.
While associating a function from the gallery, click  Save as New. 
While associating a configured function, click  Save  or  Save & Execute.  
Once the functions are configured,  Publish  the blueprint. 

Navigate to     and select  Automation   from the left panel.
Under the  Business Rules tab, click  Add Business Rule button.
Configure your business rule. Learn more  about adding a new business rule.
In the  Actions section, click the   button next to  Associate Custom Functions .  
Select a function from the  Function Gallery or  Configured Functions.
While associating a function from the gallery, click  Save as New. 
While associating a configured function, click  Save  or  Save & Execute .  
Once the functions are configured, click  Save .  

Navigate to     and select  Developer   from the left panel.
Under the  Custom Functions  tab, mouse over the function name you want to delete. 
Click   and choose  Delete.
Confirm your action.