GET
https://api.myidvirtual.com
/
terms
Get Terms of Service
curl --request GET \
  --url https://api.myidvirtual.com/terms
{
  "404": {},
  "success": true,
  "lang": "<string>",
  "content": "<string>"
}

Query Parameters

lang
string
default:"en-us"
Language code for the terms of service document
  • en-us - English (United States)
  • pt-br - Portuguese (Brazil)
  • Other language codes as available

Response

success
boolean
Indicates if the request was successful
lang
string
The language code of the returned document
content
string
The parsed text content of the terms of service PDF

Example Request

curl -X GET "http://localhost:3333/terms?lang=en-us"

Response Example

{
  "success": true,
  "lang": "en-us",
  "content": "TERMS OF SERVICE\n\nLast updated: 01/01/2024\n\n..."
}

Error Responses

404
object
File not found or processing error
{
  "statusCode": 404,
  "message": "Arquivo não encontrado.",
  "error": "Not Found"
}