Doctranslate.io Translation API
  • Introduction
    • Welcome to Doctranslate.io
    • What is DocTranslate.io
    • User Manual
  • Document Translation API
    • System requirement
    • Upload API
      • Upload multiple files and calculate usage cost
    • User API
      • User History
    • Translation API
      • API V1
        • Document Translation
        • Translate Multiple Files (currently supports document, video)
        • Image Translation
        • Audio Translation
        • Text Translation
        • Get result
      • API V2
        • Document Translation
        • Translate Multiple Files (currently supports document, video)
        • Image Translation
        • Audio Translation
        • Text Translation
        • Get result
      • API V3
        • Document Translation
        • Translate Multiple Files (currently supports document, video)
        • Audio Translation
        • Text Translation
        • Get result
    • Presentation Maker API
      • API V1
        • Presentation Maker
        • Presentation Maker For Multiple Files
      • API V2
        • Presentation Maker
        • Presentation Maker For Multiple Files
  • Presentation Video API
    • API V1
      • Create transcripts presentation
      • Update transcripts presentation
      • Create video presentation
      • Get result
    • API V2
      • Create transcripts presentation
      • Update transcripts presentation
      • Create video presentation
      • Get result
  • Others
    • Code examples
      • API V1
        • Upload Multiple Files
        • Translate Multiple Document Files
        • Text Translation
        • Document Translation
        • Image Translation
        • Audio Translation
        • Video Translation
        • Presentation Maker
        • Presentation Video
      • API V2
        • Upload Multiple Files
        • Translate Multiple Document Files
        • Text Translation
        • Document Translation
        • Image Translation
        • Audio Translation
        • Video Translation
        • Presentation Maker
        • Presentation Video
    • Support
Powered by GitBook
On this page
  1. Document Translation API
  2. User API

User History

HTTP request

POST /user/history

Authorization

OAuth2PasswordBearer

Authorization: OAuth2PasswordBearer

Query Parameter

KEY
TYPE
VALUE

page

Integer

The page number to retrieve, for pagination. Must be greater than 0.

page_size

Integer

The number of items to retrieve per page, for pagination. Must be greater than 0.

keyword

String

A keyword to search for file name. Used to filter results based on a specific criterion.

Body Payload

KEY
TYPE
VALUE

start_date

String

The start time for the query. Should be in ISO 8601 format. format: yyyy-mm-dd hh-mm-ss utc+7 ex: 2024-03-07 04:44:11

end_date

String

The end time for the query. Should be in ISO 8601 format. format: yyyy-mm-dd hh-mm-ss utc+7 ex: 2024-03-07 15:44:11

Response

200: Success

Response schema: application/json

KEY
VALUE

status_code

200

content

{ "data": [ { "id": 26524, "file_name": "5_1709782940_trial.docx", "url_download": "<translated_file_download_URL>", "translation_type": "Document", "datetime": "2024-03-07 04:44:11", "cost": 1, "credit": 1, "dest_lang": "en", "share_url": "" } ], "errors": [], "error_description": "", "start_time": "yyyy-mm-dd hh-mm-ss utc+7", "end_time": "yyyy-mm-dd hh-mm-ss utc+7" }

400: Bad Request

KEY
VALUE

status_code

400

content

{ "data": {}, "errors": [ "Error" ], "error_description": "Error while sending message. Please check server!", "start_time": "yyyy-mm-dd hh-mm-ss utc+7", "end_time": "yyyy-mm-dd hh-mm-ss utc+7" }

401: Authentication Error

KEY
VALUE

status_code

401

content

{ "detail": "Not authenticated" }

Response schema: application/json

detail

PreviousUser APINextTranslation API

Last updated 16 days ago