Youniton Docs

Account

The signed-in person: profile, preferences, sessions, API tokens and notifications.

#The signed-in account, its preferences and memberships

GET/me
Session (app only)F-IDN-11

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

Responses

200The account document; ETag is the account version.application/json

#The account's open recovery request, if any

GET/me/account-recovery
Session (app only)F-IDN-15

Responses

200The open request.application/json
204No open request.

No body.

#Cancel the open recovery request from a session

DELETE/me/account-recovery
Session (app only)F-IDN-15

Responses

204Cancelled.

No body.

Errors401409One problem shape

#The account's own avatar image (R11)

GET/me/avatar
Session (app only)F-IDN-11

Headers

If-None-Matchstring

Max length 200

Responses

200The 256 px WebP image; a strong ETag; Cache-Control private, no-store.image/webp
304The image did not change.

No body.

Errors401404503One problem shape

#Upload the account's avatar — scanned, cropped to the centre square and stored as a 256 px WebP (R10)

PUT/me/avatar
Session (app only)F-IDN-11

Request body multipart/form-datarequired

Loading the schema…

Responses

200The stored avatar.application/json
Errors401403422429503One problem shape

#Frame the avatar again from the kept original — no new upload (R13)

PATCH/me/avatar
Session (app only)F-IDN-11

Request body application/jsonrequired

Loading the schema…

Responses

200The avatar rendered again from the kept original; the version moves on.application/json
Errors401403404422429503One problem shape

#Remove the account's avatar (R10); nothing to remove is no error

DELETE/me/avatar
Session (app only)F-IDN-11

Responses

204The avatar is removed; the initials show again.

No body.

Errors401403503One problem shape

#The kept original's size and the current framing, for the framing view (R13)

GET/me/avatar/framing
Session (app only)F-IDN-11

Responses

200The framing of the account's own avatar.application/json
Errors401404503One problem shape

#The kept original of the account's own avatar (WebP, no metadata) — no other person can read it (R13)

GET/me/avatar/original
Session (app only)F-IDN-11

Responses

200The kept original (at most 2 048 px a side); Cache-Control private, no-store.image/webp
Errors401404503One problem shape

#Create the member's calendar feed URL in this tenant, or replace it (the old URL stops at once)

PUT/me/calendar-feed
Session (app only)F-INT-08

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The feed URL, shown once.application/json
Errors403404One problem shape

#Revoke the member's calendar feed in this tenant

DELETE/me/calendar-feed
Session (app only)F-INT-08

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Revoked (or none existed).

No body.

Errors403404One problem shape

#The member's pinned and recent client organisations (the Clients sidebar)

GET/me/client-pins
Session (app only)F-WSP-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The client shortcuts.application/json

#Pin a client organisation for the member (idempotent)

PUT/me/client-pins/{organisationId}
Session (app only)F-WSP-02

Path parameters

organisationIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The updated client shortcuts.application/json
Errors403404409One problem shape

#Unpin a client organisation for the member (idempotent)

DELETE/me/client-pins/{organisationId}
Session (app only)F-WSP-02

Path parameters

organisationIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The updated client shortcuts.application/json
Errors403404One problem shape

#Record that the member opened a client organisation (the recent clients only)

POST/me/client-visits
Session (app only)F-WSP-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

204Recorded.

No body.

Errors403404422One problem shape

#Record that the member opened a doc page (the recent pages only)

POST/me/doc-page-visits
Session (app only)F-WSP-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

204Recorded.

No body.

Errors403404422One problem shape

#The member's starred and recent doc pages (the Documents sidebar)

GET/me/doc-shortcuts
Session (app only)F-WSP-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The doc shortcuts.application/json

#Star a doc page for the member (idempotent)

PUT/me/doc-stars/{pageId}
Session (app only)F-WSP-02

Path parameters

pageIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The updated doc shortcuts.application/json
Errors403404409One problem shape

#Remove the member's star from a doc page (idempotent)

DELETE/me/doc-stars/{pageId}
Session (app only)F-WSP-02

Path parameters

pageIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The updated doc shortcuts.application/json
Errors403404One problem shape

#The feature-switch keys the signed-in account may see (no tenant)

GET/me/features
Session (app only)F-PLT-15

Responses

200The visible keys of the portal and account surfaces (R12, R13), in the catalogue's order. A hidden key, or a key of another shell, is absent. A switched-off feature is NOT refused by the API until XM-1333.application/json

#The impersonation of this app session, or null (the banner of the workspace and the portal)

GET/me/impersonation
Session (app only)F-PLT-22

Responses

200The state, or null for a normal session.application/json

