API reference

Assistant: Household

Your household as your personal assistant keeps it: health (yours and your family's, kept only while you have switched Health on in the app), your places and things, and money - subscriptions, contracts, insurances, loans, bills and the accounts they are paid from. Personal: every route needs the household permissions (read or write), which Full access never includes and reading people does not give. Never an account or card number. 22 endpoints. Add your API key in the authentication panel to send test requests from this page.

Read your household

GET/api/external/v1/assistant/household

Everything at once, as the app shows Health, Home & things and Money: health (on, since: whether you switched Health on, and when), healthItems (none while Health is off: id, memberId - the family member it is about, null for you -, kind MEDICATION, ALLERGY, CONDITION, VACCINATION, CHECKUP or OTHER, name, detail, severity, since, nextDue, repeatEvery and repeatUnit, remindDaysBefore, providerId - the key person it is with -, active, discreet, suggested, whoWords in lang), things (id, kind HOME, PROPERTY, VEHICLE, DEVICE, VALUABLE, DOCUMENT or OTHER, name, memberId, companyId, address, details, ownership, notes, suggested, archivedAt), money (id, kind SUBSCRIPTION, CONTRACT, INSURANCE, LOAN, BILL, TAX, ACCOUNT or OTHER, name, provider, category, amount as {minor, currency} in minor units, period, nextDue, startsOn, endsOn, noticeDays, autoRenews, cancelBy - the last day to cancel -, the reminders, reference, accountLabel, thingId, memberId, companyId, status, suggested), recurring (what the active recurring items come to per month, per currency) and upcoming (the next 30 days: kind HEALTH, PAYMENT, CANCEL_BY or THING_DATE, itemId, on, title in lang).

Query: closed (default false) adds cancelled and ended money items and archived things. Reading it rolls a money item whose term renewed on to the term running now, with its reminders, as the app does.

Parameters

  • closedbooleanquery

    Also cancelled and ended money items and archived things.

  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Read your body numbers

GET/api/external/v1/assistant/household/health/body

Your weight, target weight and height, kept in metric: healthOn, weightKg, targetWeightKg, heightCm, units (METRIC or IMPERIAL: what you see them in) and asTheySeeIt (one line in your units). Only healthOn while Health is off or nothing is kept.

Parameters

  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Set your body numbers

PUT/api/external/v1/assistant/household/health/body

Sets your weight, target weight and height. Body, every key optional (left out: unchanged; null: cleared): weightKg and targetWeightKg (20-400), heightCm (50-260), units (METRIC or IMPERIAL); or the same in imperial: weightLb, targetWeightLb, heightFt with heightIn (one number given two ways at once is refused). All three cleared removes them. Answers what GET answers.

Errors: 409 HEALTH_OFF, 400 INVALID_REQUEST (a number out of range, an unknown key).

Parameters

  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Add a health item

POST/api/external/v1/assistant/household/health/items

Adds a health item of yours or of a family member, known at once: a medication (with its refills), an allergy, a condition, a vaccination or a check-up. Body: kind (MEDICATION, ALLERGY, CONDITION, VACCINATION, CHECKUP, OTHER) and name required; memberId (whom it is about; left out: you), detail (a dose and when it is taken, what to avoid), severity (MILD, MODERATE, SEVERE: an allergy's), since, nextDue (YYYY-MM-DD: the next refill, vaccination or check-up), repeatEvery with repeatUnit (DAYS, WEEKS, MONTHS, YEARS), remindDaysBefore (a reminder on your agenda), providerId (the key person it is with: a doctor, the pharmacy), active, discreet (its reminder does not name it).

Kept only while Health is on (you switch it on in the app); never shared with businesses or strangers. At most 300 health items. Answers 201 with the item.

Errors: 409 HEALTH_OFF, 400 INVALID_REQUEST (a value that cannot be kept, the limit).

Parameters

  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Change a health item

PATCH/api/external/v1/assistant/household/health/items/{id}

Changes a health item with the fields of POST /household/health/items: only the keys sent change; a key sent null or empty is cleared. Changing a suggested item makes it yours. Answers the item.

Errors: 404 HEALTH_ITEM_NOT_FOUND, 409 HEALTH_OFF, 400 INVALID_REQUEST.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Delete a health item

DELETE/api/external/v1/assistant/household/health/items/{id}

Deletes a health item and its reminder. Answers 204.

Errors: 404 HEALTH_ITEM_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Accept a suggested health item

POST/api/external/v1/assistant/household/health/items/{id}/accept

Keeps a health item your assistant suggested (from a mail, a conversation): it counts from now. Answers the item.

Errors: 404 HEALTH_ITEM_NOT_FOUND, 400 INVALID_REQUEST.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Dismiss a suggested health item

POST/api/external/v1/assistant/household/health/items/{id}/dismiss

Sets a suggestion aside: out of sight, never suggested again. Answers 204.

Errors: 404 HEALTH_ITEM_NOT_FOUND (also for an item that is not a suggestion).

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Mark a refill or check-up done

POST/api/external/v1/assistant/household/health/items/{id}/done

A refill, vaccination or check-up done: its nextDue moves on by its repeat (or clears without one), and its reminder with it. Answers the item.

Errors: 404 HEALTH_ITEM_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Add a money item

POST/api/external/v1/assistant/household/money

Adds a subscription, contract, insurance, loan, bill, tax payment or account, known at once. Body: kind (SUBSCRIPTION, CONTRACT, INSURANCE, LOAN, BILL, TAX, ACCOUNT, OTHER) and name required; provider (who it is with), providerContactId, category (an insurance's: HEALTH, CAR, HOME, CONTENTS, LIABILITY, LIFE, DISABILITY, TRAVEL, LEGAL, PET, OTHER), amount ({minor, currency}: minor units of an ISO 4217 currency, 1299 for 12.99), period (WEEKLY, MONTHLY, QUARTERLY, HALF_YEARLY, YEARLY, ONCE), nextDue, startsOn, endsOn (the end of its term), noticeDays (how long before the end it must be cancelled: with endsOn it gives cancelBy), autoRenews, remindDueDaysBefore and remindCancelDaysBefore (reminders on your agenda), reference (a policy or customer number: finances, shared only as your sharing rules say), accountLabel (the account it is paid from: a bank's name and at most the last four digits), thingId, memberId, companyId, status (ACTIVE, PAUSED, CANCELLED, ENDED), notes.

Never an account or card number anywhere in it (400). At most 400 money items. Answers 201 with the item.

Errors: 400 INVALID_REQUEST (an account or card number, a value that cannot be kept, the limit).

Parameters

  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Change a money item

PATCH/api/external/v1/assistant/household/money/{id}

Changes a money item with the fields of POST /household/money: only the keys sent change; a key sent null or empty is cleared (the name cannot be). Its reminders move with it. Answers the item.

Errors: 404 MONEY_ITEM_NOT_FOUND, 400 INVALID_REQUEST.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Delete a money item

DELETE/api/external/v1/assistant/household/money/{id}

Deletes a money item and its reminders. Answers 204.

Errors: 404 MONEY_ITEM_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Accept a suggested money item

POST/api/external/v1/assistant/household/money/{id}/accept

Keeps a money item your assistant suggested (from an invoice or a confirmation mail, with quote): it counts from now. Answers the item.

Errors: 404 MONEY_ITEM_NOT_FOUND, 400 INVALID_REQUEST.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Dismiss a suggested money item

POST/api/external/v1/assistant/household/money/{id}/dismiss

Sets a suggestion aside: out of sight, never suggested again. Answers 204.

Errors: 404 MONEY_ITEM_NOT_FOUND (also for an item that is not a suggestion).

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Mark a payment made

POST/api/external/v1/assistant/household/money/{id}/paid

A payment made: the item's nextDue moves on by its period (or clears for ONCE), and its reminder with it. Answers the item.

Errors: 404 MONEY_ITEM_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Add a place or thing

POST/api/external/v1/assistant/household/things

Adds one of your places or things, known at once. Body: kind (HOME, PROPERTY, VEHICLE, DEVICE, VALUABLE, DOCUMENT, OTHER) and name required; memberId (whose it is when not yours: a child's bike), companyId (a company car), address (a place's: {line1, line2, postalCode, city, region, country}), details (text by key: a vehicle's plate, make, model, year; a device's model and serial; free keys otherwise - a document's number is never kept), ownership (OWNED, RENTED, LEASED, FINANCED, OTHER), notes.

At most 200 things. Answers 201 with the thing.

Errors: 400 INVALID_REQUEST (a value that cannot be kept, the limit).

Parameters

  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Read a place or thing

GET/api/external/v1/assistant/household/things/{id}

One of your places or things with its dates (an inspection, a warranty's end, a document's expiry), its key people (the landlord, the mechanic) and the money items for it (the car's insurance). Its dates and key people are written through /world/dates and /world/people with ownerKind THING.

Errors: 404 THING_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Change a place or thing

PATCH/api/external/v1/assistant/household/things/{id}

Changes a place or thing with the fields of POST /household/things: only the keys sent change; a key sent null or empty is cleared (the name cannot be). Answers the thing.

Errors: 404 THING_NOT_FOUND, 400 INVALID_REQUEST.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

object

Responses

  • 200OK

Delete a place or thing

DELETE/api/external/v1/assistant/household/things/{id}

Deletes a place or thing with its dates, key people and notebook lines; the money items for it stay, without it. Answers 204.

Errors: 404 THING_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Accept a suggested place or thing

POST/api/external/v1/assistant/household/things/{id}/accept

Keeps a place or thing your assistant suggested: it counts from now. Answers the thing.

Errors: 404 THING_NOT_FOUND, 400 INVALID_REQUEST.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK

Archive or restore a place or thing

POST/api/external/v1/assistant/household/things/{id}/archive

Archives a place or thing (sold, given away, run out: kept for the story, out of the lists) or, with archived false, brings it back. Body: archived (default true). Answers the thing.

Errors: 404 THING_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Request body application/json

  • archivedboolean

Responses

  • 200OK

Dismiss a suggested place or thing

POST/api/external/v1/assistant/household/things/{id}/dismiss

Sets a suggestion aside: out of sight, never suggested again. Answers 204.

Errors: 404 THING_NOT_FOUND (also for one that is not a suggestion).

Parameters

  • idstring (uuid)pathRequired
  • langstringquery

    Language of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.

Responses

  • 200OK