How to integrate our API
Authorization
header:
x-api-key
and x-api-secret
headers, you will get it after creating your first app.
/auth/login
Login a user to receive a Bearer token.
JavaScript Example:
/auth/signup
Register a new user.
JavaScript Example:
/auth/profile
Retrieve the profile of the authenticated user.
JavaScript Example:
/create
Create a new app.
JavaScript Example:
/list
Retrieve all apps associated with the user.
JavaScript Example:
/translateText
Request immediate text translation.
Note: The from
field is optional. If not provided, the model will automatically detect the source language.
JavaScript Example:
/queue
Request queued text translation.
JavaScript Example: