API · PL
API · PL

Pierwsze kroki

WprowadzenieSzybki startUwierzytelnianiePodstawowe pojęcia

Przewodniki

Przesyłanie rozmówPobieranie wynikówWebhookiStronicowanie i wyszukiwanie

Informacje szczegółowe

BłędyLimity żądań i rozliczenia
Dokumentacja referencyjna API
Upload audio for transcriptionPOSTStart a direct uploadPOSTQueue a direct upload for transcriptionPOSTGet upload job statusGETList calls with pagination and optional date filterGETSearch calls by keywordGETGet call detail with transcript, classification, and summaryGETGet audio file info for a callGETManually set or clear a call's categoryPATCH
aftertalk.coCennikKontaktEnglish
Dokumentacja referencyjna APIRozmowy

Queue a direct upload for transcription

POST/v1/projects/{projectId}/calls/upload-complete

Call after the PUT to the upload URL succeeded. Returns 202 Accepted with a job ID (the upload ID). A duplicate returns 409 and keeps the file, so it can be completed again with force=true without re-uploading.

Authorization

ApiKeyAuth
X-API-Key<token>

Organization API key. Format: X-API-Key: at_live_...

In: header

Path Parameters

projectId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X POST "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/calls/upload-complete" \  -H "Content-Type: application/json" \  -d '{    "uploadId": "ef523ba8-509e-47af-8e2c-5fa751596497",    "filename": "string",    "contentType": "string",    "force": true  }'
{  "jobId": "string",  "status": "PENDING",  "submittedAt": "2019-08-24T14:15:22Z"}

Start a direct uploadPOST

Returns a short-lived URL to PUT the audio file to, with exactly the given Content-Type and Content-Length headers. Size, format, access and allowance are checked first, so a file that couldn't be processed isn't uploaded. Finish with POST /upload-complete.

Get upload job statusGET

Returns the current status of an upload job. When status is COMPLETED, transcriptId will be set.

uploadId*string
Formatuuid
filename*string
contentType*string
channelRoles?string
language?string

Value in

  • "pl"
  • "en"
force*boolean