Get a specific call detail record
Retrieve the details of a specific call detail record by its ID.
Path Parameters
id string required
The unique identifier of the call detail record
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successfully retrieved the call detail record
application/json
Schema
Example (from schema)
Schema
data object
{
"data": {
"id": "64a6ac4a505f1d324f6cc220",
"callId": "eff7c60d5790f0b5d54f7d9ee15d0a9f",
"date": "2020-01-01T12:00:00.000Z",
"direction": "inbound",
"externalNumber": {
"anonymous": false,
"localized": "085 060 9000",
"e164": "+31850609000",
"isOnClientBlacklist": false,
"isOnGlobalBlacklist": true
},
"internalNumber": {
"id": "64b8e900cbe7501ee8467d3e",
"label": "Rinkel",
"number": "+31850609000",
"localizedNumber": "085 060 9000"
},
"duration": 60,
"status": "ANSWERED",
"missedReason": null,
"menuOption": null,
"user": {
"id": "64a6b60be7ce3a7774155263",
"initials": "JD",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"phoneNumber": {
"e164": "+31612345678",
"countryIsoCode": "NL",
"countryCallingCode": 31,
"number": "612345678"
},
"role": "user",
"availability": "AVAILABLE",
"avatarUrls": {
"small": "https://api.rinkel.com/users/64a6b60be7ce3a7774155263/avatar/small?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"large": "https://api.rinkel.com/users/64a6b60be7ce3a7774155263/avatar/large?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}
},
"contact": {
"id": "64a6ba73940fd11546c92f6e",
"firstName": "John",
"lastName": "Doe",
"initials": "JD",
"fullName": "John Doe",
"companyName": "Rinkel",
"numbers": [
{
"label": "Mobile",
"e164": "+31612345678",
"countryIsoCode": "NL",
"countryCallingCode": 31,
"number": "612345678",
"localized": "06 12345678"
}
],
"favorite": true,
"shared": true,
"sharedByUser": "64a6b60be7ce3a7774155263",
"defaultOutboundNumberId": "64b8e900cbe7501ee8467d3e",
"tag": "system",
"email": "johndoe@rinkel.com",
"avatarUrls": {
"small": "https://api.rinkel.com/contact/64a6ba73940fd11546c92f6e/avatar/small?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"large": "https://api.rinkel.com/contact/64a6ba73940fd11546c92f6e/avatar/large?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}
},
"voicemail": {
"id": "64a7e70f76d3cccf86d47d42",
"new": true,
"duration": 30,
"availableUntil": "2024-04-01T00:00:00.000Z",
"playUrl": "https://api.rinkel.com/voicemails/64a7e70f76d3cccf86d47d42/stream"
},
"callRecording": {
"id": "64a7e60337ee34ea78e5325c",
"availableUntil": "2020-01-01T12:00:00.000Z",
"playUrl": "https://api.rinkel.com/call-recordings/64a7e60337ee34ea78e5325c/stream"
},
"notes": [
{
"id": "64a6ac4a505f1d324f6cc220",
"date": "2024-01-01T12:00:00.000Z",
"user": "64a6ba73940fd11546c92f6e",
"content": "This is a note"
}
],
"insights": {
"status": "AVAILABLE",
"summary": "This is a summary of the call generated by AI insights",
"customSummary": "This is a custom summary of the call",
"sentiment": "POSITIVE",
"topics": [
"sales",
"support"
]
}
}
}
Invalid ID supplied
Unauthorized
Forbidden
Call detail record not found
Internal Server Error
GET /call-detail-records/:id
Authorization
name: x-rinkel-api-keytype: apiKeyin: header
Request
Request
curl / cURL
curl -L -X GET 'https://api.rinkel.com/v1/call-detail-records/:id' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://api.rinkel.com/v1/call-detail-records/:id' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
php / axios
curl -L -X GET 'https://api.rinkel.com/v1/call-detail-records/:id' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://api.rinkel.com/v1/call-detail-records/:id' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
ruby / cURL
curl -L -X GET 'https://api.rinkel.com/v1/call-detail-records/:id' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
java / unirest
curl -L -X GET 'https://api.rinkel.com/v1/call-detail-records/:id' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'