Step 1: Go to Kylas Marketplace apps >> Manage Apps >>Create App
Step 2:
Here creator can upload an icon for this app ( This Icon will be shown on Marketplace app on the Kylas marketplace )
Eg - You want to create this application so that users can make a call from Kylas itself. So you need to give following permissions
Step 4:
On this step you will be asked to setup a app action, the app actions will be defined by the developer's selection
Here you can give different actions like,
Eg. · If I turn calling action on over lead, they you will receive phone number as a parameter on target url-https://integrations.kylas.io/app?tenantName=Amura+Marketing+Technologies&tenantId=xxx0&userName=Tushar+Pingate&userId=6xx7&entityId=3640113&entityType=leads&actionName=Click+To+Call&location=CLICK_TO_CALL&userPhoneNumber=91XXXX556524&entityName=lead+four&phoneNumber=918XX6663XXX
Developer can add more place if he want to give app action by click on add new
Step 5: App triggers
· On this step you will receive Client ID & Client Secret you must keep these with you for the authorization and click on done.
curl --location --request POST 'https://api.kylas.io/oauth/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic Y2xpZW50LWlkOmNsaWVudC1zZWNyZXQ=' \ --data-urlencode 'grant_type=authorization_code' \ --data-urlencode 'code=<Auth Code>' \ --data-urlencode 'redirect_uri=<Redirect URL>' |
curl --location --request POST 'https://api.kylas.io/oauth/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic Y2xpZW50LWlkOmNsaWVudC1zZWNyZXQ=' \ --data-urlencode 'grant_type=refresh_token' \ --data-urlencode 'refresh_token=<Refresh Token>' |