OnCaller
  • OnCaller Developer Document
  • API
    • Authentication
    • Blacklist Number Management
    • Business Hour Management
    • Caller Setting
    • Call Actions
    • Call Logs
  • SDK
    • Javascript SDK
      • OnCallerCall
      • OnCallerCallState
      • OnCallerClient
      • OnCaller Error Code
      • Example
    • OnCaller Call Widget
    • Android SDK
    • iOS SDK
    • React Native SDK
    • Cordova/IONIC SDK
Powered by GitBook
On this page

Was this helpful?

  1. API

Call Logs

Manage call logs

Get Call logs

GET https://api.cakes.com/v1/call/log

This endpoint allows you to get free cakes.

Query Parameters

Name
Type
Description

page

string

limit

string

to_date

string

from_date

string

Headers

Name
Type
Description

Authentication

string

Bearer + {token}

{
    "success": true,
    "code": 200,
    "locale": "en",
    "message": "OK",
    "data": {
        "current_page": 1,
        "data": [
            {
                "call_id": "call-vn-1-W8ZO7DN151-1599591645450",
                "from_user_id": "1",
                "from_number": "842499966622",
                "to_number": "0904893123",
                "from_alias": "842499966622",
                "from_internal": 1,
                "to_internal": 0,
                "start_time": "2020-09-10T13:06:21.000000Z",
                "answer_time": null,
                "first_answer_time": null,
                "answer_duration": 0,
                "stop_time": "2020-09-10T13:06:21.000000Z",
                "created": "2020-09-10T13:06:21.000000Z",
                "amount": 0,
                "recorded": 0,
                "uuid": null,
                "created_at": "2020-10-01T08:11:12.000000Z",
                "updated_at": "2020-10-01T08:30:01.000000Z"
            },
            {
                "call_id": "call-vn-1-W8ZO7DN151-1599591645492",
                "from_user_id": "1",
                "from_number": "842499966622",
                "to_number": "0904893123",
                "from_alias": "842499966622",
                "from_internal": 1,
                "to_internal": 0,
                "start_time": "2020-09-10T13:06:37.000000Z",
                "answer_time": null,
                "first_answer_time": null,
                "answer_duration": 0,
                "stop_time": "2020-09-10T13:06:37.000000Z",
                "created": "2020-09-10T13:06:37.000000Z",
                "amount": 0,
                "recorded": 0,
                "uuid": null,
                "created_at": "2020-10-01T08:11:12.000000Z",
                "updated_at": "2020-10-01T08:30:01.000000Z"
            }
        ],
        "first_page_url": "https:\/\/{subdomain}.oncaller.asia\/api\/v1\/call\/log?page=1",
        "from": 1,
        "last_page": 60,
        "last_page_url": "https:\/\/{subdomain}.oncaller.asia\/api\/v1\/call\/log?page=60",
        "next_page_url": "https:\/\/{subdomain}.oncaller.asia\/api\/v1\/call\/log?page=2",
        "path": "https:\/\/{subdomain}.oncaller.asia\/api\/v1\/call\/log",
        "per_page": 2,
        "prev_page_url": null,
        "to": 2,
        "total": 120
    }
}

PreviousCall ActionsNextJavascript SDK

Last updated 4 years ago

Was this helpful?