Integrating Universally using the API gives you full control over how translations are handled, making it ideal for custom-built or headless websites.
To get started:
- Get your API key from the Universally dashboard under Project or API Settings
- Authenticate your requests by including the API key in your request headers
- Send content for translation by making a request to the translation endpoint with your source text, original language, and target languages
- Store or render translations by retrieving the translated content from the API and displaying it on your frontend
- Handle updates dynamically by re-sending content when it changes or using webhooks (if available) to automate updates
You can integrate this into your backend or frontend depending on your architecture, allowing you to fully customize when and how translations are generated and displayed across your application.
