API 1.0 / Reference documents

GET /reference_documents/:identifier/download

Get download url for a reference document

This method has the URL https://api.toptranslation.com/v1/reference_documents/:identifier/download and returns a download url for a reference document of the user.

Required arguments

access_token
Token to authenticate a user
String
identifier
Part of URL of the request. Unique identifier of the reference document
String

Response

Returns a download url for the reference document

{
  meta: {
    status: 200
  },
  data:
    {
      download_url: 'https://files.toptranslation.com/documents/XXXXXXXXXXXX?key=XYZ...'   
    }
  }

Errors

403 - User not authenticated
User is not allowed to access the resource or execute the method.
404 - Reference Document not found
Reference document was not found or is not shared with user.