Chat Logs API

The Chat Log API is an API for retrieving conversation data from LITTLE HELP CONNECT.

The API specifications are as follows

Endpoint URL http://api.littlehelp.co.jp/api/line/:hubId/messages
HTTP method GET
Content Type application/json
Response format JSON
hubId Specify the ID of the HubSpot portal you are collaborating with.
Specify by request URL.
apikey Specify the API key.
Specify it in the query parameter.
from Specify the target start date of the conversation data in "YYYY-MM-DD".
Specify it in the query parameter.
to Specify the target end date of the conversation data in "YYYY-MM-DD".
Specify it in the query parameter.


Sample request:
http://api.littlehelp.co.jp/api/line/6662225/messages?apikey=XXXXXXX&from=2019-11-03&to=2019-11-04


Sample response:

  [
{
"lineId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"vid": "101",
"name": "shinobu",
"messages": [
{
"sender": "You",
"msg": "Hi shinobu! Thank you for becoming our friend! 👋",
"contentType": "text",
"createdAt": "2019-11-03T23:41:20.371Z"
},
{
"sender": "You",
"msg": "[Sticker]\nID: 1",
"contentType": "text",
"createdAt": "2019-11-03T23:58:47.206Z"
}
]
}
]


2-Oct-17-2021-04-46-29-64-AM

Currently, there are no specific restrictions on the use of the API. However, we reserve the right to add more restrictions without notice.