Call Types

Operations related to call types

Get all call types

get

Returns a list of call types with pagination support.

Autorizaciones
Respuestas
200Éxito
application/json
get
GET /api/v1/call-types HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
  "statusCode": 200,
  "count": 1,
  "error": "text",
  "data": [
    {
      "id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
      "name": "Sales Call",
      "description": "Sales call with potential customers",
      "isEnabled": true,
      "score": [
        {
          "value": 0.85,
          "type": "accuracy"
        }
      ],
      "type": "videocall"
    }
  ]
}

Get call type by ID

get

Returns a call type by ID.

Autorizaciones
Parámetros de ruta
idstringRequerido

Call type ID to retrieve.

Respuestas
200Éxito
application/json
get
GET /api/v1/call-types/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
  "statusCode": 200,
  "count": 1,
  "error": "text",
  "data": {
    "id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
    "name": "Sales Call",
    "description": "Sales call with potential customers",
    "isEnabled": true,
    "score": [
      {
        "value": 0.85,
        "type": "accuracy"
      }
    ],
    "type": "videocall"
  }
}