Contact Logs
Covered in this doc:

List contact logs

List all contact form logs for a site
1
GET /api/v2/contact_log/?
2
site_id=12345
Copied!

Parameters

Name
Type
Description
site_id
string
ID of the Site you want to get the logs for
order_by
string
Set the field to sort the results by. Available order_by includes id (default). You can also sort decending by prefixing the field with a minus sign (i.e. order_by=-id)
id__gt
string
Filter the list to only the contact logs greater than a certain contact log ID

Response

1
{
2
"meta": {
3
"limit": 20,
4
"next": "/api/v2/contact_log/?limit=20&offset=20",
5
"offset": 0,
6
"previous": null,
7
"total_count": 5
8
},
9
"objects": [
10
{
11
"email": "[email protected]",
12
"id": 328269,
13
"ip": "187.232.189.217",
14
"message": "Here is the message from the visitor",
15
"name": "John Doe",
16
"phone": "206-555-5555",
17
"resource_uri": "/api/v2/contact_log/328269/",
18
"site_id": 12345,
19
"timestamp": "2012-06-01T09:28:46",
20
"form_id": 12345,
21
"form": {
22
"id": 12345,
23
"name": "Form name",
24
...
25
}
26
},
27
...
28
]
29
}
Copied!
Last modified 6mo ago