https://api.apyhub.com/sharpapi/api/v1/content/translatePOSTapplication/json| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | Provide the content to translate. |
| language | String | No | Specify the language of the content which needs to be translated.(For example: 'German'). |
| voice_tone | String | No | Specify the voice tone of the output. It can be adjectives like funny or joyous, or even the name of a famous writer. |
| context | String | No | Provide additional context to the translated text, such as use case examples or additional explanations. |
| Status Code | Description |
|---|---|
| 202 | The job was submitted successfully. |
| 401 | Required authentication information is either missing or not valid for the resource. |
| 400 | Invalid input - if the file is invalid or corrupted. |
| 500 | If any unexpected error occurs while submitting the request. |
tokens or basic authentication mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token as the header parameter to pass the token.Authorization header to send the basic authentication credentials.