Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • success boolean Required
    • version array[string | number] Required
    • locale string Required
  • 404 application/json

    Not Found - Resource does not exist

    Hide response attributes Show response attributes object
    • error string

      Error type identifier (e.g., "FormError")

    • message string Required

      Human-readable error message

    • field string

      Field that caused the error, if applicable

    • error_id string

      Unique error tracking identifier

  • 500 application/json

    Internal Server Error - Something went wrong

    Hide response attributes Show response attributes object
    • error string

      Error type identifier (e.g., "FormError")

    • message string Required

      Human-readable error message

    • field string

      Field that caused the error, if applicable

    • error_id string

      Unique error tracking identifier

GET /api/v2/version
curl \
 --request GET 'https://eu.onetimesecret.com/api/v2/version'
Response examples (200)
{
  "success": true,
  "version": [
    "string"
  ],
  "locale": "string"
}
Response examples (404)
{
  "error": "string",
  "message": "string",
  "field": "string",
  "error_id": "string"
}
Response examples (500)
{
  "error": "string",
  "message": "string",
  "field": "string",
  "error_id": "string"
}