What the person and their company must do about the legal documents
const url = 'https://api.emite.cr/v1/legal/status';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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.emite.cr/v1/legal/status \ --header 'Authorization: Bearer <token>'personal.missing: required documents this PERSON never accepted (a signup left halfway) — the only thing that blocks the person. company: where the active company stands with each document that asks for acceptance (ok, pending until a date, due since a date — a due company cannot issue in production until it accepts), with the full text for a caller who can accept it (legal:accept: the owner or an admin); null without an active company. notices: every version published in the last 30 days, minor or material (see change). In a demo session nothing is pending: personal.missing is empty and the company is exempt (exemption: demo).
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”object
What the signed-in person must accept for themselves: only documents they never accepted, as when a registration was left halfway.
object
Required documents this person never accepted.
object
Slug of the document: terminos-y-condiciones (Terms and Conditions), politica-de-privacidad (Privacy Policy) or politica-de-cookies (Cookie Policy).
Display name of the document, in Spanish.
The version served today, numbers separated by dots (3.0). Compare versions number by number, not as text: 3.10 comes after 3.9.
Effective date (Costa Rica, YYYY-MM-DD). A minor version governs from it; a material one governs each company from its acceptance, and from this day a company that has not accepted it cannot issue in production.
Day (Costa Rica, YYYY-MM-DD) it was published.
What kind of change this version is (none asks for an acceptance or stops anything):
adverse— it hurts the customer: published at least 30 days beforeeffectiveDate, announced by email and in the platform.non_adverse— a correction or a change in the customer's favour: it governs from its publication and is announced in the platform.required— required by a law, an authority or the security of the service: it governs from its publication, in what is strictly necessary, and is announced by email.
What changed in this version, in a sentence or two (Spanish).
The legal nature of the document: contractual (the Terms and Conditions) or regulatorio, regulatory (the privacy and cookie policies).
Whether the document must be accepted — by each person to create an account, and by each company. false for one that is only announced (the Cookie Policy).
What the document covers, in a short summary (Spanish).
sha256: followed by the SHA-256 (lowercase hex) of the exact Markdown text of the document (its markdown). Send it back verbatim as documentHash when accepting: it proves which text was accepted.
Size of the Markdown text, in bytes (UTF-8).
The full text, in Markdown.
Where the active company stands; null when the session has no company.
object
Id of the company.
Name of the company.
The caller holds legal:accept (owner or admin).
Outside the regime, never told nor asked anything: the demo, Futura Byte, and a company operated by another Futura Byte product (it is governed by that product's documents).
Why it is outside the regime: the demo, the provider (Futura Byte) or a company operated by another Futura Byte product. Null when the regime applies.
transition if any document is in it, else notice if any is, else ok. Nothing stops in any state.
The earliest effectiveDate among the documents the company is asked or told about (Costa Rica, YYYY-MM-DD). Null when ok.
One entry per document the company must accept (the requiredForSignup ones).
object
Slug of the document (today terminos-y-condiciones or politica-de-privacidad).
Display name of the document, in Spanish.
What the company is told about this document. Nothing here stops anything — a company issues the same in every state:
ok— nothing to say (alwaysokfor an exempt company).transition— it has not entered the notice regime: it keeps the version it accepted and is asked, once, to acceptnewVersion.notice—newVersionis a recent version it has not accepted; it governs fromeffectiveDateanyway, and accepting it earlier is optional.
The version the company is asked or told about (the latest); null when ok.
The day (Costa Rica, YYYY-MM-DD) newVersion takes effect for every company; null when ok.
What kind of change newVersion is; null when ok.
The version in force today for every company of the notice regime.
The highest version of this document the company accepted, with who, when and how; null when it has accepted none.
object
The version the company accepted.
When it was accepted.
How the company accepted:
web— in the app, by an owner or admin, on behalf of the active company.company-creation— by whoever created the company, as part of creating it.email-link— by an owner or admin, through the link of a notice emailed to them.company-reopening— by whoever reopened the company after it was closed, as part of reopening it.
In which capacity the person declared the authority to bind the company.
Name of the person who accepted, as their account shows it now.
Email of the person who accepted, as their account shows it now.
The version that governs the company today: inside the notice regime, the larger of inForceVersion and the one it accepted; in the transition, the one it accepted. Null when it never accepted a version as a company (what its people accepted before governs, and no record of ours names it), and for an exempt company.
The version served today (the latest published).
What changed in newVersion (else in the served version), in Spanish.
The full served text, only while the state is not ok and only for a caller who can accept it.
object
Slug of the document: terminos-y-condiciones (Terms and Conditions), politica-de-privacidad (Privacy Policy) or politica-de-cookies (Cookie Policy).
Display name of the document, in Spanish.
The version served today, numbers separated by dots (3.0). Compare versions number by number, not as text: 3.10 comes after 3.9.
Effective date (Costa Rica, YYYY-MM-DD). A minor version governs from it; a material one governs each company from its acceptance, and from this day a company that has not accepted it cannot issue in production.
Day (Costa Rica, YYYY-MM-DD) it was published.
What kind of change this version is (none asks for an acceptance or stops anything):
adverse— it hurts the customer: published at least 30 days beforeeffectiveDate, announced by email and in the platform.non_adverse— a correction or a change in the customer's favour: it governs from its publication and is announced in the platform.required— required by a law, an authority or the security of the service: it governs from its publication, in what is strictly necessary, and is announced by email.
What changed in this version, in a sentence or two (Spanish).
The legal nature of the document: contractual (the Terms and Conditions) or regulatorio, regulatory (the privacy and cookie policies).
Whether the document must be accepted — by each person to create an account, and by each company. false for one that is only announced (the Cookie Policy).
What the document covers, in a short summary (Spanish).
sha256: followed by the SHA-256 (lowercase hex) of the exact Markdown text of the document (its markdown). Send it back verbatim as documentHash when accepting: it proves which text was accepted.
Size of the Markdown text, in bytes (UTF-8).
The full text, in Markdown.
The company's owner: whom to ask, for a member who cannot accept. Null when it has none.
object
Name of the company's owner.
Email of the company's owner.
Versions published in the last 30 days, minor and material (see change).
object
Slug of the document.
Display name of the document, in Spanish.
The version published.
What kind of change the version is. It is announced to everyone signed in, and asked of no one (a person without a company accepts it the day they create one).
Day (Costa Rica, YYYY-MM-DD) it was published.
Day (Costa Rica, YYYY-MM-DD) it takes effect for every company.
What changed in this version, in Spanish.
Example
{ "personal": { "missing": [ { "type": "terminos-y-condiciones", "effectiveDate": "2026-11-11", "publishedAt": "2026-10-12", "change": "adverse", "kind": "contractual", "hash": "sha256:..." } ] }, "company": { "exemption": "demo", "state": "ok", "documents": [ { "type": "terminos-y-condiciones", "state": "ok", "change": "adverse", "accepted": { "method": "web", "declaredCapacity": "holder" }, "document": { "type": "terminos-y-condiciones", "effectiveDate": "2026-11-11", "publishedAt": "2026-10-12", "change": "adverse", "kind": "contractual", "hash": "sha256:..." } } ] }, "notices": [ { "type": "terminos-y-condiciones", "change": "adverse" } ]}No session, or the caller is not a person (an API key has no user).