How To Use 
Register an account

Try For Free Now

Dark

Light

Get Callback
Get Callback URL
Get the callback URL.
Endpoint
Request details
GET
https://translate.rozetta-api.io/api/v1/callback
Header
Header
Description
Content-Type
application/json
accessKey, nonce, signature
Please refer to the authentication section.
Request Sample
curl -H "nonce: Your Nonce" -H "accessKey: Your Access Key" -H "signature: Your Signature" https://translate.rozetta-api.info/api/v1/callback
Response
Key
Description
status
When a request succeeds, the status will be "success", otherwise it will be “failure”.
data
Callback URL.
Response Sample
{
  "status": "success",
  "data": "https://myserver.com/translated-result-callback"
}

api/v1/callback
Get the callback URL.
const axios = require("axios");
const API_URL="https://translate.rozetta-api.io/api/v1/callback";

async function getCallback(accessKey, nonce, signature) {
  const resp = await axios({
      method: 'get',
      url: API_URL,
      timeout: 10000,
      headers: {accessKey,nonce, signature},
  });
  if (resp.status >= 200 && resp.status < 300)
      return resp.data;
  return null;
}
About the authentication, please refer to the authentication section.
You can get a full version of sample codes here
©️ 2019 Rozetta API  ・  Powered by Rozetta

Rozetta Corp.

^