Saltar al contenido principal
GET
/
call
/
{id}
cURL
curl --request GET \
  --url https://api.altur.io/api/v1.0/call/{id} \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "thread": {
    "id": "<string>",
    "agent": {
      "id": "<string>",
      "name": "<string>"
    },
    "end_user": {
      "id": "<string>",
      "display_name": "<string>",
      "integration_type": "api",
      "info": "<string>"
    },
    "integration": {
      "id": "<string>",
      "type": "api"
    },
    "updated_at": "2023-11-07T05:31:56Z",
    "active": true,
    "blocked": true,
    "tags": [
      {
        "id": "<string>",
        "name": "<string>",
        "color": "blue"
      }
    ],
    "assigned_to": [
      {
        "id": "<string>",
        "email": "<string>",
        "first_name": "<string>",
        "last_name": "<string>"
      }
    ]
  },
  "type": "inbound",
  "status": "created",
  "answered_by": "human",
  "created_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "ended_at": "2023-11-07T05:31:56Z",
  "duration": 123,
  "billable_duration": 123
}

Autorizaciones

Authorization
string
header
requerido

Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.

Parámetros de ruta

id
string
requerido

The identifier of the Call to return

Respuesta

Call response

id
string

Unique identifier for the Call

thread
object
type
enum<string>

Type of the Call

Opciones disponibles:
inbound,
outbound
status
enum<string>

Status of the Call

Opciones disponibles:
created,
queued,
ringing,
in-progress,
forwarding,
ended,
busy,
no-answer,
failed
answered_by
enum<string>

Who or what answered the Call

Opciones disponibles:
human,
machine,
unknown
created_at
string<date-time>

Datetime from when the Call was created

started_at
string<date-time>

Datetime from when the Call was started

ended_at
string<date-time>

Datetime from when the Call was ended

duration
integer

Duration of the Call in seconds

billable_duration
integer

Billable duration of the Call in seconds