API reference

Contacts

The people in your life, shared by every feature.

Base URL https://app.heybmo.comFor agents: llms.txt · OpenAPI

Operations

ReadPOST /api/ops/contacts.find

Find contacts

The people saved in contacts, by name, with how many records link to each. query finds names and nicknames, typos included, exact names first. Archived contacts are left out unless archived is include or only; trash: true lists the contacts in the trash instead. Two contacts may share a name: their nicknames tell them apart, so ask the person which one they mean.

MCP tool contacts_findCLI heybmo contacts findLimit readSafe to retryInput
querytextLetters of a name or nickname. Up to 100 characters.
archivedhide | include | onlyhide archived contacts (default), include them, or only them. Default "hide".
trashtrue or falsetrue: the contacts in the trash instead. Default false.
limitnumberDefault 50.
cursortextnextCursor from the previous page.
curl https://app.heybmo.com/api/ops/contacts.find \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
200 response
{
  "output": {
    "contacts": [
      {
        "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
        "name": "…",
        "nickname": "…",
        "birthday": {
          "month": 0,
          "day": 0,
          "year": 0
        },
        "notes": "…",
        "archived": false,
        "usedIn": 0,
        "revision": 0,
        "createdAt": "2026-11-09T09:00:00.000Z",
        "updatedAt": "2026-11-09T09:00:00.000Z",
        "restoreUntil": "2026-11-09T09:00:00.000Z"
      }
    ],
    "total": 0,
    "archived": 0,
    "nextCursor": "…"
  }
}
ReadPOST /api/ops/contacts.get

Read one contact

One contact with its details and the records that link to it (in the features switched on), newest first.

MCP tool contacts_getCLI heybmo contacts getLimit readSafe to retryInput
contactIdrequiredidA contact id (from contacts.find).
curl https://app.heybmo.com/api/ops/contacts.get \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"contactId":"01a19279-e9c3-7c73-9705-94f082fa3a65"}}'
200 response
{
  "output": {
    "contact": {
      "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
      "name": "…",
      "nickname": "…",
      "birthday": {
        "month": 0,
        "day": 0,
        "year": 0
      },
      "notes": "…",
      "archived": false,
      "usedIn": 0,
      "revision": 0,
      "createdAt": "2026-11-09T09:00:00.000Z",
      "updatedAt": "2026-11-09T09:00:00.000Z"
    },
    "inTrash": false,
    "records": [
      {
        "feature": "…",
        "kind": "…",
        "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
        "title": "…",
        "money": {
          "amount": 0,
          "currency": "…",
          "way": "in"
        }
      }
    ]
  }
}
WritePOST /api/ops/contacts.add

Add a contact

Save a person in contacts, with a nickname, a birthday and a short note when given. A name and nickname already saved are refused. The answer lists contacts that may be the same person (possibleDuplicates): check with the person before adding more.

MCP tool contacts_addCLI heybmo contacts addLimit writeInput
namerequiredtextUp to 100 characters.
nicknametextWhat they are called, to tell people with the same name apart. Up to 60 characters.
birthdayobjectmonth and day; year only when known (their age is then shown).
notestextA short note, up to 1000 characters. Up to 1000 characters.
curl https://app.heybmo.com/api/ops/contacts.add \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"name":"Leila Haddad","birthday":{"month":11,"day":28,"year":null}}}'
200 response
{
  "output": {
    "contact": {
      "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
      "name": "…",
      "nickname": "…",
      "birthday": {
        "month": 0,
        "day": 0,
        "year": 0
      },
      "notes": "…",
      "archived": false,
      "usedIn": 0,
      "revision": 0,
      "createdAt": "2026-11-09T09:00:00.000Z",
      "updatedAt": "2026-11-09T09:00:00.000Z"
    },
    "possibleDuplicates": [
      {
        "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
        "name": "…",
        "nickname": "…"
      }
    ]
  }
}
WritePOST /api/ops/contacts.update

Change a contact

Rename a contact, change or clear its nickname, birthday or note, or archive it: hidden from suggestions, its records keep the link. archived: false brings it back. Records show the new name everywhere at once, and birthday reminders move with a new birthday. Only what is given changes.

