Menu

Terms and acknowledgements

The terms in force, accepting them, and the texts an order is acknowledged with.

OperationMethod and path
The acknowledgements an order needs, with their textGET /legal/acknowledgements
The current terms of service and privacy noticeGET /legal/documents
The text of a legal documentGET /legal/documents/{kind}

The acknowledgements an order needs, with their text#

GET /legal/acknowledgements · operation legalAcknowledgements

Every acknowledgement an order needs before it is placed (kind topup for POST /credits/topup, domain-order for registering, renewing and transferring a domain, stats-detail before a site's detailed traffic statistics are switched on for the first time), each with its current version, its text and the request fields that must be the JSON value true. Readable before the profile is complete, so the text can be shown before anything else. Each such operation carries the same fact as x-weird-acknowledgement. Changes nothing. This call is not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissionlegal:read
Chargedno

Parameters

NameInTypeRequiredDescription
langquerystringnothe language of the texts answered: ro or en (any other value is refused 400 invalid-params, field lang); without it, the Accept-Language header, else the signed-in account's language, else Romanian (one of ro, en)
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian

Answer 200 (AcknowledgementList): the result

  • acknowledgements, array of objects, required
    • kind, string (one of topup, domain-order, stats-detail)
    • version, string, required
    • text, string, required
    • lang, string — the language of text: the request's lang, else Accept-Language, else the account's language, else Romanian; one version covers both languages (one of ro, en)
    • fields, array of strings, required — the request fields that must be true
    • standing, boolean — true: an acceptance kept for the account, sent again only when version changes (detailed statistics); false: sent with every order
    • required, string — when the fields must be sent, and what already accepted means
    • relies_on, array of objects — the legal documents this acknowledgement relies on: kind (read it with read, GET /legal/documents/{kind}) and, in a live answer, its current version (null: not published yet, and the operation that asks for this acknowledgement is refused until it is)
      • kind, string
      • read, string
      • version, string or null

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
429rate-limitedrate-limited

Example

curl -X GET 'https://api.weird.ro/legal/acknowledgements' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird legal acknowledgements, weird domains renew, weird domains trade):

$ weird legal acknowledgements$ weird domains renew <domain>$ weird domains trade <domain>

MCP: weird_legal_acknowledgements.

The current terms of service and privacy notice#

GET /legal/documents · operation legalDocuments

The current version of each published legal document (kind terms, privacy or dpa, version, title, url, published_at), without its text. A kind with nothing published is not listed. terms and privacy are accepted by every account (GET /auth/legal); dpa, the data processing agreement, is not accepted at sign-in: the acknowledgements that rely on it name it (relies_on of GET /legal/acknowledgements). This call is not charged.

Credentialnone: anyone may call it (x-weird-auth: public)
Chargedno

Parameters

NameInTypeRequiredDescription
langquerystringnothe language of the texts answered: ro or en (any other value is refused 400 invalid-params, field lang); without it, the Accept-Language header, else the signed-in account's language, else Romanian (one of ro, en)
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian

Answer 200 (LegalDocumentList): the result

  • documents, array of objects, required
    • lang, string — the language of this text (one of ro, en)
    • url, string or null
    • published_at, string, required
    • body, string — the text, on a read of one document
    • languages, array of strings — the languages this version is published in
    • kind, string, required (one of terms, privacy, dpa)
    • title, string, required
    • effective_at, string — when this version takes effect (its publication unless published ahead)
    • version, string, required
  • upcoming, array of objects — versions published to take effect later
    • lang, string — the language of this text (one of ro, en)
    • url, string or null
    • published_at, string, required
    • body, string — the text, on a read of one document
    • languages, array of strings — the languages this version is published in
    • kind, string, required (one of terms, privacy, dpa)
    • title, string, required
    • effective_at, string — when this version takes effect (its publication unless published ahead)
    • version, string, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
429rate-limitedrate-limited

Example

curl -X GET 'https://api.weird.ro/legal/documents'

With the CLI (weird legal, weird legal accept, weird legal accept-dpa):

$ weird legal$ weird legal accept$ weird legal accept-dpa [version]

MCP: weird_legal_documents.

The text of a legal document#

GET /legal/documents/{kind} · operation legalDocument

The current version of kind (terms, privacy or dpa, the data processing agreement) with its text (body), or the version version names. A kind with nothing published (or an unknown version) answers 404 not-found. This call is not charged.

Credentialnone: anyone may call it (x-weird-auth: public)
Chargedno

Parameters

NameInTypeRequiredDescription
kindpathstringyes
versionquerystringnoan earlier version
langquerystringnothe language of the texts answered: ro or en (any other value is refused 400 invalid-params, field lang); without it, the Accept-Language header, else the signed-in account's language, else Romanian (one of ro, en)
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian

Answer 200 (LegalDocument): the result

  • lang, string — the language of this text (one of ro, en)
  • url, string or null
  • published_at, string, required
  • body, string — the text, on a read of one document
  • languages, array of strings — the languages this version is published in
  • kind, string, required (one of terms, privacy, dpa)
  • title, string, required
  • effective_at, string — when this version takes effect (its publication unless published ahead)
  • version, string, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
404not-foundnot-found
429rate-limitedrate-limited

Example

curl -X GET 'https://api.weird.ro/legal/documents/{kind}'

With the CLI (weird legal show, weird terms show):

$ weird legal show <terms|privacy|dpa> [version]$ weird terms show <terms|privacy|dpa> [version]

MCP: weird_legal_documents.

This page is generated from the API's public document; it changes when the document does.