Dokumentacja referencyjna API
Wszystkie endpointy dostępne dla klucza API, wygenerowane ze specyfikacji OpenAPI.
Bazowy adres URL
https://app.aftertalk.co/apiWszystkie ścieżki podajemy względem tego adresu; zaczynają się od prefiksu wersji /v1. Niemal wszystko działa
w kontekście projektu: /v1/projects/{projectId}/….
Uwierzytelnianie
W każdym żądaniu wysyłaj klucz API swojej organizacji w nagłówku X-API-Key:
curl https://app.aftertalk.co/api/v1/projects \
-H "X-API-Key: $AFTERTALK_KEY"Klucze tworzy się w aplikacji w sekcji Organizacja → Ustawienia → Klucze API. Zobacz uwierzytelnianie, aby dowiedzieć się, co klucz może, a czego nie może robić, oraz błędy, aby poznać strukturę odpowiedzi z błędem.
Endpointy
Ścieżki są względne wobec /v1/projects/{projectId}, z wyjątkiem tych podanych w całości.
Calls
- POST
/callsUpload audio for transcription/upload - POST
/callsStart a direct upload/upload-url - POST
/callsQueue a direct upload for transcription/upload-complete - GET
/callsGet upload job status/jobs /{jobId} - GET
/callsList calls with pagination and optional date filter - GET
/callsSearch calls by keyword/search - GET
/callsGet call detail with transcript, classification, and summary/{id} - GET
/callsGet audio file info for a call/{id} /audio - PATCH
/callsManually set or clear a call's category/{id} /category
Projects
Webhooks
Categories
Analysis Templates
- GET
/analysis-templatesList analysis templates - POST
/analysis-templatesCreate an analysis template - GET
/analysis-templatesGet an analysis template/{id} - PUT
/analysis-templatesUpdate an analysis template/{id} - DELETE
/analysis-templatesDelete an analysis template/{id} - POST
/analysis-templatesActivate an analysis template/{id} /activate - POST
/analysis-templatesDeactivate an analysis template/{id} /deactivate
Speaker Presets
Action Items
- GET
/action-itemsList action items with filtering and pagination - PATCH
/action-itemsUpdate an action item's status, priority, notes, or text fields/{actionItemId} - DELETE
/action-itemsDelete an action item/{actionItemId} - GET
/action-itemsGet distinct responsible party values in this project/responsible-parties
Dashboard
- GET
/dashboardGet pending action items/action-items - GET
/dashboardGet call volume over time/call-volume - GET
/dashboardGet top categories distribution/categories - GET
/dashboardGet AI-synthesized cross-call insights/insights - GET
/dashboardGet aggregated dashboard metrics/metrics - GET
/dashboardGet sentiment distribution and trend/sentiment
Limity żądań i rozliczenia
Limity żądań na klucz i sposób naliczania opłat za korzystanie z API.
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.