Current privacy notices and DPA (public)
GET
/v1/legal/documents
const url = 'https://api.replifier.com/v1/legal/documents';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/legal/documentsWith country (ISO 3166-1 alpha-2), returns the notice for the law that applies to that country (GDPR for EU/EEA/GB, LFPDPPP for MX, Law 25.326 for AR) and the DPA; without country, all of them. The language comes from Accept-Language. Cached for 1 h.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”country
string
Responses
Section titled “Responses”Applicable documents
Media typeapplication/json
object
country
required
string
applicableLaw
required
string
documents
required
Array<object>
object
id
required
string
kind
required
string
law
required
string
version
required
string
locale
required
string
title
required
string
body
required
string
reviewStatus
required
The text is a draft until a lawyer validates it.
string
Example
{ "documents": [ { "kind": "privacy_notice", "reviewStatus": "pending_legal_review" } ]}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}