Endpoints
Which endpoint should I use?
- Default? Use the Global endpoint (
sync.assemblyai.com). It will route your request to the region with the fastest response time for you. - Need US data residency? Use the US endpoint (
sync.us.assemblyai.com). Your audio and transcription data will remain within the US. - Need EU data residency? Use the EU endpoint (
sync.eu.assemblyai.com). Your audio and transcription data will remain within the EU.
How to use it
Replace the base URL in your request with the appropriate endpoint. The request format, headers, and parameters are identical for all endpoints. In the Python SDK the base URL comes from thesync_base_url setting; in the JavaScript SDK it’s the syncBaseUrl client option. Both default to the global endpoint.
- Python SDK
- JavaScript SDK
- Python
- JavaScript
- cURL
Global (default)
US data residency
EU data residency