Prerequisites
Before you begin, ensure you have:- A valid email address for registration.
- Basic knowledge of HTTP requests or a programming language like Python or JavaScript.
curlinstalled (optional, for command-line testing).
Step 1: Create an Account
You can create an account using the/auth/register endpoint or through our web portal (if available). For this guide, we’ll use the API.
Step 2: Get an Access Token
Once registered, you need to obtain an access token to authenticate your requests. The token does not expire.access_token. Keep this safe!
Step 3: Make Your First API Call
Now let’s detect the language of a text snippet.Response
You should receive a JSON response with the language code:Next Steps
Congratulations! You’ve successfully used the Sunbird AI API. Here’s what you can explore next:Authentication
Learn more about token management and security.
Usage Guide
Read the practical usage guide for all endpoints.
Speech to Text
Transcribe audio files.
API Reference
Explore all available endpoints.
Troubleshooting
401 Unauthorized Error
401 Unauthorized Error
422 Validation Error
422 Validation Error
Check your request body. Ensure all required fields (like
source_language and target_language) are present and valid.
