API Documentation

iApp ASR API - Thai & English Language Support

Overview

  • The iApp ASR API provides a simple and efficient way to convert audio or video files into text. Supporting both Thai and English, the API is ideal for applications that need automatic transcription.

  • For Thai language ๐Ÿ‡น๐Ÿ‡ญ, Developers can choose between two modes :

    • Default ASR for faster results.

    • iApp ASR PRO for more accurate, context-aware transcription.

Authentication

You must provide an API key in the request headers for authentication.

Request Format

  • HTTP Method: POST

  • Content-Type: multipart/form-data

  • API Key: Required in the apikey header.

Response Codes

Code
Description

200

Success. The request was successfully processed.

400

Bad Request. Likely due to a missing parameter or file.

401

Unauthorized. Invalid or missing API key.

500

Internal Server Error. Something went wrong on the server.

504

Timeout. The request is not received a timely response from a server. Likely to have a long file length.

Best Practices

  1. File Size: Ensure that the file size does not exceed the limits set by your API plan.

  2. Use ASR PRO: If accuracy is critical, especially in noisy or complex environments, use use_asr_pro = 1 to take advantage of the iApp ASR PRO engine (For Thai language ๐Ÿ‡น๐Ÿ‡ญ).

  3. API Key Security: Keep your API key secure. Do not expose it in public repositories or client-side code.

  4. Error Handling: Implement proper error handling to capture API failures and retry where appropriate.

Rate Limits and Quotas

To check your API rate limits and usage quotas, please refer to your account dashboard at iApp website: iApp AI API or Sale Support: iApp Sale Contact.

Troubleshooting

  • Invalid API Key: Ensure that your API key is valid and included in the headers.

  • File Not Found: Double-check the file path and format.

  • Slow Response Times: If you are experiencing slow responses, consider using smaller files or upgrading to a higher-tier API plan.

  • 400 Bad Request: Check if all required parameters (especially the file parameter) are included in your request.

Contact Support

If you encounter issues that are not resolved by the above steps, please contact support@iapp.co.th for further assistance.

Last updated