Authorization: Bearer ********************{
"dateRange": "custom",
"from": "2026-06-01T00:00:00",
"to": "2026-06-03T00:00:00",
"categoryIds": [
1,
2
],
"owners": [
"ownerCode"
],
"stageIds": [
1,
2
],
"sources": [],
"tags": [
"tag1",
"tag2"
],
"search": null,
"skip": 0,
"take": 20,
"sortField": "title",
"sortOrder": "desc"
}curl --location 'https://api.gofive.co.th/v2/cases/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dateRange": "custom",
"from": "2026-06-01T00:00:00",
"to": "2026-06-03T00:00:00",
"categoryIds": [
1,
2
],
"owners": [
"ownerCode"
],
"stageIds": [
1,
2
],
"sources": [],
"tags": [
"tag1",
"tag2"
],
"search": null,
"skip": 0,
"take": 20,
"sortField": "title",
"sortOrder": "desc"
}'{
"status": {
"code": "1000",
"description": "Success"
},
"data": {
"total": 57,
"hasMore": true,
"rows": [
{
"caseNo": "CaseNo1",
"subject": "Subject1",
"description": "Description1",
"categoryId": 1,
"stageId": 1,
"customerCode": "CustomerCode1",
"source": "1",
"sourceName": "อีเมล",
"dateCase": "2026-06-01T09:00:00Z",
"dateDue": "2026-06-01T17:00:00Z",
"caseTag": [
"CaseTag1"
],
"activityNo": [
"ActivityNo1"
],
"dealNo": [
"DealNo1"
],
"chatId": "ChatId1",
"sla": {
"cycleStartedAt": "2026-06-01T09:00:05Z",
"firstReplyAt": null,
"reopenCount": 0,
"firstResponse": {
"targetMs": 1800000,
"elapsedMs": null,
"breached": false
},
"resolution": {
"targetMs": 86400000,
"elapsedMs": null,
"breached": false
}
},
"owner": "StaffCode1",
"participants": [
"StaffCode2"
]
},
{
"caseNo": "CaseNo2",
"subject": "Subject2",
"description": null,
"categoryId": 1,
"stageId": 1,
"customerCode": null,
"source": "1",
"sourceName": "อีเมล",
"dateCase": "2026-06-01T09:00:00Z",
"dateDue": "2026-06-01T17:00:00Z",
"caseTag": [],
"activityNo": [],
"dealNo": [],
"chatId": null,
"sla": {
"cycleStartedAt": "2026-06-01T09:00:05Z",
"firstReplyAt": null,
"reopenCount": 0,
"firstResponse": {
"targetMs": 1800000,
"elapsedMs": null,
"breached": false
},
"resolution": {
"targetMs": 86400000,
"elapsedMs": null,
"breached": false
}
},
"owner": "StaffCode2",
"participants": []
}
]
}
}