# Migrate from V1
# Conversations API
Search closed conversations:
{
"timezone": "UTC",
"size": 50,
"query": [
{
"field": "status",
"value": "closed"
}
],
"sort": [
{
"finishedAt": "asc"
}
]
}
Search closed conversations by date:
{
"timezone": "UTC",
"size": 50,
"query": [
{
"field": "status",
"value": "closed"
},
{
"field": "finishedAt",
"value": [
"2020-08-08T00:00:00",
"2020-08-08T23:59:59"
]
}
],
"sort": [
{
"finishedAt": "asc"
}
]
}
Parameter timezone
is used to find conversations by your specific timezone.
For more information see Timezone Guide.
In comparision with v1 you used to paginate over result using parameters limit
and offset
.
Current API use a cursor based pagination rather then limit and offset.
You can find out more in Pagination Guide.
# Statistics API
The Statistics API was completely reworked for more information how to work with api visit Statistic Guide.