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
  • Get my Caller information
  • Update Caller information

Was this helpful?

  1. API

Caller Setting

Setting your caller

Get my Caller information

GET https://{yoursubdomain}.oncaller.asia/api/v1/setting

This endpoint allows you to get all settings of caller

Headers

Name
Type
Description

Authentication

string

Bearer + {token}

{
    "success": true,
    "code": 0,
    "locale": "en",
    "message": "OK",
    "data": {
        "id": "a8ba761c-92ac-4f1a-a3c3-06d302ec8bbb",
        "email": "caller@novaon.vn",
        "data": null,
        "updated_at": "2020-10-02T04:23:47.000000Z",
        "company": "NOVAON OK",
        "name": "",
        "ready": true,
        "abc": "zooooo",
        "get_customer_info_url": "https:\/\/google.com",
        "get_customer_info_timeout": 2000,
        "event_url": "https:\/\/google.com\/events",
        "callout_answer_url": "https:\/\/google.com\/callout"
    }
}

Update Caller information

PUT https://{yoursubdomain}.oncaller.asia/api/v1/setting

Headers

Name
Type
Description

Authentication

string

Bearer + {token}

Request Body

Name
Type
Description

company

string

Company name

get_customer_info_timeout

string

event_url

string

OnCaller will send call events to this URL (your server)

callout_answer_url

string

{
    "success": true,
    "code": 0,
    "locale": "en",
    "message": "OK",
    "data": {
        "id": "a8ba761c-92ac-4f1a-a3c3-06d302ec8bbb",
        "email": "caller@novaon.vn",
        "data": null,
        "updated_at": "2020-10-02T04:23:47.000000Z",
        "company": "NOVAON OK",
        "name": "",
        "ready": true,
        "abc": "zooooo",
        "get_customer_info_url": "https:\/\/google.com",
        "get_customer_info_timeout": 2000,
        "event_url": "https:\/\/google.com\/events",
        "callout_answer_url": "https:\/\/google.com\/callout"
    }
}
PreviousBusiness Hour ManagementNextCall Actions

Last updated 4 years ago

Was this helpful?