AssemblyAI
AssemblyAI is a speech AI platform that exposes models for high-accuracy pre-recorded transcription, low-latency real-time streaming, and audio intelligence. The AssemblyAI REST API covers submitting and managing transcripts; retrieving sentences, paragraphs, redacted audio, and word-level search results; the LLM Gateway for chat completions; and short-lived tokens for the v3 Universal Streaming API and the Voice Agent API. Together these endpoints let integrations transcribe and analyze audio at scale, route generated text to downstream LLMs, and embed real-time voice experiences in agent and assistant products.

Power end-to-end data operations for your AssemblyAI API with Nexla. Our bi-directional AssemblyAI connector is purpose-built for AssemblyAI, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to AssemblyAI or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your AssemblyAI workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
AssemblyAI authenticates every REST and WebSocket call using a single secret API Key generated from your AssemblyAI dashboard. The key is sent in the Authorization header on each request (no Bearer or Basic prefix is required — the key value alone is the header value).
Generate an AssemblyAI API Key
-
Sign in to your AssemblyAI account at assemblyai.com/dashboard. New accounts can be created free at assemblyai.com/dashboard/signup, which includes free usage credit for evaluation.
-
From the left navigation, select the API Keys tab. The dashboard lists any keys already provisioned for the account.
-
Click Create new API key, enter a descriptive name that identifies the integration (for example,
Nexla integration), and click Create. AssemblyAI generates the key and adds it to the list. -
Click Copy next to the new key and store the value securely. The full key value remains retrievable from the dashboard, but it should be treated as a secret — anyone with the key can submit transcription jobs and consume credit on the account.
If a key is exposed or no longer needed, return to the API Keys tab and click Revoke to invalidate it. Any integration that uses the revoked key will stop working immediately, so plan a rotation before revoking a key that is in use.
For complete information about retrieving and managing API keys, see the AssemblyAI Account Management documentation.
Regional Considerations
AssemblyAI offers an EU-hosted variant of the API at api.eu.assemblyai.com in addition to the default global host at api.assemblyai.com. The connector ships with endpoint templates that target the default global host. If your account or compliance requirements mandate the EU host, configure data sources manually using the Advanced tab and substitute api.eu.assemblyai.com for api.assemblyai.com in each endpoint URL.
The AssemblyAI API key grants access to all transcription, audio intelligence, LLM Gateway, and streaming features on the account, and it bills against the account's credit balance. Store it in a secure secret manager, never commit it to source control, and rotate it immediately if you suspect it has been exposed.
Authenticate
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter the AssemblyAI API key in the API Key Value field. This is the full key value copied from the API Keys tab of the AssemblyAI dashboard. Nexla stores this value as a secret and sends it as the raw
Authorizationheader on every call to the AssemblyAI API — noBearerorBasicprefix is added.AssemblyAI is unusual in that it does not prefix the API key in the
Authorizationheader. If you copy curl examples from the AssemblyAI documentation, you'll notice the header is set asAuthorization: <your-api-key>, notAuthorization: Bearer <your-api-key>. Nexla applies this format automatically when using the AssemblyAI credential. -
Click the Save button at the bottom of the overlay to save the configured credential. Nexla validates the key by issuing a test call to
GET https://api.assemblyai.com/v2/transcriptbefore saving. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the AssemblyAI connector tile, then select the credential that will be used to connect to the AssemblyAI account, and click Next; or, create a new AssemblyAI credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common AssemblyAI endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below. Click on an endpoint to see more information about it and how to configure your data source for this endpoint.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
AssemblyAI data sources can also be manually configured to ingest data from any valid AssemblyAI API endpoint not covered by the pre-built templates, including chained calls (for example, listing recently completed transcripts and then fetching the paragraphs for each) or sources that target the EU host. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
AssemblyAI uses the base URL https://api.assemblyai.com/ followed by the resource path — for example, v2/transcript to list and submit transcripts, v2/transcript/<transcript_id> for a single transcript, v2/transcript/<transcript_id>/sentences and /paragraphs for the sentence/paragraph breakdowns, v2/transcript/<transcript_id>/word-search for word search, v2/transcript/<transcript_id>/redacted-audio for redacted audio metadata, chat/completions for the LLM Gateway, and v3/token/v1/token for streaming and Voice Agent tokens. For EU-hosted accounts, replace api.assemblyai.com with api.eu.assemblyai.com — the same Authorization header value works against both hosts.
Set the Path to Data to $.transcripts[*] for the List Transcripts endpoint, $.matches[*] for Word Search, or $ for single-object endpoints such as GET /v2/transcript/<id> and the token endpoints. To attach pagination context to each List Transcripts record, set the metadata path to $.page_details. Date/time macros are useful for the created_on filter on List Transcripts, which expects YYYY-MM-DD format. The Authorization header is added automatically from your credential; add Content-Type:application/json for the POST endpoints (chat completions, transcribe audio).
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new AssemblyAI data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the AssemblyAI destination, and select the Send to Destination option from the menu. Select the AssemblyAI connector from the list of available destination connectors, then select the credential that will be used to connect to the AssemblyAI account, and click Next; or, create a new AssemblyAI credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common AssemblyAI endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
AssemblyAI destinations can also be manually configured to send data to any valid AssemblyAI API endpoint not covered by the pre-built templates — for example, to submit new transcription jobs (POST /v2/transcript), invoke the LLM Gateway (POST /chat/completions), or target the EU host. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
AssemblyAI's REST API expects JSON request bodies, so select JSON as the content format. URLs use the base https://api.assemblyai.com/ followed by the resource path — v2/transcript to submit a new transcription job, v2/transcript/<transcript_id> to delete an existing transcript (with DELETE), chat/completions for the LLM Gateway, and understanding for a speech understanding request; for EU-hosted accounts, substitute api.eu.assemblyai.com. For path-parameterized endpoints such as delete transcript, append the substitution token at the end of the URL — for example, https://api.assemblyai.com/v2/transcript/{'{{id}}'} substitutes the id attribute from each upstream record. The Authorization header is added automatically from your credential.
The AssemblyAI REST endpoints accept one transcript or one chat completion per request, so leave record batching disabled for the standard v2/transcript and chat/completions endpoints; enable it only for a custom endpoint that accepts an array payload. Optionally enable the response webhook to send each API response to a new Nexla webhook data source — useful for capturing the new transcript IDs returned by POST /v2/transcript so they can flow into a downstream Get Transcript source.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To begin sending data to the configured AssemblyAI endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to AssemblyAI until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.