application/json

Body Required

  • channel string
  • duration integer(int32)
  • status string

    Values are CALLING, RINGING, ON_CALL, CLOSED, DECLINED, or MISSED.

  • time string

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data object
      Hide data attributes Show data attributes object
      • app string
      • status string

        Values are CALLING, RINGING, ON_CALL, CLOSED, DECLINED, or MISSED.

      • channel string
      • name string
      • type string

        Values are VOICE, VIDEO, T2F, or NONE.

      • user string(uuid)
      • category string
      • image string
      • avatar string
      • error string
      • session integer(int32)
      • snt string
      • is_caller boolean
      • error_code string
PATCH /call/session
curl \
 --request PATCH 'https://sandbox.serchservice.com/api/v1/call/session' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"channel":"string","duration":42,"status":"CALLING","time":"string"}'
Request examples
{
  "channel": "string",
  "duration": 42,
  "status": "CALLING",
  "time": "string"
}
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "app": "string",
    "status": "CALLING",
    "channel": "string",
    "name": "string",
    "type": "VOICE",
    "user": "string",
    "category": "string",
    "image": "string",
    "avatar": "string",
    "error": "string",
    "session": 42,
    "snt": "string",
    "is_caller": true,
    "error_code": "string"
  }
}