-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintegration.xml
More file actions
37 lines (29 loc) · 1.5 KB
/
Copy pathintegration.xml
File metadata and controls
37 lines (29 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE integration SYSTEM "integration.dtd">
<webhooks>
<webhook>
<webhook_config name="zohocrm">
<url>https://www.zohoapis.com/crm/v2/leads</url>
<body>{
"data":[
{
"Last_Name": "kumar",
"First_Name": "Vinay", "Email": "vinaykumar.s@zohocorp.com"
}
], "trigger":["approval"]
}</body>
<auth_type>2</auth_type>
<method>post</method>
</webhook_config>
<trigger_config type="1"/>
<headers>
<header key="scope" value="ZohoCRM.modules.all"/>
<header key="Authorization" value="Zoho-oauthtoken {{access_token}}"/>
</headers>
<oauth>
<callback_url>http://vinay-6985.csez.zohocorpin.com:8080/pagesense/api/v1/portal/vinay/TestAction/zohocrm</callback_url>
<access_token_url>https://accounts.zoho.com/oauth/v2/token?client_id=1000.BZ6FAA3ZNM9778147DABD6BDFS3AOF&client_secret=4b9753575b1f63b4acaf04dd2c2b432fc1c077d0b4&access_type=offline&grant_type=refresh_token&scope=ZOHOCRM.modules.all&refresh_token={{refresh_token}}</access_token_url>
<authorization_url>https://accounts.zoho.com/oauth/v2/token?client_id=1000.BZ6FAA3ZNM9778147DABD6BDFS3AOF&client_secret=4b9753575b1f63b4acaf04dd2c2b432fc1c077d0b4&grant_type=authorization_code&access_type=offline&prompt=consent</authorization_url>
</oauth>
</webhook>
</webhooks>