GET
https://api.myidvirtual.com
/
privacy-policy
Get Privacy Policy
curl --request GET \
  --url https://api.myidvirtual.com/privacy-policy
{
  "404": {},
  "success": true,
  "lang": "<string>",
  "content": "<string>"
}

Query Parameters

lang
string
default:"en-us"
Language code for the privacy policy 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 privacy policy PDF

Example Request

curl -X GET "http://localhost:3333/privacy-policy?lang=pt-br"

Response Example

{
  "success": true,
  "lang": "pt-br",
  "content": "POLÍTICA DE PRIVACIDADE\n\nÚltima atualização: 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"
}