import requests
url = "https://api.diga.io/v1/call/{id}/message"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_date": "2023-11-07T05:31:56Z",
"role": "user",
"content": "<string>",
"tool_call": {
"name": "<string>",
"arguments": {}
}
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_page": 123,
"total_pages": 123
}Retrieve the paginated transcription messages for a specific call, showing the conversation between the agent and the caller.
import requests
url = "https://api.diga.io/v1/call/{id}/message"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_date": "2023-11-07T05:31:56Z",
"role": "user",
"content": "<string>",
"tool_call": {
"name": "<string>",
"arguments": {}
}
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_page": 123,
"total_pages": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier for the call
x >= 11 <= x <= 1000asc, desc