Closer
Search…
Push out data with Webhooks
You can send information from Closer to your application via Webhooks. If you're new to webhooks, read this guide to learn more.
Rather than requiring you to pull information via our API, webhooks will push information to your endpoint. When one of those events is triggered (for example a new deal is added), Pipedrive will send this notification as an HTTP POST request, with a JSON body, to the endpoint(s) you specify.
To configure endpoint(s) for the webhooks to be sent to, head to the Admin / Webhooks section.
We support 2 types of events: conversation.created and conversation.closed.

Webhook format

conversation.created event
1
{
2
"customer": {
3
"id": "00000000-0000-0000-0000-000000000000",
4
"apiKey": "00000000-0000-0000-0000-000000000000",
5
"firstName": "Jon",
6
"lastName": "Snow",
7
"randomName": "Frosty Wolf",
8
"backOfficeData": [
9
{
10
"key": "currentPage",
11
"value": "https://yourbusiness.com/"
12
},
13
{
14
"key": "currentPageTitle",
15
"value": "Your business"
16
},
17
{
18
"key": "screenSize",
19
"value": "1080x1920"
20
},
21
{
22
"key": "browserVersion",
23
"value": "67"
24
},
25
{
26
"key": "browserName",
27
"value": "Firefox"
28
},
29
{
30
"key": "operatingSystem",
31
"value": "Mac OS X 10.14"
32
}
33
]
34
},
35
"email": "[email protected]",
36
"phone": "+48123456789"
37
},
38
"timestamp": 1560499664789,
39
"eventType": "ThreadCreatedEvent"
40
}
41
Copied!
conversation.closed event
1
2
{
3
"customer": {
4
"id": "00000000-0000-0000-0000-000000000000",
5
"apiKey": "00000000-0000-0000-0000-000000000000",
6
"firstName": "Jon",
7
"lastName": "Snow",
8
"randomName": "Frosty Wolf",
9
"backOfficeData": [
10
{
11
"key": "currentPage",
12
"value": "https://yourbusiness.com/"
13
},
14
{
15
"key": "currentPageTitle",
16
"value": "Your business"
17
}
18
],
19
"email": "[email protected]",
20
"phone": "+48123456789"
21
},
22
"timestamp": 1560513840901,
23
"closedType": "solved",
24
"assignee": {
25
"id": "00000000-0000-0000-0000-000000000000",
26
"firstName": "Bob",
27
"lastName": "Holmes",
28
"email": "[email protected]"
29
"isBot": false
30
},
31
"messageHistory": [
32
{
33
"author": {
34
"id": "00000000-0000-0000-0000-000000000000",
35
"role": "CUSTOMER",
36
"email": "[email protected]",
37
"phone": "+48123456789"
38
},
39
"message": "Hello",
40
"timestamp": 1560177613051
41
},
42
{
43
"author": {
44
"id": "00000000-0000-0000-0000-000000000000",
45
"role": "ADVISER",
46
"email": "[email protected]",
47
"phone": null
48
},
49
"message": "Hi!",
50
"timestamp": 1560177614270
51
},
52
{
53
"author": {
54
"id": "00000000-0000-0000-0000-000000000000",
55
"role": "CUSTOMER",
56
"email": "[email protected]",
57
"phone": "+48123456789"
58
},
59
"message": "Nice to meet you",
60
"timestamp": 1560177616949
61
}
62
],
63
"eventType": "ThreadClosedEvent"
64
}
65
Copied!
Last modified 2yr ago
Copy link