Llamadas
Retrieve Call
Introducción
Endpoints de API
- Llamadas
- Mensajes
- Threads
- EndUsers
Webhooks
- Webhooks Overview
- Eventos de Webhook
Llamadas
Retrieve Call
Returns the Call corresponding to the given indentifier
GET
/
call
/
{id}
curl --request GET \
--url https://api.altur.io/api/v1.0/call/{id} \
--header 'Authorization: <api-key>'
{
"id": "<string>",
"thread": {
"id": "<string>",
"chatbot": {
"id": "<string>",
"name": "<string>"
},
"enduser": {
"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
}
Authorizations
Add api-key YOUR_API_SECRET_KEY
as the value of the Authorization
header.
Path Parameters
The identifier of the Call to return
Response
200
application/json
Call response
The response is of type object
.
curl --request GET \
--url https://api.altur.io/api/v1.0/call/{id} \
--header 'Authorization: <api-key>'
{
"id": "<string>",
"thread": {
"id": "<string>",
"chatbot": {
"id": "<string>",
"name": "<string>"
},
"enduser": {
"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
}