API reference
Assistant: Your world
Your world as your personal assistant keeps it: your companies, your family, the key people of each and your own (your doctor, your accountant), the dates that matter, and the facts known or proposed about all of them. Personal: every route needs one of the assistant people permissions, which Full access never includes. What you write here is known at once; what the assistant found waits for your yes. 29 endpoints. Add your API key in the authentication panel to send test requests from this page.
Read your world
/api/external/v1/assistant/worldEverything at once, as the app's Your world opens with it: companies (archived ones too, dismissed suggestions never; primary first), family (each member with relationWords, their relation in lang), self (your own people and dates), people (every key person, of everyone), upcoming (what comes up in the next 60 days: dateId, ownerKind, ownerId, ownerName, kind, label, on, years - the age a birthday turns -, daysAway), candidates (how many proposals wait for your yes), accountCompanyAvailable (whether your account's billing details could be your first company: POST /world/companies/from-account) and limits.
A company or member with suggested true was proposed by your assistant and counts for nothing until you accept it; candidates on each says how many proposed facts about it wait.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
List the facts waiting for your yes
/api/external/v1/assistant/world/candidatesEvery fact your assistant proposed (from a mail, a conversation, a website) that waits for you, with its owner's name: items, as GET /world/facts gives them (at most 200). Confirm one with POST /world/facts/{id}/confirm, turn it down with /reject.
Parameters
langstringqueryLanguage 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 company
/api/external/v1/assistant/world/companiesAdds one of your companies, known at once. Body: name (required, unique among those not archived) and any of legalName, legalForm, country (ISO 3166-1 alpha-2), status (FORMING, ACTIVE, DORMANT, CLOSED), primary, roles (your roles: FOUNDER, OWNER, SHAREHOLDER, MANAGING_DIRECTOR, EXECUTIVE, EMPLOYEE, BOARD_MEMBER, ADVISOR, INVESTOR, CONTRACTOR, OTHER), title, roleSince, ownershipPercent, foundedOn, registeredOn (YYYY-MM-DD), identifiers ([{kind, value, issuer, label}], kind REGISTER_NUMBER, TAX_NUMBER, TAX_OFFICE, VAT_ID, LEI, DUNS, EORI, MERSIS, OTHER), addresses ([{kind, label, line1, line2, postalCode, city, region, country}], kind REGISTERED, OFFICE, BILLING, WAREHOUSE, HOME, OTHER), website, email, phone, emailDomains, links ([{label, url}]), industry, description, employees (1, 2-10, 11-50, 51-200, 201-1000, 1000+), fiscalYearEnd (MM-DD), currency, bank ({name, iban, bic}: finances, shared only as your sharing rules say), signature (how you sign for it in mail the assistant writes), notes.
Your first company is your primary one. At most 25 companies. Answers 201 with the company.
Errors: 400 INVALID_REQUEST (no name, a name taken, a value that cannot be kept, the limit).
Parameters
langstringqueryLanguage 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 company
/api/external/v1/assistant/world/companies/{id}One of your companies with its people (key people: managing director, accountant, ...), dates (founding day, filing deadlines, renewals), facts (known and proposed, each field's label in lang) and openTracks (how many of your open tracks are about it).
Errors: 404 COMPANY_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 company
/api/external/v1/assistant/world/companies/{id}Changes a company with the fields of POST /world/companies: only the keys sent change; a key sent null or empty is cleared (the name cannot be). Renaming it moves its reminders and notebook page with it. Answers the company.
Errors: 404 COMPANY_NOT_FOUND, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 company
/api/external/v1/assistant/world/companies/{id}Deletes a company with its key people, dates (and their reminders), facts and notebook page. Answers 204.
Errors: 404 COMPANY_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 company
/api/external/v1/assistant/world/companies/{id}/acceptKeeps a company your assistant suggested (or that came from your billing details): it counts from now. Answers the company.
Errors: 404 COMPANY_NOT_FOUND, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 company
/api/external/v1/assistant/world/companies/{id}/archiveArchives a company (sold, closed: kept for the story, out of the lists) or, with archived false, brings it back. Body: archived (default true). Answers the company.
Errors: 404 COMPANY_NOT_FOUND, 400 INVALID_REQUEST (restoring one whose name another company has now).
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 company
/api/external/v1/assistant/world/companies/{id}/dismissSets a suggestion aside: archived and kept, never suggested again. Answers the company.
Errors: 404 COMPANY_NOT_FOUND (also for a company that is not a suggestion).
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Suggest your first company from billing
/api/external/v1/assistant/world/companies/from-accountWhile you have no company yet: your account's billing details (company name, address, tax ID) become a suggested company, for you to accept, change or dismiss. Answers company, null when there is nothing to take (a company already, or no billing details).
Parameters
langstringqueryLanguage 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 date that matters
/api/external/v1/assistant/world/datesAdds a date of yours, of a company, of a family member or of a thing, known at once. Body: ownerKind is SELF (your own: owner id left out), COMPANY, MEMBER (a family member) or THING (one of your places or things in the household), with its ownerId. kind (required: BIRTHDAY, ANNIVERSARY, MEMORIAL, NAME_DAY, FOUNDED, FISCAL_YEAR_END, TAX_FILING, VAT_FILING, ANNUAL_ACCOUNTS, GENERAL_MEETING, LICENSE_RENEWAL, INSURANCE_RENEWAL, CONTRACT_RENEWAL, DOCUMENT_EXPIRY, SCHOOL, VACCINATION, CHECKUP, INSPECTION, SERVICE, WARRANTY_END, LEASE_END, OTHER), date (required: YYYY-MM-DD, or --MM-DD without a year, which repeats yearly), repeats (NONE, MONTHLY, YEARLY; left out: what suits the kind), label, remindDaysBefore (0-90: a reminder on your agenda that many days before; left out: none).
One birthday each: a second birthday for the same owner changes the first. At most 1,000 dates. Answers 201 with the date (with agendaTaskId when it reminds you).
Errors: 404 OWNER_NOT_FOUND, 400 INVALID_ID, 400 INVALID_REQUEST (no kind, a date that is none, no year without YEARLY, a reminder over 90 days, the limit, a reminder the agenda cannot keep).
Parameters
langstringqueryLanguage 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
ownerKindstringownerIdstringkindstringlabelstringdatestringrepeatsstringremindDaysBeforeinteger (int32)
Responses
200OK
Replace a date
/api/external/v1/assistant/world/dates/{id}Saves a date whole with the body of POST /world/dates (kind and date required; label, repeats and remindDaysBefore left out are cleared or defaulted). Whose it is does not change. Its reminder moves with it. Answers the date, known.
Errors: 404 DATE_NOT_FOUND, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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
ownerKindstringownerIdstringkindstringlabelstringdatestringrepeatsstringremindDaysBeforeinteger (int32)
Responses
200OK
Delete a date
/api/external/v1/assistant/world/dates/{id}Deletes a date and its reminder. Answers 204.
Errors: 404 DATE_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Confirm a proposed date
/api/external/v1/assistant/world/dates/{id}/confirmConfirms a date your assistant proposed (state CANDIDATE): known from now, with its reminder. Answers the date.
Errors: 404 DATE_NOT_FOUND, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Reject a proposed date
/api/external/v1/assistant/world/dates/{id}/rejectTurns a proposed date down for good: it is not proposed again. Answers the date, REJECTED.
Errors: 404 DATE_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
List the facts about someone
/api/external/v1/assistant/world/factsThe facts known and proposed about you, a company, a family member or a thing: ownerKind (SELF, COMPANY, MEMBER or THING) and ownerId (left out for SELF); includeRejected (default false) adds the proposals you turned down.
Answers items, each id, ownerKind, ownerId, field (a known field of its owner, or CUSTOM), label (the field's name in lang, or a custom fact's), value (text, or the field's structure: an address's or identifier's object), state (CANDIDATE, CONFIRMED, REJECTED), source (PERSON, KI - your assistant -, WEBSITE, MAIL, CONVERSATION, ACCOUNT, CONTACT_BOOK, IMPORT), sourceRef, quote (the words it was taken from), createdAt, decidedAt, ownerName.
Errors: 404 OWNER_NOT_FOUND (also for an ownerKind that is none of them), 400 INVALID_ID.
Parameters
ownerKindstringquerySELF, COMPANY, MEMBER or THING.
ownerIdstringqueryThe company's, member's or thing's id; left out for SELF.
includeRejectedbooleanquerylangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
State a fact
/api/external/v1/assistant/world/factsAdds a fact you state about you, a company, a family member or a thing, known at once (a custom fact: its label is its name). Body: ownerKind is SELF (your own: owner id left out), COMPANY, MEMBER (a family member) or THING (one of your places or things in the household), with its ownerId. label (required), value (required: text, or a structure). At most 3,000 facts. Answers 201 with the fact.
Errors: 404 OWNER_NOT_FOUND, 400 INVALID_ID, 400 INVALID_REQUEST.
Parameters
langstringqueryLanguage 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
ownerKindstringownerIdstringlabelstringvalueany
Responses
200OK
Delete a fact
/api/external/v1/assistant/world/facts/{id}Deletes a fact (a known field's value on its owner stays as it is). Answers 204.
Errors: 404 FACT_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Confirm a proposed fact
/api/external/v1/assistant/world/facts/{id}/confirmConfirms a fact your assistant proposed: it becomes what is known (a known field's value is set on its owner). Body (optional): value, the value as you correct it. Answers the fact, CONFIRMED.
Errors: 404 FACT_NOT_FOUND, 400 INVALID_REQUEST (an edited value that cannot be kept).
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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
Reject a proposed fact
/api/external/v1/assistant/world/facts/{id}/rejectTurns a proposed fact down: it is not proposed again. Answers the fact, REJECTED.
Errors: 404 FACT_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 family member
/api/external/v1/assistant/world/familyAdds someone of your family (or a pet), known at once. Body: displayName (required) and any of kind (PERSON, the default, or PET), givenName, familyName, nickname, relation (PARTNER, CHILD, PARENT, SIBLING, HALF_SIBLING, STEP_PARENT, STEP_CHILD, STEP_SIBLING, GRANDPARENT, GRANDCHILD, GREAT_GRANDPARENT, GREAT_GRANDCHILD, AUNT_UNCLE, NIECE_NEPHEW, COUSIN, PARENT_IN_LAW, CHILD_IN_LAW, SIBLING_IN_LAW, GODPARENT, GODCHILD, PET, OTHER), relationLabel (your own word for them, "Oma"), gender (FEMALE, MALE), side (MATERNAL, PATERNAL), viaMemberId (the member who connects them to you: a grandparent through a parent), partnerStatus (MARRIED, PARTNER, ENGAGED, SEPARATED, DIVORCED, WIDOWED), deceased, contactId (their contact-book entry), household (they live with you), species (a pet's), birthday (YYYY-MM-DD or --MM-DD: kept as their BIRTHDAY date), likes (gift ideas), dietary, notes, stayInTouch (WEEKLY, BIWEEKLY, MONTHLY, QUARTERLY: a reminder on your agenda), vip (your assistant tells you at once when they write or call).
At most 300 members. Answers 201 with the member.
Errors: 400 INVALID_REQUEST (no name, a relation that cannot hang off viaMemberId, a contact that is not yours, a value that cannot be kept, the limit).
Parameters
langstringqueryLanguage 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 family member
/api/external/v1/assistant/world/family/{id}One member of your family with their contact (their contact-book entry when one is linked: id, name, phones, emails), people (their key people: a child's teacher, a parent's doctor), dates, facts and openTracks.
Errors: 404 FAMILY_MEMBER_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 family member
/api/external/v1/assistant/world/family/{id}Changes a member with the fields of POST /world/family: only the keys sent change; a key sent null or empty is cleared (the name cannot be). Answers the member.
Errors: 404 FAMILY_MEMBER_NOT_FOUND, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 family member
/api/external/v1/assistant/world/family/{id}Deletes a member with their key people, dates (and their reminders), stay-in-touch reminder and notebook page. A contact-book entry made for them goes too while nothing was added to it; a contact of your own stays. Answers 204.
Errors: 404 FAMILY_MEMBER_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 family member
/api/external/v1/assistant/world/family/{id}/acceptKeeps a member your assistant suggested: they count from now. Answers the member.
Errors: 404 FAMILY_MEMBER_NOT_FOUND, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 family member
/api/external/v1/assistant/world/family/{id}/dismissSets a suggestion aside: out of sight, never suggested again. Answers 204.
Errors: 404 FAMILY_MEMBER_NOT_FOUND (also for a member who is not a suggestion).
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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 key person
/api/external/v1/assistant/world/peopleAdds a key person of yours, of a company, of a family member or of a thing: your accountant, a child's teacher, the flat's landlord. Body: ownerKind is SELF (your own: owner id left out), COMPANY, MEMBER (a family member) or THING (one of your places or things in the household), with its ownerId. role (required: CO_FOUNDER, MANAGING_DIRECTOR, EXECUTIVE, ACCOUNTANT, TAX_ADVISOR, LAWYER, NOTARY, BANKER, INSURANCE_AGENT, ASSISTANT, HR, EMPLOYEE, INVESTOR, BOARD_MEMBER, CUSTOMER, SUPPLIER, DOCTOR, DENTIST, PEDIATRICIAN, THERAPIST, TEACHER, SCHOOL, DAYCARE, CAREGIVER, COACH, VET, LANDLORD, SPECIALIST, PHARMACY, MECHANIC, PROPERTY_MANAGER, FINANCIAL_ADVISOR, OTHER), contactId (their contact-book entry) or name (one is required; without a contact they get an entry in your book), roleLabel (your words for the role), note.
At most 600 key people. Answers 201 with the key person (with their contact's name, phones and emails).
Errors: 404 OWNER_NOT_FOUND, 400 INVALID_ID, 400 INVALID_REQUEST (no role, neither a contact nor a name, a contact that is not yours, the limit).
Parameters
langstringqueryLanguage 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
ownerKindstringownerIdstringcontactIdstringnamestringrolestringroleLabelstringnotestring
Responses
200OK
Replace a key person
/api/external/v1/assistant/world/people/{id}Saves a key person whole with the body of POST /world/people (role and a contact or a name required; a field left out is cleared). Whose they are does not change: ownerKind and ownerId are the ones they have. Answers the key person.
Errors: 404 KEY_PERSON_NOT_FOUND, 400 INVALID_ID, 400 INVALID_REQUEST.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage 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
ownerKindstringownerIdstringcontactIdstringnamestringrolestringroleLabelstringnotestring
Responses
200OK
Delete a key person
/api/external/v1/assistant/world/people/{id}Deletes a key person. A contact-book entry made for them goes too while nothing was added to it; a contact of your own stays. Answers 204.
Errors: 404 KEY_PERSON_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK