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

Start a direct upload

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

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.

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-url" \  -H "Content-Type: application/json" \  -d '{    "filename": "string",    "contentType": "string",    "sizeBytes": 0  }'
{  "uploadId": "string",  "uploadUrl": "string",  "expiresAt": "2019-08-24T14:15:22Z"}

Upload audio for transcriptionPOST

Accepts an audio file and queues it for async processing. Returns 202 Accepted with a job ID that can be used to track progress. Optional 'language' selects the processing language (pl or en); omitted means the project's defaultLanguage.

Queue a direct upload for transcriptionPOST

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.

filename*string
contentType*string
sizeBytes*integer
Formatint32