GET /API/V2/TRANSCRIPTION/{ID}
RETRIEVE THE TRANSCRIPTION FOR A SINGLE CALL. RESULT CODE
200 | OK |
---|---|
401 | Unauthorized |
404 | Call not found |
406 | SSL must be used |
500 | Server Error |
RESULT SETS
By default, all results are returned in the JSON format. If you want to change this to text or srt, you can include an ‘Accept’ Header.
Example;- Accept: application/json or Accept: text/plain or Accept: text/srt
EXAMPLE REQUEST
Example;- GET https://api.calln.com/api/v2/transcription/32155584 Result;- 200 (OK) {"_links":{"self":{"href":"/v2-beta/media"}},"media":{"mediaId":"816e1ef2-7d7c-41bb-8e6f-86c4bf772e87","status":"finished","metadata":{"contentType":"audio/mpeg","length":{"milliseconds":15264,"descriptive":"15.0 sec"}},"job":{"progress":{"jobId":"6eadffa4-7f61-4520-82b7-cff779bd4e37","status":"completed","start":"9ab16c7b-01d5-448c-960d-330eda234630","finish":"320e20e7-b8f8-4dc1-9d52-db238533d4be","tasks":{"9ab16c7b-01d5-448c-960d-330eda234630":{"taskId":"9ab16c7b-01d5-448c-960d-330eda234630","phase":"ingest","display":"Ingest","status":"finished","dependents":["5ca89d95-05df-4996-a739-d6faea9b7d81","b4236455-1699-434c-a79a-4603637b2873"],"dependencies":[]},"683702b1-6b63-4e32-985e-dae5c37c3724":{"taskId":"683702b1-6b63-4e32-985e-dae5c37c3724","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["d37b1a9f-f046-4c79-84de-6397c5da0640"],"dependencies":["5ca89d95-05df-4996-a739-d6faea9b7d81","b4236455-1699-434c-a79a-4603637b2873"]},"d37b1a9f-f046-4c79-84de-6397c5da0640":{"taskId":"d37b1a9f-f046-4c79-84de-6397c5da0640","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["562cca5e-dd99-4abf-863c-16d4b80bc052"],"dependencies":["683702b1-6b63-4e32-985e-dae5c37c3724"]},"562cca5e-dd99-4abf-863c-16d4b80bc052":{"taskId":"562cca5e-dd99-4abf-863c-16d4b80bc052","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["cc2998cf-d097-4f10-baac-386db642730b"],"dependencies":["d37b1a9f-f046-4c79-84de-6397c5da0640"]},"cc2998cf-d097-4f10-baac-386db642730b":{"taskId":"cc2998cf-d097-4f10-baac-386db642730b","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["62d91be5-df7f-4c74-b4f4-d1c94c249ea3"],"dependencies":["562cca5e-dd99-4abf-863c-16d4b80bc052"]},"62d91be5-df7f-4c74-b4f4-d1c94c249ea3":{"taskId":"62d91be5-df7f-4c74-b4f4-d1c94c249ea3","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["e791971c-f3cf-4e4c-b774-bfdd44d8d62e"],"dependencies":["cc2998cf-d097-4f10-baac-386db642730b"]},"e791971c-f3cf-4e4c-b774-bfdd44d8d62e":{"taskId":"e791971c-f3cf-4e4c-b774-bfdd44d8d62e","phase":"keywords","display":"Keywords","status":"finished","dependents":["77847d07-38a4-4d17-8a44-a549404a368f"],"dependencies":["62d91be5-df7f-4c74-b4f4-d1c94c249ea3"]},"77847d07-38a4-4d17-8a44-a549404a368f":{"taskId":"77847d07-38a4-4d17-8a44-a549404a368f","phase":"publish","display":"Publish","status":"finished","dependents":["320e20e7-b8f8-4dc1-9d52-db238533d4be"],"dependencies":["e791971c-f3cf-4e4c-b774-bfdd44d8d62e"]},"320e20e7-b8f8-4dc1-9d52-db238533d4be":{"taskId":"320e20e7-b8f8-4dc1-9d52-db238533d4be","phase":"publish","display":"Publish","status":"finished","dependents":[],"dependencies":["77847d07-38a4-4d17-8a44-a549404a368f"]},"5ca89d95-05df-4996-a739-d6faea9b7d81":{"taskId":"5ca89d95-05df-4996-a739-d6faea9b7d81","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["683702b1-6b63-4e32-985e-dae5c37c3724"],"dependencies":["9ab16c7b-01d5-448c-960d-330eda234630"]},"b4236455-1699-434c-a79a-4603637b2873":{"taskId":"b4236455-1699-434c-a79a-4603637b2873","phase":"transcripts","display":"Transcripts","status":"finished","dependents":["683702b1-6b63-4e32-985e-dae5c37c3724"],"dependencies":["9ab16c7b-01d5-448c-960d-330eda234630"]}}}},"dateFinished":"2017-10-18T23:42:19.799+0000","dateCreated":"2017-10-18T23:41:56.143Z","transcripts":{"latest":{"revision":"6eadffa4-7f61-4520-82b7-cff779bd4e37","engine":"premium","confidence":0.1797786068071878,"words":[{"p":0,"s":260,"c":1.0,"e":15110,"w":"6699 (Test Contact, Voice Portal)","m":"turn"},{"p":1,"s":260,"c":0.58,"e":740,"w":"Welcome"},{"p":2,"s":750,"c":0.939,"e":849,"w":"to"},{"p":3,"s":859,"c":0.429,"e":1040,"w":"your"},{"p":4,"s":1050,"c":0.265,"e":1360,"w":"comm"},{"p":5,"s":1370,"c":0.979,"e":1790,"w":"pilot"},{"p":6,"s":1839,"c":0.464,"e":2110,"w":"Boyce"},{"p":7,"s":2120,"c":0.97,"e":2710,"w":"portal"},{"p":8,"s":3050,"c":0.317,"e":3250,"w":"to"},{"p":9,"s":3260,"c":0.949,"e":3720,"w":"access"},{"p":10,"s":3730,"c":0.889,"e":3840,"w":"your"},{"p":11,"s":3850,"c":0.925,"e":4470,"w":"voicemail"},{"p":12,"s":4480,"c":0.779,"e":5009,"w":"box"},{"p":13,"s":5089,"c":0.221,"e":5480,"w":"press"},{"p":14,"s":5490,"c":0.091,"e":5940,"w":"one"},{"p":15,"s":6319,"c":0.173,"e":6460,"w":"to"},{"p":16,"s":6470,"c":0.96,"e":6819,"w":"change"},{"p":17,"s":6830,"c":0.878,"e":7040,"w":"your"},{"p":18,"s":7049,"c":0.949,"e":7669,"w":"compiler"},{"p":19,"s":7680,"c":0.75,"e":7740,"w":"to"},{"p":20,"s":7750,"c":0.867,"e":8179,"w":"express"},{"p":21,"s":8189,"c":0.983,"e":8780,"w":"profile"},{"p":22,"s":8900,"c":0.451,"e":9240,"w":"press"},{"p":23,"s":9250,"c":0.153,"e":9690,"w":"two"},{"p":24,"s":10070,"c":0.225,"e":10370,"w":"to"},{"p":25,"s":10380,"c":0.967,"e":10650,"w":"go"},{"p":26,"s":10660,"c":0.952,"e":10769,"w":"to"},{"p":27,"s":10780,"c":0.885,"e":10860,"w":"the"},{"p":28,"s":10870,"c":0.974,"e":11349,"w":"greetings"},{"p":29,"s":11360,"c":0.979,"e":11880,"w":"menu"},{"p":30,"s":11940,"c":0.399,"e":12240,"w":"press"},{"p":31,"s":12250,"c":0.177,"e":12740,"w":"three"},{"p":32,"s":13099,"c":0.193,"e":13230,"w":"to"},{"p":33,"s":13240,"c":0.966,"e":13660,"w":"change"},{"p":34,"s":13670,"c":0.903,"e":13860,"w":"your"},{"p":35,"s":13870,"c":0.9,"e":14160,"w":"call"},{"p":36,"s":14170,"c":0.958,"e":14540,"w":"forwarding"},{"p":37,"s":14549,"c":0.986,"e":15110,"w":"options"},{"p":38,"s":15110,"c":0.0,"e":15110,"w":".","m":"punc"}],"name":"latest"}},"keywords":{"latest":{"revision":"6eadffa4-7f61-4520-82b7-cff779bd4e37","words":[{"t":{"6699 (Test Contact, Voice Portal)":["6.47","13.24"]},"name":"change","relevance":"2.31952283024e-16"},{"t":{"6699 (Test Contact, Voice Portal)":["3.85"]},"name":"voicemail","relevance":"4.24835425529e-18"},{"t":{"6699 (Test Contact, Voice Portal)":["7.049"]},"name":"compiler","relevance":"1.56288218933e-18"},{"t":{"6699 (Test Contact, Voice Portal)":["8.189"]},"name":"profile","relevance":"5.74952226429e-19"},{"t":{"6699 (Test Contact, Voice Portal)":["7.75"]},"name":"express","relevance":"5.74952226429e-19"},{"t":{"6699 (Test Contact, Voice Portal)":["14.549"]},"name":"options","relevance":"5.74952226429e-19"},{"t":{"6699 (Test Contact, Voice Portal)":["14.17"]},"name":"forwarding","relevance":"2.11513103759e-19"},{"t":{"6699 (Test Contact, Voice Portal)":["3.26"]},"name":"access","relevance":"2.11513103759e-19"},{"t":{"6699 (Test Contact, Voice Portal)":["1.37"]},"name":"pilot","relevance":"7.78113224113e-20"},{"t":{"6699 (Test Contact, Voice Portal)":["2.12"]},"name":"portal","relevance":"5.24288566336e-22"}],"groups":[]}},"topics":{"latest":{"revision":"6eadffa4-7f61-4520-82b7-cff779bd4e37","topics":[]}},"predictions":{"latest":{"revision":"6eadffa4-7f61-4520-82b7-cff779bd4e37","predictions":[],"detections":[]}}}}
USING CURL
curl "https://api.calln.com/api/v2/transcription/{id}" -H "Authorization: Basic username:password | base64" -X GET