URL: https://api.stringee.com/v1/call/log
HTTP method: GET
Custom HTTP GET header:
Name: X-STRINGEE-AUTH
Value: JSON web token (JWT), see REST API Authentication
GET params:
Field | Type | Default | Required | Description |
---|---|---|---|---|
version | Number | 1 | No | 1 = supports pagination (deprecated); 2 = supports search_after |
page | Number | 1 | No | Only applies when version = 1 |
limit | Number | 10 | No | Number of records per page (max 100) |
sort_by | String | start_time | No | Field to sort by: start_time, answer_time, stop_time, created, etc. |
sort_order | String | desc | No | desc = descending, asc = ascending |
search_after[] | Array | No | Only works when version = 2. Example: search_after[]=1751285915649&search_after[]=call-vn-1-... | |
order_direction | String | ltr | No | Only works when version = 2. Text reading direction: ltr, rtl |
from_user_id | String | No | ID of the caller | |
from_number | String | No | Calling number | |
to_number | String | No | Destination number | |
from_start_time | Long | No | Start timestamp (ms) | |
to_start_time | Long | No | End timestamp (ms) | |
from_answer_time | Long | No | Answer start time (ms) | |
to_answer_time | Long | No | Answer end time (ms) | |
from_stop_time | Long | No | Call stop time (ms) | |
to_stop_time | Long | No | ||
from_created_time | Int | No | Call creation time (s) | |
to_created_time | Int | No |
Sample request:
a) Get calls with default settings:
GET https://api.stringee.com/v1/call/log?version=2
X-STRINGEE-AUTH: json_web_token
b) Get calls with parameters (version = 2, using search_after):
GET https://api.stringee.com/v1/call/log?version=2&limit=10&sort_by=start_time&search_after[]=1751285915649&search_after[]=call-vn-1-7EOLB370OL-1751008322530
X-STRINGEE-AUTH: json_web_token
Sample response:
{
"r": 0,
"message": "Load call(s) success",
"data": {
"calls": [
{
"id": "call-vn-1-7EOLB370OL-1751008322600",
"uuid": "b92a5bbb-03f0-4116-8f0b-551cb7b15049",
"project_id": 575402,
"project_name": "fairdebt-123",
"account_id": 128802,
"from_number": "%2B917488360879",
"to_number": "918204264707",
"from_user_id": null,
"from_alias": "",
"to_alias": "",
"from_internal": 0,
"to_internal": 1,
"participants": "918204264707;",
"video_call": 0,
"recorded": 0,
"record_path": null,
"start_time": 1751285921603,
"answer_time": 0,
"stop_time": 1751285921615,
"created": 1751285921,
"last_modified": 1751285921,
"amount": 0,
"answer_duration": 0,
"answer_duration_minutes": 0,
"start_time_datetime": "2025/06/30, 19:18:41",
"answer_time_datetime": 0,
"stop_time_datetime": "2025/06/30, 19:18:41",
"created_datetime": "2025/06/30, 19:18:41",
"fields": []
}
],
"search_after": [
1751285915649,
"call-vn-1-7EOLB370OL-1751008322530"
],
"limit": 10,
"totalCalls": 10000,
"totalAnswerDurationMinutes": null
}
}