Skip to content

What the person and their company must do about the legal documents

GET
/v1/legal/status
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).

Media typeapplication/json
object
personal
required

What the signed-in person must accept for themselves: only documents they never accepted, as when a registration was left halfway.

object
missing
required

Required documents this person never accepted.

Array<object>
object
type
required

Slug of the document: terminos-y-condiciones (Terms and Conditions), politica-de-privacidad (Privacy Policy) or politica-de-cookies (Cookie Policy).

string
Allowed values: terminos-y-condiciones politica-de-privacidad politica-de-cookies
label
required

Display name of the document, in Spanish.

string
version
required

The version served today, numbers separated by dots (3.0). Compare versions number by number, not as text: 3.10 comes after 3.9.

string
effectiveDate
required

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.

string format: date
publishedAt
required

Day (Costa Rica, YYYY-MM-DD) it was published.

string format: date
change
required

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 before effectiveDate, 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.
string
Allowed values: adverse non_adverse required
changeNote
required

What changed in this version, in a sentence or two (Spanish).

string
kind
required

The legal nature of the document: contractual (the Terms and Conditions) or regulatorio, regulatory (the privacy and cookie policies).

string
Allowed values: contractual regulatorio
requiredForSignup
required

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).

boolean
summary
required

What the document covers, in a short summary (Spanish).

string
hash
required

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.

string
sizeBytes
required

Size of the Markdown text, in bytes (UTF-8).

number
markdown
required

The full text, in Markdown.

string
company
required

Where the active company stands; null when the session has no company.

object
tenantId
required

Id of the company.

string format: uuid
name
required

Name of the company.

string
canAccept
required

The caller holds legal:accept (owner or admin).

boolean
exempt
required

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).

boolean
exemption
required

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.

string
nullable
Allowed values: demo provider managed
state
required

transition if any document is in it, else notice if any is, else ok. Nothing stops in any state.

string
Allowed values: ok transition notice
effectiveDate
required

The earliest effectiveDate among the documents the company is asked or told about (Costa Rica, YYYY-MM-DD). Null when ok.

string
nullable
documents
required

One entry per document the company must accept (the requiredForSignup ones).

Array<object>
object
type
required

Slug of the document (today terminos-y-condiciones or politica-de-privacidad).

string
Allowed values: terminos-y-condiciones politica-de-privacidad politica-de-cookies
label
required

Display name of the document, in Spanish.

string
state
required

What the company is told about this document. Nothing here stops anything — a company issues the same in every state:

  • ok — nothing to say (always ok for an exempt company).
  • transition — it has not entered the notice regime: it keeps the version it accepted and is asked, once, to accept newVersion.
  • notice — newVersion is a recent version it has not accepted; it governs from effectiveDate anyway, and accepting it earlier is optional.
string
Allowed values: ok transition notice
newVersion
required

The version the company is asked or told about (the latest); null when ok.

string
nullable
effectiveDate
required

The day (Costa Rica, YYYY-MM-DD) newVersion takes effect for every company; null when ok.

string
nullable
change
required

What kind of change newVersion is; null when ok.

string
nullable
Allowed values: adverse non_adverse required
inForceVersion
required

The version in force today for every company of the notice regime.

string
nullable
accepted
required

The highest version of this document the company accepted, with who, when and how; null when it has accepted none.

object
version
required

The version the company accepted.

string
acceptedAt
required

When it was accepted.

string format: date-time
method
required

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.
string
Allowed values: web company-creation email-link company-reopening
declaredCapacity
required

In which capacity the person declared the authority to bind the company.

string
Allowed values: holder legal_representative authorized
name
required

Name of the person who accepted, as their account shows it now.

string
nullable
email
required

Email of the person who accepted, as their account shows it now.

string
nullable
governingVersion
required

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.

string
nullable
currentVersion
required

The version served today (the latest published).

string
changeNote
required

What changed in newVersion (else in the served version), in Spanish.

string
document
required

The full served text, only while the state is not ok and only for a caller who can accept it.

object
type
required

Slug of the document: terminos-y-condiciones (Terms and Conditions), politica-de-privacidad (Privacy Policy) or politica-de-cookies (Cookie Policy).

string
Allowed values: terminos-y-condiciones politica-de-privacidad politica-de-cookies
label
required

Display name of the document, in Spanish.

string
version
required

The version served today, numbers separated by dots (3.0). Compare versions number by number, not as text: 3.10 comes after 3.9.

string
effectiveDate
required

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.

string format: date
publishedAt
required

Day (Costa Rica, YYYY-MM-DD) it was published.

string format: date
change
required

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 before effectiveDate, 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.
string
Allowed values: adverse non_adverse required
changeNote
required

What changed in this version, in a sentence or two (Spanish).

string
kind
required

The legal nature of the document: contractual (the Terms and Conditions) or regulatorio, regulatory (the privacy and cookie policies).

string
Allowed values: contractual regulatorio
requiredForSignup
required

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).

boolean
summary
required

What the document covers, in a short summary (Spanish).

string
hash
required

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.

string
sizeBytes
required

Size of the Markdown text, in bytes (UTF-8).

number
markdown
required

The full text, in Markdown.

string
owner
required

The company's owner: whom to ask, for a member who cannot accept. Null when it has none.

object
name
required

Name of the company's owner.

string
email
required

Email of the company's owner.

string
notices
required

Versions published in the last 30 days, minor and material (see change).

Array<object>
object
type
required

Slug of the document.

string
Allowed values: terminos-y-condiciones politica-de-privacidad politica-de-cookies
label
required

Display name of the document, in Spanish.

string
version
required

The version published.

string
change
required

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).

string
Allowed values: adverse non_adverse required
publishedAt
required

Day (Costa Rica, YYYY-MM-DD) it was published.

string
effectiveDate
required

Day (Costa Rica, YYYY-MM-DD) it takes effect for every company.

string
changeNote
required

What changed in this version, in Spanish.

string
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).