MCP tool contacts_updateCLI heybmo contacts updateLimit writeSafe to retryInput
contactIdrequiredidA contact id (from contacts.find).
nametextUp to 100 characters.
nicknametext or nullnull clears it.
birthdayobject or nullnull clears it.
notestextUp to 1000 characters.
archivedtrue or false
revisionnumberThe revision you last read. If it changed since, the change is refused so nothing is overwritten.
curl https://app.heybmo.com/api/ops/contacts.update \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"contactId":"01a19279-e9c3-7c73-9705-94f082fa3a65","nickname":"Lei"}}'
200 response
{
  "output": {
    "contact": {
      "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
      "name": "…",
      "nickname": "…",
      "birthday": {
        "month": 0,
        "day": 0,
        "year": 0
      },
      "notes": "…",
      "archived": false,
      "usedIn": 0,
      "revision": 0,
      "createdAt": "2026-11-09T09:00:00.000Z",
      "updatedAt": "2026-11-09T09:00:00.000Z"
    },
    "possibleDuplicates": [
      {
        "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
        "name": "…",
        "nickname": "…"
      }
    ]
  }
}
WritePOST /api/ops/contacts.merge

Merge two contacts

When two contacts are the same person: every record of contactId moves to intoContactId, which keeps its name and takes a nickname, birthday or note only the other had; contactId is then removed. Ask the person first: names that look alike are often different people.

MCP tool contacts_mergeCLI heybmo contacts mergeLimit writeInput
contactIdrequiredidThe contact to remove (its records move).
intoContactIdrequiredidThe contact to keep, with its name.
curl https://app.heybmo.com/api/ops/contacts.merge \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"contactId":"01a19279-e9c3-7c73-9705-94f082fa3a65","intoContactId":"01a1927a-1071-7a71-994f-4180839c9a39"}}'
200 response
{
  "output": {
    "contact": {
      "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
      "name": "…",
      "nickname": "…",
      "birthday": {
        "month": 0,
        "day": 0,
        "year": 0
      },
      "notes": "…",
      "archived": false,
      "usedIn": 0,
      "revision": 0,
      "createdAt": "2026-11-09T09:00:00.000Z",
      "updatedAt": "2026-11-09T09:00:00.000Z"
    },
    "recordsMoved": 0,
    "removed": {
      "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
      "name": "…"
    }
  }
}
DeletePOST /api/ops/contacts.delete

Move a contact to the trash

Move a contact to the trash. Its records keep it, marked as a deleted contact, and contacts.restore brings it back for 30 days; then each record keeps the name, no longer linked. To just hide someone from suggestions, archive them with contacts.update instead.

Goes to the trash: it can be restored for 30 days.

MCP tool contacts_deleteCLI heybmo contacts deleteLimit deleteSafe to retryInput
contactIdrequiredidA contact id (from contacts.find).
curl https://app.heybmo.com/api/ops/contacts.delete \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"contactId":"01a19279-e9c3-7c73-9705-94f082fa3a65"}}'
200 response
{
  "output": {
    "removed": [
      {
        "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
        "name": "…"
      }
    ],
    "usedIn": 0,
    "restoreUntil": "2026-11-09T09:00:00.000Z"
  }
}
WritePOST /api/ops/contacts.restore

Bring a contact back from the trash

Bring a contact back from the trash, with every record still linked to it. contacts.find with trash: true lists them.

MCP tool contacts_restoreCLI heybmo contacts restoreLimit writeSafe to retryInput
contactIdrequiredidA contact id (from contacts.find).
curl https://app.heybmo.com/api/ops/contacts.restore \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"contactId":"01a19279-e9c3-7c73-9705-94f082fa3a65"}}'
200 response
{
  "output": {
    "contact": {
      "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
      "name": "…",
      "nickname": "…",
      "birthday": {
        "month": 0,
        "day": 0,
        "year": 0
      },
      "notes": "…",
      "archived": false,
      "usedIn": 0,
      "revision": 0,
      "createdAt": "2026-11-09T09:00:00.000Z",
      "updatedAt": "2026-11-09T09:00:00.000Z"
    }
  }
}
DeletePOST /api/ops/contacts.deleteForever

Delete a contact for good

Delete a contact for good, now (in the trash or not). Every record that links to it keeps the name, no longer linked to a contact. It cannot be undone, so ask the person first; contacts.delete moves it to the trash instead.

Deletes for good. The first call changes nothing and answers CONFIRMATION_REQUIRED with what would be deleted; call again with confirm: true once the person agrees.

MCP tool contacts_deleteForeverCLI heybmo contacts deleteForeverLimit deleteSafe to retryInput
contactIdrequiredidA contact id (from contacts.find).
confirmtrue or falseSet to true once the person agreed. Without it nothing is deleted and you get a description of what would be.
curl https://app.heybmo.com/api/ops/contacts.deleteForever \
  -H "Authorization: Bearer $HEYBMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"contactId":"01a19279-e9c3-7c73-9705-94f082fa3a65"}}'
200 response
{
  "output": {
    "removed": [
      {
        "id": "01a19279-e9c3-7c73-9705-94f082fa3a65",
        "name": "…"
      }
    ],
    "recordsKept": 0
  }
}