#End the impersonation of this app session (the banner's Exit)

POST/me/impersonation/exit
Session (app only)F-PLT-22

Responses

204Ended; the app session is destroyed.

No body.

Errors401403404One problem shape

#One page of the signed-in account's membership cards — the tenant chooser and the tenant switcher (F-IDN-21.R08)

GET/me/memberships
Session (app only)F-IDN-21

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

page[size]integer

Default: 20 · Min 1 · Max 25

Responses

200One page of cards, by last use (never used last), then by tenant id.application/json
Errors400401One problem shape

#The matrix with effective values and their source, the digest schedule, hour and quiet hours

GET/me/notification-preferences
Session (app only)F-NOT-02

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

Responses

200The caller's preferences with their ETag.application/json
Errors401404One problem shape

#Save the matrix, the digest schedule, its hour and quiet hours in one command

PUT/me/notification-preferences
Session (app only)If-MatchF-NOT-02

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The preferences after the save.application/json
Errors403404412422428One problem shape

#Change the password, or set a first one

PUT/me/password
Session (app only)F-IDN-14

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

Request body application/jsonrequired

Loading the schema…

Responses

200The updated methods overview (Password row with its new date).application/json
Errors401403422429One problem shape

#The member's pinned and recent projects and the count of accessible projects

GET/me/pins
Session (app only)F-WSP-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The shortcuts.application/json

#Pin a project for the member (idempotent)

PUT/me/pins/{projectKey}
Session (app only)F-WSP-02

Path parameters

projectKeyrequiredstring

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The updated shortcuts.application/json
Errors403404409One problem shape

#Unpin a project for the member (idempotent)

DELETE/me/pins/{projectKey}
Session (app only)F-WSP-02

Path parameters

projectKeyrequiredstring

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The updated shortcuts.application/json
Errors403404One problem shape

#Remember the portal the client opened

POST/me/portal-visits
Session (app only)F-POR-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

204The visit was recorded.

No body.

Errors403404One problem shape

#The account's portals across tenants, the last used first

GET/me/portals
Session (app only)F-POR-02

Responses

200Every portal the rule admits now; empty for an account without client memberships.application/json

#Save one or more personal preferences (week start, time format, theme, default project)

PATCH/me/preferences
Session (app only)F-IDN-12

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The updated account document.application/json
Errors401403404422One problem shape

#Set Available, Focus or Away

PUT/me/presence
Session (app only)F-IDN-19

Request body application/jsonrequired

Loading the schema…

Responses

204Saved.

No body.

Errors401403422One problem shape

#Save the Profile panel — name, time zone, language and the current membership's job title

PATCH/me/profile
Session (app only)If-MatchF-IDN-11

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The updated account document.application/json
Errors401403404412422428One problem shape

#Record that the member opened a project (the recent list only)

POST/me/project-visits
Session (app only)F-WSP-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

204Recorded.

No body.

Errors404422One problem shape

#The account's live sessions

GET/me/sessions
Session (app only)F-IDN-18

Responses

200Sessions, the current one first.application/json

#Sign out one other session

DELETE/me/sessions/{sessionId}
Session (app only)F-IDN-18

Path parameters

sessionIdrequiredstring (uuid)

Responses

204Revoked.

No body.

Errors401404409429One problem shape

#Sign out of all other sessions and clear trusted devices

POST/me/sessions/revoke-others
Session (app only)Idempotency-KeyF-IDN-18

Headers

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Responses

200How many sessions and trusted devices were revoked.application/json
Errors401409429One problem shape

#The account's sign-in methods and their usability in the route's tenant

GET/me/sign-in-methods
Session (app only)F-IDN-17

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

Responses

200Password, Google, Microsoft and SAML rows.application/json

#Unlink a Google or Microsoft identity

DELETE/me/sign-in-methods/{identityId}
Session (app only)F-IDN-17

Path parameters

identityIdrequiredstring (uuid)

Responses

204Unlinked.

No body.

Errors401403404409One problem shape

#The tenant session document — member, teams, areas, capabilities, availability, realtime and displayed settings

GET/me/tenant
Session (app only)F-WSP-01

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The session document.application/json
Errors403404One problem shape

#The member's tokens in the current tenant

GET/me/tokens
Session (app only)F-IDN-26

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200Tokens without secrets.application/json
Errors403404One problem shape

#Create a token; the secret is shown once

POST/me/tokens
Session (app only)Idempotency-KeyF-IDN-26

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The token and its plaintext secret (only now).application/json
Errors401403404422One problem shape

#Revoke one of the member's tokens

