Event Definition

Opentact provides a comprehensive event structure for developers to integrate tightly to our Opentact core platform. Here are the few types of events available:

  • Call Related

    • Call Initiated

    • Call Answered

    • Ringing

    • Call Bridged

    • Call Hangup

  • SMS Related

    • SMS Sent

    • SMS Received

  • TN Related

    • Order Changed

  • Recording Related

    • Record Available

    • Transcript Available

  • Account Related

    • Balance Changed

This is how user can check which event is subscribed to its own account

curl -X 'GET' \
  'https://api.stage.opentact.org/rest/event/subscription' \
  -H 'accept: application/json' \
  -H 'X-Auth-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiMjk4NGExY2EtZmZmNy00YzU5LWE2M2ItMzQ2ODE3OWQ3ZGY3Iiwicm9sZSI6IlVzZXIiLCJpYXQiOjE2NzI2Mzk1NjQsImV4cCI6MTY3MjcyNTk2NH0.zSb_Z0ITpBdyTrI43yRRYk5zpHEAcKHVXfE7PzeCmcE'
 {
      "created_on": "2022-12-22T11:04:13.976Z",
      "modified_on": "2022-12-22T11:06:18.836Z",
      "uuid": "dcfc6772-bacf-4932-b1fe-8ac63c5a7b1a",
      "channel": "wss",
      "type": "call_record",
      "is_active": false,
      "expired_on": "2022-12-22T11:00:16.145Z"
    },
    {
      "created_on": "2023-01-02T07:38:37.390Z",
      "modified_on": "2023-01-02T07:38:37.390Z",
      "uuid": "7099cb76-92a6-4ed4-b695-d1c4edd66b16",
      "channel": "wss",
      "type": "auth",
      "is_active": true,
      "expired_on": "2023-01-02T07:36:44.784Z"
    },

Once you're strong enough, save the world:

Last updated