Account Terms

Add or update protected terms (upsert by exact term)

Add terms, or update existing ones. Terms are matched by exact text after trimming and collapsing spaces: sending an existing term replaces its translations and note. When one request names the same term twice, the later entry wins. Returns the stored terms.

translations accepts he, en and ru. Leave it out to keep the term exactly as written in every language.

Limits. 2,000 terms per account. A term or rendering is up to 200 characters and may not contain ⟦ or ⟧; a note is up to 500 characters. Changes reach new requests within 30 seconds. Idempotent: repeating a request leaves the same list.

post/v1/terms

Request

  • Base URL: https://hc.itsbaba.com
  • URL: https://hc.itsbaba.com/v1/terms
  • Auth: HTTP bearer

Request body

Example request

{
  "terms": [
    {
      "term": "Optalgin",
      "translations": {
        "he": "אופטלגין",
        "ru": "Оптальгин"
      }
    }
  ]
}

Response

Stored terms

countinteger required

Example response

{
  "terms": [
    {
      "id": "3f2c1a9e-8b7d-4c6e-9f10-2a3b4c5d6e7f",
      "term": "Acamol",
      "translations": {
        "he": "אקמול"
      },
      "note": "paracetamol 500 mg brand",
      "created_at": "2026-01-15T09:30:00.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.