DELETE/me/tokens/{tokenId}
Session (app only)F-IDN-26

Path parameters

tokenIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Revoked; the next call with it answers 401.

No body.

#The member's Getting started tour — current step, step states and visibility

GET/me/tutorial
Session (app only)F-WSP-09

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The tour.application/json

#Report a completing action the server cannot observe (opening a ⌘K result — step 5)

POST/me/tutorial/actions
Session (app only)F-WSP-09

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

200The tour after the action.application/json
Errors404422One problem shape

#Skip one step ("Next") or, without a step, skip the whole tour (Dismiss, Skip tour)

POST/me/tutorial/skip
Session (app only)F-WSP-09

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/json

Loading the schema…

Responses

200The tour after the skip.application/json
Errors404409One problem shape

#The account's 2FA state and the route tenant's requirement

GET/me/two-factor
Session (app only)F-IDN-15

Headers

X-Kanso-Tenantstring (uuid)

The current tenant for /me operations that read or write membership-level fields (job title, default project, usability per tenant).

Responses

200Enrolment, requirement and recovery-code count.application/json

#Turn 2FA off where no tenant requires it

DELETE/me/two-factor
Session (app only)F-IDN-15

Responses

204Enrolment, recovery codes and trusted devices removed.

No body.

Errors401409One problem shape

#Confirm the pending secret; first enrolment returns recovery codes once

POST/me/two-factor/confirm
Session (app only)F-IDN-15

Request body application/jsonrequired

Loading the schema…

Responses

200The new 2FA state, and the eight codes on a first enrolment.application/json
Errors401409422429One problem shape

#Which codes are used and how many remain (never the codes)

GET/me/two-factor/recovery-codes
Session (app only)F-IDN-16

Responses

200The status of the current set.application/json
Errors401409One problem shape

#Replace the set; the new codes are shown once

POST/me/two-factor/recovery-codes/regenerate
Session (app only)Idempotency-KeyF-IDN-16

Headers

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Responses

201Eight new codes (shown once); every earlier code is revoked.application/json
Errors401409One problem shape

#Issue a pending secret to add or replace the authenticator

POST/me/two-factor/setup
Session (app only)F-IDN-15

Responses

201The pending secret, valid 10 minutes.application/json
Errors401429One problem shape

#Release notes, newest first, with the member's unseen count and the help centre URL

GET/me/whats-new
Session (app only)F-WSP-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The panel's content.application/json

#Mark every current release note as seen by the member

POST/me/whats-new/seen
Session (app only)F-WSP-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Marked.

No body.

#The members of the tenant that have an avatar, with each version (R12) — the UI asks an image only for these

GET/member-avatars
Session (app only)F-IDN-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200An internal member gets the active internal members with an avatar; a client guest gets only themself (or nothing). Ids and versions only.application/json
Errors401404One problem shape

#The caller's notifications in the current tenant, newest first, 20 per page, with the unread count

GET/notifications
Session (app only)F-NOT-01

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

filter[state]string

The "Show" tab (G-N1; the Inbox connect, 22 Nov 2026): unread — the unread rows shown now; snoozed — the rows snoozed past now (hidden from the other lists until then). Absent or all: every row shown now.

One of: all unread snoozed

qstring

"Filter notifications" (XM-762): 1–100 characters matched case-insensitively as a part of the actor's name, the target key, the excerpt or a stored title. A hidden row never matches.

Min length 1 · Max length 100

includestring

counts adds meta.counts (the tab numbers) to the first page (GAP-NOT-03).

One of: counts

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200One page and the unread count.application/json
Errors400401404One problem shape

#Mark one notification read (opening a row does this)

POST/notifications/{notificationId}/read
Session (app only)F-NOT-01

Path parameters

notificationIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204The row is read.

No body.

Errors403404One problem shape

#Hide an unread notification until a time; it returns unread

POST/notifications/{notificationId}/snooze
Session (app only)F-NOT-01

Path parameters

notificationIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

200The snoozed row with its time.application/json
Errors403404422One problem shape

#Bring a snoozed notification back now

DELETE/notifications/{notificationId}/snooze
Session (app only)F-NOT-01

Path parameters

notificationIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204The row is unread and visible.

No body.

Errors403404One problem shape

#Mark one notification unread again

POST/notifications/{notificationId}/unread
Session (app only)F-NOT-01

Path parameters

notificationIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204The row is unread.

No body.

Errors403404One problem shape

#Mark every unread notification of the caller in this tenant read

POST/notifications/read-all
Session (app only)F-NOT-01

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Every row is read.

No body.

Errors401403404One problem shape

Was this helpful?