Skip to content

The company's legal standing and each member's own record

GET
/v1/legal/tenant-acceptances
curl --request GET \
--url https://api.emite.cr/v1/legal/tenant-acceptances \
--header 'Authorization: Bearer <token>'

For the active company: company — where it stands with each document it must accept, which is what decides whether it issues in production; documents — every legal document in its served version; members — each active member with the version of each document in their own record and whether it is the served one. actionRequired marks the members who can accept what the company has pending (the owner or an admin); a member is never blocked by their own record. Requires members:read, which is not grantable to API keys.

Media typeapplication/json
object
company
required

Where the company stands — its own acceptance of each document, which is what decides whether it issues in production.

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
documents
required

Every legal document, in its served version.

Array<object>
object
type
required

Slug of the document.

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

The version served today.

string
effectiveDate
required

Effective date of that version (Costa Rica, YYYY-MM-DD).

string format: date
requiredForSignup
required

Whether the document is accepted (by each person and each company); false for one that is only announced (the Cookie Policy).

boolean
members
required

The active members of the company, oldest membership first.

Array<object>
object
userId
required

Id of the person.

string format: uuid
name
required

Name of the person.

string
email
required

Email of the person.

string
role
required

Their role in the company: a system role (owner, admin, billing_manager, accountant, issuer, viewer) or the slug of a custom role.

string
isOwner
required

Whether they are the owner of the company.

boolean
actionRequired
required

Whether the company has a document to accept (its state is not ok) and this person can accept it on its behalf (the owner or an admin). It never restricts the person: a new version is accepted by the company, not by each member.

boolean
documents
required

Their own acceptance record, one entry per document of documents. It is the person's record, not the company's acceptance.

Array<object>
object
documentType
required

Slug of the document.

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

The version of their most recent acceptance of it; null when they never accepted it.

string
nullable
acceptedAt
required

When they accepted it; null when they never did.

string format: date-time
nullable
upToDate
required

Whether that version is the one served today.

boolean
Example
{
"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:..."
}
}
]
},
"documents": [
{
"type": "terminos-y-condiciones"
}
],
"members": [
{
"role": "admin",
"documents": [
{
"documentType": "terminos-y-condiciones"
}
]
}
]
}

No session, or the caller is not a person (an API key has no user).