Skip to main content
GET
/
api
/
telephony
/
calls
/
history
Get call history
curl --request GET \
  --url https://api.g-tateth.com/api/telephony/calls/history \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "calls": [
      {}
    ],
    "pagination": {
      "total": 100,
      "page": 1,
      "limit": 20,
      "totalPages": 5
    }
  }
}

Authorizations

Authorization
string
header
required

JWT token authentication (for user sessions)

Query Parameters

startDate
string<date-time>
endDate
string<date-time>
status
enum<string>
Available options:
completed,
missed,
failed,
answered
direction
enum<string>
Available options:
inbound,
outbound
agentId
string
customerId
string
page
number
default:1
limit
number
default:20

Response

200 - application/json

Call history retrieved successfully

success
boolean
data
object