List of Calls

This endpoint will retrieve a list of up to 100 of the latest calls for your account:
GET https://api.simplephones.ai/v1/calls/user
Example return value:
[
{
_id: '819d7067dbd62ca62a6c62c5',
minutesUsed: 0.9666666666666667,
user: '47630a2e0efa1ae21f848a69',
number: 'c2d525c7c7b5b9f1fd941770',
fromRawNumber: '+17777777777',
fromFormattedNumber: '(777) 777-7777',
toRawNumber: '+15555555555',
toFormattedNumber: '(555) 555-5555',
startTime: '2023-03-01T13:00:00.000Z',
endTime: '2023-03-01T13:01:01.000Z',
transcript: [
{
_id: '87a6ba747dc1625be5b12562',
who: 'agent',
message: 'Hello, this is Smith Notary. How can I help you today? You can say things like, "about us", "schedule an appointment" or "leave a message".',
created: '2023-03-01T13:00:00.000Z'
},
{
_id: '5f9a2eec8cad59afe6efe0e2',
who: 'user',
message: 'leave a message',
created: '2023-03-01T13:01:00.000Z'
},
{
_id: '9d0ecd3f6345dc7f52c7acd0',
who: 'agent',
message: 'Got it.',
created: '2023-03-01T13:01:00.000Z'
}
],
created: '2023-03-01T13:03:00.000Z',
}
]