# Youniton Docs: all pages Source: https://docs.youniton.com/llms.txt. Each part starts with the address of its page. --- Page: https://docs.youniton.com/guides/account-and-security Markdown: https://docs.youniton.com/guides/account-and-security.md # Account and security How to manage your Youniton password, two-factor authentication, recovery codes, sessions and tokens, and how an Admin manages people, roles and sign-in rules. **For:** Admin, Product manager, Developer, Viewer, Client guest ## Change your password 1. Open the account menu and select **Security**. 2. In the row Password, select **Change**. 3. Confirm who you are. 4. Type the new password. Result: All your other sessions end. If you sign in with Google or Microsoft only, the row shows **Set a password**. ## Set up two-factor authentication 1. Open Account › Security. 2. Select **Set up** in the row of two-factor authentication. 3. Scan the QR code with your authenticator app, or type the setup key. 4. Type the 6-digit code from the app. Result: Two-factor authentication is on. 5. Copy or download your eight recovery codes. Result: Youniton shows the codes one time. - **Manage** replaces your authenticator app with a new one. - **Turn off** is available only when no workspace of yours makes two-factor authentication necessary. - **View codes** shows how many recovery codes are left. **Regenerate codes** makes eight new codes and stops the old codes. ## If you do not have your phone 1. On the code page, select **Use a recovery code**. 2. Type one of your recovery codes. Result: You are signed in. The code cannot be used again. If you have no recovery code, select **Lost your authenticator?** and follow the steps. The Admin of your workspace is told about the request. ## Your sign-in methods Account › Security › Sign-in methods lists the ways that you sign in: your password, Google, Microsoft and single sign-on. - **Link** adds Google or Microsoft. The e-mail of that account must be the same as your Youniton e-mail. - **Unlink** removes a method. You cannot remove your last method. - The row of single sign-on is managed by your workspace. ## Your sessions 1. Open Account › Sessions & apps. 2. Read the list **Active sessions**. Result: Each row shows the browser, the place and the time. "This device" is your current session. 3. Select **Sign out** on a session that you do not know. 4. Select **Sign out of all other sessions** if you are not sure. Result: The trusted devices are also cleared. > *Illustration: Active sessions.* Chrome on macOS · This device · iPhone · Youniton app · 2h ago · Sign out ## Go to a different workspace Select the tenant name in the header. The list shows your workspaces, with a mark on the current one. Select a workspace to open it. ## For the Admin: manage people Administration › Members lists members, client guests and pending invitations, with the role, the teams, the status of two-factor authentication and the last activity. 1. Select **Manage** on the row of a person. Result: A side panel opens. 2. Change the role, the job title or the weekly capacity. 3. Select **Reset 2FA** when the person must set up a new authenticator. 4. Select **Remove from tenant** when the person leaves. Result: Youniton shows what the person owns, for example agents, before you confirm. In Administration › Teams, **+ New team** makes a team. On a team, use **Add members**, and **Make lead** or **Remove from team** in the row menu. ## For the Admin: roles and access 1. Open Administration › Roles & access. 2. Select a role. Result: The editor shows the rules of the role as sentences, and the number of members with the role. 3. Change the rules. Result: Youniton keeps your changes as a draft. 4. Select **Save role**. 5. Read the effect on the members and confirm. Result: The new rules apply immediately to each person with the role. **+ New role** makes a role from a template: **Agency client**, **Internal stakeholder**, **Contractor**, **Read-only auditor** or **Blank role**. You can also copy a role. The role Admin is locked. **Discard** removes your draft. ## For the Admin: the sign-in rules Open Administration › Security & sign-in. | Panel | What you set | |---|---| | Two-factor authentication | **Required for everyone**, **Required for admins** or **Optional**. The panel shows how many members are enrolled. | | Sessions | The maximum length of a session and the idle time. **Sign everyone out** ends all sessions but yours. | | API tokens | If members can make tokens, and the maximum life of a token. | | Sign-in methods | The methods that the workspace permits: e-mail and password, Google, Microsoft and SAML single sign-on. | > **Each change is recorded** > > Youniton writes an audit record for each change of a role, a member and a sign-in rule. ## Who can do what | Role | What this role can do | |---|---| | Each person | Manages the person's own profile, password, two-factor authentication, sign-in methods and sessions. | | Each member | Makes the member's own API tokens. | | Product manager | Invites Developers, Viewers and clients into the projects of the person's own teams. | | Admin | Invites and manages all people. Manages teams, roles and the sign-in rules. | --- Page: https://docs.youniton.com/guides/getting-started Markdown: https://docs.youniton.com/guides/getting-started.md # Getting started with Youniton Accept your invitation, sign in, set your profile, create your first ticket and log your first time in Youniton. **For:** Admin, Product manager, Developer, Viewer, Client guest ## Accept your invitation You get an account by invitation only. A person of your company or of your supplier invites you by e-mail. 1. Open the link in the invitation e-mail. Result: The page shows who invited you, the workspace and your role. 2. Select Microsoft, Google or single sign-on, or create a password. Result: The page shows only the methods that the workspace permits. 3. Set up two-factor authentication when the page asks for it. 4. Read the first screen. Result: A member sees the workspace. A client guest sees the client portal. > **One account for all workspaces** > > If you have an account in a different workspace, select **Sign in to accept**. The new workspace is added to the same account. ## Sign in 1. Open the sign-in page of Youniton. 2. Type your work e-mail and your password, then select **Sign in**. As an alternative, select **Continue with Google**, **Continue with Microsoft** or **Use single sign-on (SSO)**. 3. Type the 6-digit code from your authenticator app when the page asks for it. 4. Keep **Trust this device for 30 days** selected on your own computer only. Result: This browser does not ask for the code for 30 days. If you do not know your password, select **Forgot password?** and type your work e-mail. The link in the e-mail is valid for one hour and you can use it one time. > *Illustration: The sign-in methods.* Sign in · Continue with Google · Continue with Microsoft · Use single sign-on (SSO) ## Find your way in the workspace | Part | What it does | |---|---| | The tenant name in the header | Opens the list of your workspaces. Select a workspace to go to it. | | **Create** in the header | Opens the dialog **New ticket** from each workspace screen. The shortcut is the key C. | | **Ask** in the header | Opens the project chat of the assistant. | | The search, ⌘K | Finds tickets, doc pages and knowledge that you can read. | | The bell | Shows your notifications, for example a ticket that is assigned to you. | | **Work** in the project sidebar | Opens the board, the backlog, the epics, the timeline and the calendar of the project. | | **My time** in the sidebar | Opens your worklogs of the week. | | **Documents** | Opens the document spaces that you can read. | ## Set your profile and preferences 1. Open the account menu and select **Profile**. 2. Type your full name and your job title. 3. Select your time zone and your language. 4. Select **Save changes**. 5. In the panel Preferences, set **Start week on**, **Time format** and **Default project**. Result: Each preference is saved immediately. The week start sets the first day of the calendar and of the time grid. The default project opens after you sign in. ## Create your first ticket 1. Select **Create** in the header, or push the key C. 2. Select the project. 3. Type the title. 4. Select **Create ticket**. Result: A message shows the key of the new ticket, for example "ORB-137 created · Open". The ticket is in the first stage and at the end of the backlog. The guide [Work](https://docs.youniton.com/guides/work.md) gives the other fields. ## Log your first time 1. Open the account menu and select **Log time →**. 2. Select a ticket. 3. Type the duration, for example `1h 30m`. 4. Save the worklog. Result: The total of today and the total of the ticket change. ## For the Admin: prepare the workspace The administration overview shows the setup checklist. The checklist has five items and a counter "n of 5". Each item opens the section that owns it. | Checklist item | Where you do it | |---|---| | Identity provider connected | Administration › Security & sign-in | | 2FA required for admins | Administration › Security & sign-in › Two-factor authentication | | Client sharing policy reviewed | The page Client sharing of a project | | Repositories connected | Administration › Integrations › Repositories | | AI limits set | Administration › AI limits | 1. Open Administration › Members and select **+ Invite**. 2. Type the e-mail addresses. 3. Select one role, and optionally a team and the projects. 4. Send the invitations. Result: Each address gets its own link. The table shows the invitation as pending until the person accepts. 5. Open Administration › Teams and select **+ New team** to make a team. ## The default roles A workspace has four default roles for members and a role for clients. An Admin can change the rules of a role and can make new roles in Administration › Roles & access. | Role | What this role can do | |---|---| | Admin | Does all tasks: administration, roles, security, finance settings and all project work. | | Product manager | Plans sprints and epics, shares work with the client, asks for client approval, approves timesheets and manages the automation of the project. | | Developer | Creates and changes tickets, moves cards, writes comments, edits doc pages and logs time. Does not see rates or money. | | Viewer | Reads the project. Does not change tickets and does not log time. | | Client guest | Uses the client portal only: reads shared tickets and documents, replies, adds files and decides approvals. | --- Page: https://docs.youniton.com/ Markdown: https://docs.youniton.com/index.md # Youniton documentation Guides for each area of Youniton, help for clients, the API reference and the changelog. Each page is also available as Markdown for AI agents. ## Start here - [Getting started](https://docs.youniton.com/guides/getting-started.md): Accept your invitation, sign in and do your first work. - [Help for clients](https://docs.youniton.com/clients/index.md): Approve work, reply, read documents and send requests in the client portal. - [API quickstart](https://docs.youniton.com/api/quickstart.md): Create a token and make your first call in five minutes. ## Guides by area - [Work](https://docs.youniton.com/guides/work.md): The board, the backlog, sprints, epics, the timeline, the calendar and the ticket panel. - [Time and finance](https://docs.youniton.com/guides/time-and-finance.md): Log time, approve timesheets, set rates, plan a budget and read the cashflow. - [Docs and memory](https://docs.youniton.com/guides/docs-and-memory.md): Write and publish pages in spaces. Keep notes and decisions for people and agents. - [Client portal](https://docs.youniton.com/guides/client-portal.md): What the client sees and does. How the team shares work and asks for approval. - [Help desk](https://docs.youniton.com/guides/help-desk.md): Requests from clients, the triage queue, the four decisions and service levels. - [Automation](https://docs.youniton.com/guides/automation.md): Rules and flows: triggers, actions, tests, runs and webhooks. - [AI assistant](https://docs.youniton.com/guides/assistant.md): The assistant panel, the project chat with sources, workflows and the approval of changes. - [Integrations](https://docs.youniton.com/guides/integrations.md): Git repositories, calendars, API tokens, agents and the import from Jira. ## For developers - [API introduction](https://docs.youniton.com/api/index.md): The tokens, the conventions and the guides for scripts and integrations. - [API reference](https://docs.youniton.com/api/reference/index.md): Every operation of the public API, by module, with the abilities that a token needs. - [API changelog](https://docs.youniton.com/api/changelog.md): The changes to the public API. ## For AI agents Each page of these docs is also available as clean Markdown. An agent can read the docs without the page design. - Add `.md` to the address of a page, for example [/guides/work.md](https://docs.youniton.com/guides/work.md). For an address that ends with `/`, add `index.md`. - Or send the header `Accept: text/markdown`. The server then sends the Markdown of the page. - [/llms.txt](https://docs.youniton.com/llms.txt) lists all pages with their Markdown links. [/llms-full.txt](https://docs.youniton.com/llms-full.txt) holds all pages in one file. - [/openapi.json](https://docs.youniton.com/openapi.json) is the public OpenAPI contract of the API reference. --- Page: https://docs.youniton.com/clients/ Markdown: https://docs.youniton.com/clients/index.md # Help for clients How a client works in the Youniton client portal: approve work, reply, read documents and messages, send and follow requests, and keep your account safe. Your supplier invited you to the client portal. This page tells you how to do each task there. You see only the work that your supplier shares with you. ## The portal The portal has four tabs: **Overview**, **Tickets**, **Approvals** and **Documents**. You see only the work that the team shared with you. > *Illustration: The tabs of the client portal.* Overview · Tickets · Approvals · Documents - **Overview** shows the status of the project, the list "Waiting for you", your contact and the tickets that changed recently. - **Tickets** is a list of all shared tickets, with the status, the due date and the last update. - **Approvals** shows the requests that wait for a decision of your organisation, and the decisions that were made. - **Documents** shows the published pages and the files that the team shared. On your first visits, three short hints show you where to approve, where to reply and where to read documents. You can skip each hint. ## Approve work or request changes 1. Open **Overview** or **Approvals**. 2. Select **Review** on the request. Result: The ticket page opens with the panel Approval. The panel shows who asked and what approval means. 3. Read the ticket and its files. 4. Optionally type a note. 5. Select **Approve** or **Request changes**. Result: The team gets a notification. The panel shows the decision. If you are not a reviewer of the request, the panel shows "Waiting for" and the name of the reviewer. > *Illustration: The approval panel on a ticket page.* Approving means: the design is final. · Approve · Request changes ## Reply and add a file 1. Open a ticket in **Tickets**. 2. Type your message in the field below the conversation. 3. Send the reply. Result: The team sees your reply on the ticket and gets a notification. 4. Select **Add a file** to attach one or more files. Result: Youniton scans each file before a person can download it. You can edit your reply for a short time with **Edit**, and you can remove it with **Delete**. One file can be 250 MB at most. The notes that the team writes for itself are not shown in the portal. ## Documents, messages and your account - In **Documents**, select **Open** to read a page. You always read the last published version. Select **Download** to get a file. - On the card "Your contact", select **Message** to write to the team in the tab Messages. - The account menu has **Your portals**, **Profile**, **Email notifications**, **Security**, **Help** and **Sign out**. - If you work with more than one project, select **Your portals** to go to a different portal. ## Send a request 1. Open the tab **Requests** in the client portal. 2. Select **New request**. 3. Select a category. 4. Type a summary and a description. 5. Select the impact. 6. Fill in the other fields of the form and add files if they help. 7. Send the request. Result: The request gets a key, for example ORB-R17, and it is in your list immediately. > *Illustration: A request in the list of the client.* ORB-R17 · Gift cards fail at checkout ## Follow a request - The tab **Requests** lists your requests with their status. When the project permits it, you also see the requests of your organisation. - Select **Reply** on the request page to answer a question of the team. - Select **Withdraw request** to stop an open request. - On a closed request, select **Send a follow-up** to start a new request that refers to it. - When the team accepts the request, the page shows the key and the status of the ticket. ## Change your password 1. Open the account menu and select **Security**. 2. In the row Password, select **Change**. 3. Confirm who you are. 4. Type the new password. Result: All your other sessions end. If you sign in with Google or Microsoft only, the row shows **Set a password**. ## Set up two-factor authentication 1. Open Account › Security. 2. Select **Set up** in the row of two-factor authentication. 3. Scan the QR code with your authenticator app, or type the setup key. 4. Type the 6-digit code from the app. Result: Two-factor authentication is on. 5. Copy or download your eight recovery codes. Result: Youniton shows the codes one time. - **Manage** replaces your authenticator app with a new one. - **Turn off** is available only when no workspace of yours makes two-factor authentication necessary. - **View codes** shows how many recovery codes are left. **Regenerate codes** makes eight new codes and stops the old codes. ## If you do not have your phone 1. On the code page, select **Use a recovery code**. 2. Type one of your recovery codes. Result: You are signed in. The code cannot be used again. If you have no recovery code, select **Lost your authenticator?** and follow the steps. The Admin of your workspace is told about the request. ## Your sessions 1. Open Account › Sessions & apps. 2. Read the list **Active sessions**. Result: Each row shows the browser, the place and the time. "This device" is your current session. 3. Select **Sign out** on a session that you do not know. 4. Select **Sign out of all other sessions** if you are not sure. Result: The trusted devices are also cleared. > *Illustration: Active sessions.* Chrome on macOS · This device · iPhone · Youniton app · 2h ago · Sign out ## More help - [The client portal guide](https://docs.youniton.com/guides/client-portal.md): also the parts for the team. - [The help desk guide](https://docs.youniton.com/guides/help-desk.md): how the team decides on a request. - [Account and security](https://docs.youniton.com/guides/account-and-security.md): two-factor authentication and sessions. --- Page: https://docs.youniton.com/guides/assistant Markdown: https://docs.youniton.com/guides/assistant.md # The AI assistant How to use the Youniton assistant panel and the project chat: confirm exact changes, find pages, start AI workflows and set AI budgets and policy. **For:** Admin, Product manager, Developer, Viewer ## The assistant panel The assistant panel is a column at the right side of the workspace, below the header. It is 400 pixels wide on a large screen. It does not cover the page: the page becomes narrower and stays in view. On a phone, the panel uses the content area, and the page keeps its state behind it. 1. Select **Assistant** in the header, or push ⌘ J (Ctrl J on Windows and Linux). Result: The panel opens with the cursor in the message field. 2. Type what you want, for example "Create a ticket for the broken export in ORB". 3. Push Enter to send. Push Shift and Enter to add a line. 4. Read the lines below the answer. Result: Each line names one check that the assistant made, for example "Checked where you can create tickets · 3 projects". 5. Push ⌘ J again, select **Close** or push Escape to close the panel. The panel stays open while you go from page to page. You can move its edge to make it wider or narrower. **New conversation** starts a new conversation. **Stop** stops an answer. > **The assistant works with your own permissions** > > Each read and each change is a call of the public API, the same API that the screens use, and Youniton runs the call as you. Thus the assistant never gives more information than you can access. **It changes something only after you confirm.** When you ask for a change, the panel shows a card with the exact fields, the project and your name. A value that you did not give has the mark "default". Nothing is written before you select the action button of the card. > *Illustration: A confirmation card in the assistant panel.* Project · ORB · Orbit Retail · Title · Export fails for large files · Priority · Medium · as Maya Castillo · Create ticket · Change · Cancel - The action button has the name of the action, for example **Create ticket**. Select it to make the change. A second click does not make a second ticket. - **Change** puts the fields back into the conversation, and you can correct a value. **Cancel** stops the change. - After the change, the panel shows a receipt with a link to the new or changed object. - If the object changed while you read the card, the assistant reads it again and shows a new card. It never writes on top of the other change. - If a fact is missing, the assistant asks you. The answer buttons show only the projects where you have the necessary right. - A card is valid for 15 minutes. **It tells you where to find a page.** Ask "Where do I set the AI limits?". The answer gives the place in the navigation and a direct link. The assistant names only the pages that you can open. **It refuses what you cannot access.** A thing that does not exist and a thing that you cannot open get the same answer, for example "I can't find a project with this name that you can open". When your role does not permit an action, the assistant tells you your role in that project. | The assistant never does these tasks | Do them on their own screens | |---|---| | Changes of identity and sign-in | Account › Security, or Administration › Security & sign-in | | Changes of roles and permissions | Administration › Roles & access | | A purge or an erasure of data | The administration | | A decision in the name of a client | The client decides in the client portal. | | Messages to many outside recipients in one step | No assistant action | | A read of an outside web address | No assistant action. Links in an answer go to Youniton pages only. | | API tokens and connected apps | Account › Sessions & apps | While you use **View as client**, the assistant makes no change. While a Youniton operator works in your workspace with support access, the assistant is off: Youniton refuses each assistant message in that session. A client guest gets the panel in the portal only when the workspace, the client role and the project all permit it. ## Ask about a project 1. Select **Ask** in the header, or open the project chat. 2. Type your question, for example "Which tickets wait for the client?". 3. Read the answer. Result: The answer shows while the assistant writes it. 4. Select a chip below **Sources** to open the ticket, the doc page or the repository item that the answer uses. The line above the chat names the sources of the project, for example "Tickets · Docs · atlas-web". The assistant uses only the data that you can read. Your conversation is there when you open the chat again. > *Illustration: An answer with its sources.* Three tickets wait for the client. · Sources ## Use the suggestions An empty conversation shows ready questions, for example **Summarise sprint 14**, **Draft release notes** and **Which tickets are over estimate?**. Select one to send it. The numbers and the lists of these answers come from the project data directly. ## The AI budget of the project The line below the chat shows the use of the month, for example "Project AI budget · 1.26M of 2.0M tokens used this month · resets 1 Nov". The budget starts again on the first day of each month. ## Start a workflow A workflow is a larger task with a fixed scope, for example "Propose follow-up tickets for ORB from the open work". 1. Open Project › Workflows. 2. Select **Start** on a workflow. 3. Read its scope, its result and the actions that it can propose. 4. Fill in the parameters. 5. Name the approvers. 6. Start the workflow. Result: The run view opens and shows each step. You can close the tab. The run continues, and Project › Workflows › History lists your runs. ## Approve or reject a proposed change When a workflow gets to a change, it stops and makes a proposal. The proposal shows the exact action, each item, the values before and after, and who will see the result. 1. Open the notification, the run view or the approvals inbox. 2. Read the proposal. 3. Approve or reject it. Result: After an approval, Youniton makes exactly that change, one time. > **The assistant never approves** > > Each change of a ticket or of other business data waits for a person. If the target changed after the proposal, the proposal is not valid and the workflow makes a new one. ## Stop, cancel or try again - **Stop** in the chat stops an answer. - **Cancel** in the run view stops a run. The run lists the changes that were made before the stop. - **Try again** starts a new run for a run that failed. ## The assistant in other areas | Area | What the assistant does | |---|---| | Help desk | **Suggest a decision** on a request makes one proposal for the triager. When the Admin includes requests in the sources, the chat can also cite them. | | Automation | The action "Start an AI workflow" starts a workflow from a rule or on a schedule. The proposals wait for the named approvers. | | Project memory | The chat uses the knowledge of the project and answers only from the segments that you can read. | | Client portal | A client gets **Ask** in the portal when the workspace, the client role and the project all permit it. The answers use client-visible content only. | ## For the Admin: limits and policy Open Administration › AI limits. | Tab | What you set | |---|---| | **Tenant budget** | Read the token pool of the month, the use, the date of the reset and the part that is given to projects. | | **Per project** | Set the switch **Enabled** and the limit of the month for each project. A project with the switch off has no assistant. | | **Policy** | Three switches, all off by default: **Clients can use project chat**, **Include internal comments as sources** and **Log prompts to audit log**. | ## Who can do what | Role | What this role can do | |---|---| | Each member | Uses the assistant panel. The panel can do only what the role of the person permits. | | Admin, Product manager, Developer | Ask the chat, start workflows and decide proposals as a named approver. | | Viewer | Asks the chat. Cannot start a workflow that proposes changes. | | Admin | Sets the budgets and the policy. | | Client guest | Asks in the portal when the three settings permit it. | --- Page: https://docs.youniton.com/guides/automation Markdown: https://docs.youniton.com/guides/automation.md # Automation How to build, test, enable and follow automation rules and flows in Youniton: triggers, actions, dry runs, run history, webhooks and approvals. **For:** Admin, Product manager ## Find the automations Project › Automation lists the automations of one project. Administration › Automation lists those of the workspace. Each row shows the name, the trigger, the status, the owner, the last run and the recent failures. > *Illustration: The statuses of a rule.* Each member of a project can read its automations. Thus each person can see why a ticket moved. ## Start from a template 1. Open Automation › Templates. 2. Select a template, for example "Move the ticket after a client decision" or "Request triage". 3. Select **Use on a project**. Result: Youniton makes a draft. The draft does nothing until you enable it. 4. Read the draft and change it where necessary. ## Build a rule A rule is one sentence: when a trigger occurs, if the conditions are true, then do the actions. > *Illustration: The sentence of a rule.* When · if · then 1. Open Project › Automation and make a new rule. 2. In **When**, select the trigger and its filters, or a schedule. 3. Add the conditions. Put them in a group "all" or "any". 4. Add one to ten actions, in sequence. 5. Read the sentences below the rule. Result: Youniton tells you in words what is not valid. | Part | Examples | |---|---| | Triggers | A ticket is created or moved. A field changes. A comment is posted. A client approval is requested or decided. A merge request changes its state. A sprint starts or completes. A document version is published. | | Schedules | Each day, each week, each month or each n hours, in the time zone that you select. | | Actions | Move a ticket. Set a field. Assign. Change labels. Create a ticket. Write an internal or a client comment. Set the client visibility. Notify. Send a webhook. Start an AI workflow. | ## Test before you enable 1. Open **Dry run** in the builder. 2. Select one of the last events, or select a ticket. 3. Select **Simulate draft**. Result: The result shows if the trigger agrees, the result of each condition and the effect of each action. > **A dry run changes nothing** > > A dry run does not write, does not send a message and does not start a run. ## Enable, pause and transfer 1. Select **Activate…** in the builder. Result: The draft becomes a new version, and you become the owner of the rule. 2. Select **Pause** to stop the rule. 3. Select **Enable…** to start a paused rule again. 4. Select **Versions** to read each version of the rule. A rule acts with the current access of its owner. It cannot do more than its owner can do. A rule pauses automatically when its owner loses the right to manage automation or leaves, or when it fails too frequently. The owner and the Admins get a notification. An Admin uses **Transfer owner** to name a new owner. ## Read the runs and try again The tab **Runs** of a rule shows each run: the trigger, the subject, the status and the result of each step. On a ticket, the activity shows "by automation" with the name of the rule and its owner. 1. Open a run that failed. 2. Read the reason of each step. 3. Try the run again. Result: The steps that were successful are not done a second time. ## Build a flow on the canvas A flow is an automation with branches. The canvas shows each step as a box. Youniton draws all lines. 1. Select **+** on the canvas to add a step. 2. Select a box to open its side panel and set the step. 3. Add an AI step where a model must read text or make a decision. 4. Add an approval step where a person must agree with an exact change. 5. Open the tab **Test run**. Select **Pretend AI answers** or **Ask the AI**. Result: The canvas shows the path. Nothing changes. - An approval step waits for the named person. The request is in **My approvals**. - A step that asks for values puts a task in **My tasks**. - A hand-off step gives the item to a person or a team, with a summary. - On a phone, the canvas is read-only. ## Webhooks | Direction | What you do | Where | |---|---|---| | Outbound | Add an HTTPS endpoint. A rule sends signed deliveries to it. You can send a test, read the delivery log and send a delivery again. | Administration › Automation › Webhooks | | Inbound | Add an endpoint. An outside system starts a flow with a signed call. | Administration › Automation › Inbound | Youniton shows the secret of an endpoint one time. When you rotate a secret, the old secret stays valid for 24 hours. ## For the Admin: settings and limits Administration › Automation › Settings holds the limits of the workspace: the rate of a rule for each hour, the failure threshold, the time that the run history is kept, and if webhooks are on. The usage panel shows the enabled rules, the runs of today and the endpoints against the limits of the plan. Administration › Automation › Waiting runs lists the runs that wait for a person, and lets an Admin cancel a run. ## Who can do what | Role | What this role can do | |---|---| | Admin | Builds and manages the automations of the workspace and of each project. Manages webhooks and settings. | | Product manager | Builds, tests, enables and pauses the automations of the projects that the person manages. | | Developer, Viewer | Read the automations of the project and their runs. | --- Page: https://docs.youniton.com/guides/client-portal Markdown: https://docs.youniton.com/guides/client-portal.md # The client portal How a client uses the Youniton client portal, and how the team shares tickets and documents, asks for approval and checks the client view. **For:** Client guest, Product manager, Admin ## For clients: the portal The portal has four tabs: **Overview**, **Tickets**, **Approvals** and **Documents**. You see only the work that the team shared with you. > *Illustration: The tabs of the client portal.* Overview · Tickets · Approvals · Documents - **Overview** shows the status of the project, the list "Waiting for you", your contact and the tickets that changed recently. - **Tickets** is a list of all shared tickets, with the status, the due date and the last update. - **Approvals** shows the requests that wait for a decision of your organisation, and the decisions that were made. - **Documents** shows the published pages and the files that the team shared. On your first visits, three short hints show you where to approve, where to reply and where to read documents. You can skip each hint. ## For clients: approve work or request changes 1. Open **Overview** or **Approvals**. 2. Select **Review** on the request. Result: The ticket page opens with the panel Approval. The panel shows who asked and what approval means. 3. Read the ticket and its files. 4. Optionally type a note. 5. Select **Approve** or **Request changes**. Result: The team gets a notification. The panel shows the decision. If you are not a reviewer of the request, the panel shows "Waiting for" and the name of the reviewer. > *Illustration: The approval panel on a ticket page.* Approving means: the design is final. · Approve · Request changes ## For clients: reply and add a file 1. Open a ticket in **Tickets**. 2. Type your message in the field below the conversation. 3. Send the reply. Result: The team sees your reply on the ticket and gets a notification. 4. Select **Add a file** to attach one or more files. Result: Youniton scans each file before a person can download it. You can edit your reply for a short time with **Edit**, and you can remove it with **Delete**. One file can be 250 MB at most. The notes that the team writes for itself are not shown in the portal. ## For clients: documents, messages and your account - In **Documents**, select **Open** to read a page. You always read the last published version. Select **Download** to get a file. - On the card "Your contact", select **Message** to write to the team in the tab Messages. - The account menu has **Your portals**, **Profile**, **Email notifications**, **Security**, **Help** and **Sign out**. - If you work with more than one project, select **Your portals** to go to a different portal. ## For the team: invite a client 1. Open the page Client sharing of the project. 2. Select **+ Invite client**. 3. Type the e-mail address of the client. 4. Send the invitation. Result: The table **Client guests** shows the guest as Pending until the person accepts. A client guest belongs to one project. The row of a guest has the actions **Manage**, **Resend** and **Revoke**. **Remove from this project** stops the access of the guest to the portal immediately. ## For the team: share work with the client | To share | Do this | |---|---| | A ticket | Set the switch **Client visible** to on in the ticket panel. | | A file of a ticket | Change the label of the file to **Shared with client**. | | A message | Write the comment in the **Client thread**. | | A doc page | Select **Share with client** on the page, then **Publish**. | | A knowledge item | Select **Share with the client** on the item page. | > **The client sees published text only** > > The client always reads the last published version of a doc page. A draft is never shown. Internal comments, worklogs and the changes of internal fields are never shown. ## For the team: ask the client for approval 1. Open a ticket that is client visible. 2. Select **Request approval** in the panel head. 3. Type one line that tells the client what approval means. 4. Select the reviewers: each client guest of the project, or the guests that you name. 5. Optionally set a decision date and add the published documents that the decision includes. 6. Send the request. Result: The reviewers get a notification in the portal and by e-mail. One ticket has one open request at most. If the ticket changes after you send the request, the request shows "Changed since requested" and you send it again. You can withdraw an open request. The list of pending approvals opens from "Awaiting client approval" on the dashboard. It shows the ticket, the requester, the client, the time and the decision date. From this list, you can remind the client. ## For the team: see the portal as the client 1. Select **View as client** on the project overview, or **Client portal preview** in the project sidebar. Result: The portal opens with the banner "Viewing as client · read-only". 2. Go through the tabs of the portal. 3. Select **Exit** in the banner. The preview shows the portal as a client role sees it. All actions are disabled, and nothing is written in the name of a client. ## For the Admin: the brand of the portal 1. Open Administration › Client portal › Branding. 2. Add your logo. 3. Select your accent colour. 4. Save. Result: Each client of your workspace sees your logo and your colour on each portal page. ## Who can do what | Role | What this role can do | |---|---| | Client guest | Reads shared tickets and documents. Replies. Adds files. Decides approvals as a reviewer. | | Product manager | Shares tickets, files and pages of the projects that the person manages. Invites clients. Asks for approval. Opens **View as client**. | | Admin | Does all tasks of the Product manager for each project. Sets the brand of the portal. | | Developer, Viewer | See which tickets are client visible and read the list of pending approvals. No sharing. | --- Page: https://docs.youniton.com/guides/docs-and-memory Markdown: https://docs.youniton.com/guides/docs-and-memory.md # Docs and project memory How to write, publish and share doc pages in Youniton spaces, and how to keep notes and decisions in project memory for people and agents. **For:** Admin, Product manager, Developer, Viewer ## Spaces and pages A space is a container of pages with its own page tree. A workspace has tenant spaces for the organisation, team spaces, and one project space for each project. Project › Docs opens the project space. 1. Select **Documents** to open the list of spaces that you can read. 2. Select a space to open its home page. 3. Open a level of the tree to see its pages. Use **All pages** in a large space. 4. Select **New space** to make a tenant space or a team space. ## Create and edit a page 1. Select **+ New page**. To put the page below a different page, select **+** on that page in the tree. 2. Select a template, for example meeting notes, a decision record, a how-to or a runbook. 3. Type the title and the text. Result: Two or more people can edit the same page at the same time. 4. Type `[[` to add a link to a different page. Use ⌘K to add a link to a ticket or a knowledge item. 5. Use Insert › File to add a file to the page. Youniton keeps the draft and records versions while you write. A link to a page or a ticket shows the current title and state of its target. ## Publish a page 1. Select **Publish** on the page. 2. Read the changes from the last published version. 3. Optionally type a note. 4. Publish. Result: The clients and the assistant read this version. **Withdraw** hides the page from clients until you publish it again. In a space, **Publish changes** lists the pages with changes that are not published, and publishes up to 50 pages in one step. > *Illustration: The states of a page.* ## Share a page with the client 1. Open the page. 2. Select **Share with client**. Result: The page gets the tag Client. 3. Select **Publish**. Result: The client reads the page in the tab Documents of the portal. 4. Select **Stop sharing** to remove the page from the portal. > **Draft text stays in the team** > > The client reads the last published version only. A change that is not published is never shown to the client. ## Rename, move, copy and delete - The page menu has **Rename**, **Move to…**, **Copy**, **Delete**, **Save as template** and **Visibility**. - In the tree, move a page to a different parent or position. A page moves with all pages below it. - **Delete** shows the pages that go to the trash. Docs › Trash › **Restore** puts them back during the retention time, 30 days by default. - **Visibility** sets who can read the page: each person in the space, or the teams, roles and people that you list. The page header shows "Visible to". ## History, comments and search - **History** lists the versions of a page. Select a version to see it next to the current text. **Compare** shows the difference between two versions. **Restore** puts a version back. - In the panel **Comments**, start a thread for the page. In the editor, select text and then **Comment** to start a thread on that text. Resolve a thread when it is done. - Type @ and a name to mention a member. - Select **Watch** on a page or a space to get a notification for new comments and new versions. - Docs › Search finds pages by their words in one space or in all spaces that you can read. ## For space admins: access, Git and public sites | Setting | What it does | |---|---| | Space settings › Access | Gives a level to each member, a team, a role or one person: viewer, editor or admin. | | Space settings › Templates | Holds the templates of the space and its default template. | | Space settings › Client portal | **Link to a project** shows the client-visible pages of the space in the portal of that project. | | Space settings › Git sync | Connects the space to a branch and a folder of a GitHub or GitLab repository. Youniton writes the pages as Markdown files, reads the changes that people push, or does the two. | | Space settings › Public site | Makes a public, read-only website from the pages that have the flag Public and a published version. | A page that changed in Git and in Youniton shows the banner "Changed in Git and in Youniton". An editor keeps one of the two texts. Public sites are off until an Admin sets them to on in Administration › Docs › Public sites. ## Project memory: add knowledge A knowledge item is one short record with a type: a note, a fact, a decision, a meeting summary, an action item, a question, a risk, feedback or a change record. 1. Open Project › Memory. 2. Select **Add**. 3. Select the type. 4. Type the title and the text. Add tags if they help. 5. Save. Result: The item gets a key, for example ORB-K12. - On the item page, **Add link** connects the item to a ticket, a doc page, a help-desk request or a web address. The ticket panel shows the item in its section Knowledge. - **Share with the client** shows the item in the tab Knowledge of the portal. - The chip "Who can see this" shows the segment of the item. A segment, for example "Sales", limits the readers to the roles, teams and people that an Admin selects. - Each change makes a new version with the name of its author. The author or a curator can retract an item and restore it. ## Record a decision 1. Open Project › Decisions. 2. Select **Record a decision**. 3. Type what was decided and why. Add who decided, the date and the alternatives. 4. Save the decision as accepted or as proposed. The text of an accepted decision is locked. To change what was decided, select **Supersede**: Youniton makes a new decision and marks the old one as superseded. The decision log lists all decisions of the project, with the newest first. ## Entries, meetings and agents The memory of a project is also a set of Markdown entries in directories. A person writes or uploads an entry. A meeting tool or an agent writes an entry at a path through the API. Each project member with the right to read memory finds the entry by its path, its title or its text. - An Admin makes an agent identity in Administration › Agents. A member can make the member's own agents in Account › Agents when the workspace permits it. - The identity has an owner, its projects, its abilities, its segments and a token. Youniton shows the secret of the token one time. - An agent connects through the agent API or through the MCP server. The identity panel shows the address and an example. - By default, an agent writes directly and each write has a full audit record. An Admin can set the mode Review in Administration › Memory. - In the mode Review, an item of an agent waits in Project › Memory › Review until a curator accepts or rejects it. ## Who can do what | Role | What this role can do | |---|---| | Admin, Product manager | Create, edit and publish pages. Share pages and knowledge with the client. Record decisions. Add knowledge. | | Developer | Creates, edits and publishes pages. Adds knowledge and records decisions. | | Viewer | Reads pages, versions and knowledge. | | Space admin | Sets the access, the templates, the Git sync, the public site and the client link of the space. | | Curator | A member with the right to curate memory: changes or retracts the items of other people and decides the review queue. | --- Page: https://docs.youniton.com/guides/help-desk Markdown: https://docs.youniton.com/guides/help-desk.md # The help desk How clients send help-desk requests in Youniton and how the team triages them: the queue, the four decisions, service levels and intake channels. **For:** Client guest, Product manager, Developer, Admin ## For clients: send a request 1. Open the tab **Requests** in the client portal. 2. Select **New request**. 3. Select a category. 4. Type a summary and a description. 5. Select the impact. 6. Fill in the other fields of the form and add files if they help. 7. Send the request. Result: The request gets a key, for example ORB-R17, and it is in your list immediately. > *Illustration: A request in the list of the client.* ORB-R17 · Gift cards fail at checkout ## For clients: follow a request - The tab **Requests** lists your requests with their status. When the project permits it, you also see the requests of your organisation. - Select **Reply** on the request page to answer a question of the team. - Select **Withdraw request** to stop an open request. - On a closed request, select **Send a follow-up** to start a new request that refers to it. - When the team accepts the request, the page shows the key and the status of the ticket. ## For the team: the triage queue Open Project › Requests. The queue shows each request with its state, its impact, the organisation, the requester, the triage owner and the service-level badges. You can filter, sort and search the queue. 1. Select a request to open it. Result: The panel shows the fields, the files, the conversation, the internal notes, the history and possible duplicates. 2. In **Triage owner**, take the request for yourself or assign a colleague. 3. Select **Reply** to write to the client. 4. Select **Internal note** to write to the team only. When a client phones or writes to you outside Youniton, select **Log a request** in the queue and fill in the request for the client. ## For the team: the four decisions | Decision | What you do | What the client sees | |---|---|---| | **Accept** | Set the type, the title, the priority, the assignee and the place of the new ticket. Select the files to copy and if the client sees the ticket. | The request is accepted, with the key and the status of the ticket. | | **Merge** | Select a ticket of the project. The possible duplicates are first in the list. | The request is part of that ticket. | | **Reject** | Type the reason. | The request is closed, with your reason. | | **Ask for information** | Type your question. | Your question. The service-level clocks stop until the client answers. | Each decision is made one time. A request that waits too long for the client closes automatically. > **A suggestion from the assistant** > > Select **Suggest a decision** on a request. The assistant reads the request, looks for similar tickets and requests, and makes one proposal. Nothing changes until a triager approves the proposal. ## Service levels Each project has two targets for each impact: the first response and the decision. The targets count working hours or calendar hours. The clocks stop while the team waits for the client. > *Illustration: The service-level badges in the queue.* 1. Open Administration › Projects & boards › Help desk › Service levels. 2. Set the two targets for each impact. 3. Select working hours or calendar hours. 4. Save. Result: The new targets apply to new requests. The triage owner gets a notification when a request becomes at risk or breached. ## For the Admin: the request form 1. Open Administration › Projects & boards › Help desk. 2. Set the form to on. 3. Type a short introduction. 4. Add the categories. Give each category a default ticket type and a default priority. 5. Add the fields of the form. 6. Set the rule for attachments. 7. Save. Result: Each save makes a new version of the form. A request keeps the version that it was sent with. ## Other ways to send a request | Channel | How it works | Where you set it up | |---|---|---| | E-mail | An e-mail from a known client contact to the mailbox of the project becomes a request. A triager releases or rejects an e-mail that Youniton holds. | Project › Help desk › E-mail | | The system of the client | A connection lets the system of one client organisation send requests to one project through the intake API. | Administration › Help desk › **New connection** | A connection has a token. Youniton shows the secret of a token one time. You can rotate the token, and you can pause or revoke the connection. The API reference gives the calls. ## Who can do what | Role | What this role can do | |---|---| | Client guest | Sends requests, replies, withdraws an open request and starts a follow-up. | | Triager | A member with the right to triage requests on the project: reads the queue, replies, writes internal notes and makes the four decisions. | | Product manager | Changes the form and the service levels of a project when the workspace permits it. Manages the mailbox. | | Admin | Changes each form, the service levels, the settings of the help desk, the connections and their tokens. | --- Page: https://docs.youniton.com/guides/ Markdown: https://docs.youniton.com/guides/index.md # Guides Guides for each area of Youniton: work, the client portal, the help desk, time and finance, docs and memory, automation, the AI assistant, integrations and your account. ## Start here - [Getting started](https://docs.youniton.com/guides/getting-started.md): Accept your invitation, sign in and do your first work. - [Account and security](https://docs.youniton.com/guides/account-and-security.md): Your password, two-factor authentication and sessions. People, roles and sign-in rules for the Admin. ## Deliver the work - [Work](https://docs.youniton.com/guides/work.md): The board, the backlog, sprints, epics, the timeline, the calendar and the ticket panel. - [Time and finance](https://docs.youniton.com/guides/time-and-finance.md): Log time, approve timesheets, set rates, plan a budget and read the cashflow. - [Docs and memory](https://docs.youniton.com/guides/docs-and-memory.md): Write and publish pages in spaces. Keep notes and decisions for people and agents. ## Work with clients - [Client portal](https://docs.youniton.com/guides/client-portal.md): What the client sees and does. How the team shares work and asks for approval. - [Help desk](https://docs.youniton.com/guides/help-desk.md): Requests from clients, the triage queue, the four decisions and service levels. ## Automate and connect - [Automation](https://docs.youniton.com/guides/automation.md): Rules and flows: triggers, actions, tests, runs and webhooks. - [AI assistant](https://docs.youniton.com/guides/assistant.md): The assistant panel, the project chat with sources, workflows and the approval of changes. - [Integrations](https://docs.youniton.com/guides/integrations.md): Git repositories, calendars, API tokens, agents and the import from Jira. ## Frequent tasks - [Plan and start a sprint](https://docs.youniton.com/guides/work.md#sprint) - [Create a ticket](https://docs.youniton.com/guides/work.md#create) - [Show a ticket to the client](https://docs.youniton.com/guides/work.md#client-visible) - [Ask the client for approval](https://docs.youniton.com/guides/client-portal.md#request-approval) - [Approve work as a client](https://docs.youniton.com/guides/client-portal.md#approve) - [Decide on a request](https://docs.youniton.com/guides/help-desk.md#decide) - [Log time](https://docs.youniton.com/guides/time-and-finance.md#log) - [Approve a timesheet](https://docs.youniton.com/guides/time-and-finance.md#approve) - [Publish a page](https://docs.youniton.com/guides/docs-and-memory.md#publish) - [Record a decision](https://docs.youniton.com/guides/docs-and-memory.md#decisions) - [Build a rule](https://docs.youniton.com/guides/automation.md#rule) - [Approve a proposed change](https://docs.youniton.com/guides/assistant.md#approve) - [Connect a repository](https://docs.youniton.com/guides/integrations.md#connect) - [Set up two-factor authentication](https://docs.youniton.com/guides/account-and-security.md#two-factor) ## Start from your role A workspace has four default roles for members and a role for clients. Your Admin can change what a role can do. | Your role | Start with | Then read | |---|---|---| | Admin | [Getting started](https://docs.youniton.com/guides/getting-started.md), the part for the Admin | [Account and security](https://docs.youniton.com/guides/account-and-security.md), [Integrations](https://docs.youniton.com/guides/integrations.md), [Time and finance](https://docs.youniton.com/guides/time-and-finance.md) | | Product manager | [Work](https://docs.youniton.com/guides/work.md) | [Client portal](https://docs.youniton.com/guides/client-portal.md), [Help desk](https://docs.youniton.com/guides/help-desk.md), [Automation](https://docs.youniton.com/guides/automation.md) | | Developer | [Work](https://docs.youniton.com/guides/work.md) | [Time and finance](https://docs.youniton.com/guides/time-and-finance.md), [Docs and memory](https://docs.youniton.com/guides/docs-and-memory.md), [Integrations](https://docs.youniton.com/guides/integrations.md) | | Viewer | [Getting started](https://docs.youniton.com/guides/getting-started.md) | [Work](https://docs.youniton.com/guides/work.md), [Docs and memory](https://docs.youniton.com/guides/docs-and-memory.md) | | Client guest | [Client portal](https://docs.youniton.com/guides/client-portal.md) | [Help desk](https://docs.youniton.com/guides/help-desk.md), [Account and security](https://docs.youniton.com/guides/account-and-security.md) | --- Page: https://docs.youniton.com/guides/integrations Markdown: https://docs.youniton.com/guides/integrations.md # Integrations How to connect GitHub and GitLab repositories, calendars, API tokens, webhooks, agents and a Jira import to Youniton. **For:** Admin, Product manager, Developer ## For the Admin: permit Git providers 1. Open Administration › Integrations › Providers. 2. Select the providers that the workspace permits: GitHub, GitLab.com or a self-managed GitLab with its address. 3. Set the rotation period of tokens. Result: The default is 90 days, with a warning 14 days before. 4. Select **Save**. ## Connect a repository 1. Select **Connect repository** in Administration › Integrations, or in the header of the project overview. 2. Select the project. 3. Select the provider. 4. Paste an access token with a limited scope: a fine-grained personal access token of GitHub, or a project or group access token of GitLab. 5. Select the repository. 6. Select **Connect**. Result: Youniton checks the token, keeps it sealed and makes the webhook. The token is never shown again. A project can have more than one repository, and one repository can serve more than one project. Each connection has its own token and its own owner. ## Link merge requests to tickets Put the key of the ticket, for example `ORB-124`, in the branch name, in the title of the merge request or in a commit message. Youniton links the merge request to the ticket. > *Illustration: A linked merge request on a card.* ORB-124 · Checkout retries - The ticket panel shows the repository, the title and the state of each linked merge request: open, merged or closed. - The rule "Move ticket to In review when a merge request is opened" moves the ticket. The rule "Move to Done when it merges" completes it when you enable it. - The activity of the ticket shows the rule, its owner and the merge request. - The two rules are in Automation, where you can pause or change them. ## Keep a connection healthy Administration › Integrations › Repositories shows one row for each project and repository, with a status in words. > *Illustration: The health of a connection.* - **Replace token** puts a new token on the connection. A paused connection starts again. - **Rotation period** sets a shorter period for one connection. - **Transfer owner** gives the connection to a different person. - **Disconnect** stops the connection. The links that exist stay on the tickets. The owner of the connection and the Admins get a notification before a token expires. ## Your calendar 1. Open the tab Calendar of a project and select **Add to Google Calendar**. Result: Youniton shows a calendar address one time. 2. Copy the address into Google Calendar, Outlook or Apple Calendar. Result: The calendar shows your due dates and the ends of sprints. 3. Select **Get a new link** to replace the address. Result: The old address stops immediately. Account › Sessions & apps › Connected apps lists the connection. **Disconnect** removes it. ## API tokens for scripts 1. Open Account › Sessions & apps › API tokens. 2. Select **Create token**. Result: Youniton asks you to confirm who you are. 3. Type a name and select the abilities of the token. 4. Select the expiry: 30, 90 or 365 days. 5. Copy the secret. Result: Youniton shows the secret one time. A token acts as you, inside its abilities. Select **Revoke** to stop a token. The API documentation gives all calls. ## Other connections | Connection | Use | Guide | |---|---|---| | Signed webhooks | Send events from Youniton to your system, or start a flow from your system. | [Automation](https://docs.youniton.com/guides/automation.md) | | Help-desk connections | Let the system of a client send requests to a project. | [Help desk](https://docs.youniton.com/guides/help-desk.md) | | Agents and the MCP server | Let an AI agent or a service read and write project memory with its own identity. | [Docs and memory](https://docs.youniton.com/guides/docs-and-memory.md) | | Git sync of a space | Keep the pages of a space as Markdown files in a repository. | [Docs and memory](https://docs.youniton.com/guides/docs-and-memory.md) | ## For the Admin: import from Jira 1. Open Administration › Projects, select the project and start the import from Jira. 2. Upload the CSV export of Jira. 3. Map each Jira status to a stage of the project, and each custom field column to a field. 4. Select **Check the file**. Result: The check shows the counts and the rows with errors. Nothing is written. 5. Start the import. Result: Youniton makes each issue one time, with its comments and epics. If you import the same file again, Youniton does not make the issues that exist a second time. ## Who can do what | Role | What this role can do | |---|---| | Admin | Permits providers. Connects and disconnects repositories for each project. Transfers owners. Imports from Jira. | | Product manager, Developer | Connect a repository to the person's own project and replace its token, with the right to connect repositories. | | Each member | Makes the member's own calendar address and API tokens. | --- Page: https://docs.youniton.com/guides/time-and-finance Markdown: https://docs.youniton.com/guides/time-and-finance.md # Time and finance How to log time, submit and approve timesheets, set rates, plan a project budget, record expenses and read the cashflow in Youniton. **For:** Admin, Product manager, Developer ## Log time 1. Select **Log time** on the page My time, in the section Time of a ticket panel, or in the account menu. 2. Select a ticket. For work without a ticket, select a category and its project, for example "Meetings". 3. Set the date. Result: Today is the default. 4. Type the duration: `4h`, `1h 30m`, `1.5h` or `90m`. 5. Optionally type a note. 6. Save. Result: The time shows in your week, on the ticket and in the activity of the project. You type the time by hand. One person can log 24 hours at most for one day. ## Your week in My time The page **My time** shows your worklogs of one week as a grid: one row for each ticket or category, one column for each day, and the totals. The head shows your total against your capacity, for example "of 40h". 1. Select ‹ or › to go to a different week. 2. Select a cell to open its entries. 3. Change, add or remove an entry, then save. Result: All totals change. 4. Select the key of a ticket to open the ticket panel. The account menu shows the total of today against your daily target, and your logging streak. ## Submit your timesheet 1. Open the panel **Approvals** on the page My time. Result: The panel lists your timesheets: one for each project and week. 2. Select **Submit for approval** on a timesheet with the status Draft or Returned. Result: The status becomes Submitted. You cannot change the entries. The approvers get a notification. 3. Select **History** to see each version of the timesheet and each decision. > *Illustration: The statuses of a timesheet.* ## Approve or return a timesheet 1. Open the page Time of the project and select the segment **Team**. Result: The list shows each project member with the capacity, the total and the status. 2. Select a member to read the entries. 3. Select **Approve**. Result: The total is frozen and the member gets a notification. 4. As an alternative, select **Return** and type a note for the member. **Reopen for filling** puts a Submitted or Approved timesheet back to Draft. You must type a reason. An approver cannot decide the approver's own timesheet. ## Team timesheets, closed periods and exports - **Team timesheets** shows the logged time of people by day or by week, grouped by team, project or client, with the billable part. - **Close period** closes a week or a month. After the close, no person can add, change or remove a worklog in that period. A banner tells members the date before the close. - In the dialog Log time, the field **For** lets a person with the right log time for a different member. The entry shows "Logged by" and the name. - **Export CSV** gives one row for each worklog, with the member, the project, the ticket, the date, the minutes and the status of the timesheet. In Administration › Time, an Admin sets the week start, the time zone, if approval is necessary, the working days, the default capacity and the categories. ## Who sees money Rates and amounts are sensitive. A member without finance access works with hours and minutes only and sees no rate and no amount. A Developer has no finance access by default. Clients never see finance data. > **Each read is recorded** > > Youniton writes an audit record each time a person reads rates or the money of a project. An Admin gives the finance rights in Administration › Roles & access: to see the finance of a project, to manage it, to see the rate card, to manage rates, and to see or manage the cashflow. ## Currencies, delivery roles and rates 1. Open Administration › Finance. 2. Set the base currency and the enabled currencies. Result: You cannot change the base currency after the first money record. 3. In **Delivery roles**, add the roles that you sell, for example "Senior developer" or "Designer". 4. In **Rate card**, type the hourly cost rate of each delivery role or member, with the date from which it applies. 5. In Project › Finance › Rates, add a rate that applies to one project only. A rate is never changed. A new rate is a new version from its date. A correction is a new version with a reason. ## Plan a project and make the budget 1. Open Project › Finance › Plan. 2. Make a draft. 3. Add lines of hours by member or by delivery role, by team and by month. Result: Youniton prices each line at the rate that applies. 4. In **Expenses**, add the costs of the plan that are not labour, for example licences, travel or subcontractors. 5. Approve the draft. Result: The draft becomes the baseline. The baseline is the budget, and its amounts are frozen. ## Costs, expenses and the comparison - When a timesheet is approved, Youniton prices each worklog at the rate of the work date. Project › Finance › Costs lists the entries. - In Project › Finance › Expenses, record a cost with its category, its date and its net amount. You can add receipts. An expense counts as actual after its approval. - Project › Finance › Overview compares the baseline, the actual cost, the time that is not approved, the estimate of the tickets, the forecast and the variance. - Finance › Portfolio shows the same figures with one row for each project. - In Project › Finance › Alerts, set the thresholds, for example 80 % and 100 % of the baseline. The finance managers of the project get one notification for each threshold. ## Spendings and the cashflow The page Finance › Cashflow shows, for each month, the money in, the money out and the balance. 1. Select **Add a spending**. 2. Type what it is and the amount. 3. Select how frequently it occurs: one time, each month or each year. 4. Select the month from which it applies. 5. Under **More**, optionally select a person, a project and a category. - **Change** on a row sets a new amount from a month on. The months before keep the old amount. - **Stop from a month on** ends a spending that repeats. - **Starting money** sets the amount from which the balance counts. - A spending with a project is a cost of that project. You can also add it on the page Finance of the project. ## Who can do what | Role | What this role can do | |---|---| | Developer | Logs time, changes the person's own entries and submits the timesheet. Sees no rates and no money. | | Product manager | Approves, returns and reopens the timesheets of the project. Manages the finance of the project: plan, expenses and alerts. | | Admin | Sets the time settings, the capacity of members, the currencies, the delivery roles, the rate card and the expense categories. Gives the finance rights. | | Viewer | Does not log time. | --- Page: https://docs.youniton.com/guides/work Markdown: https://docs.youniton.com/guides/work.md # Work: boards, backlog, timeline and tickets How to use the Youniton board, backlog, sprints, epics, timeline, calendar and the ticket panel, with the roles that can do each task. **For:** Admin, Product manager, Developer, Viewer ## The five views and the shared filters Open **Work** in the project sidebar. The tabs are **Board**, **Backlog**, **Epics**, **Timeline** and **Calendar**. The filters stay the same when you go to a different tab. > *Illustration: The view tabs and the shared filters.* Board · Backlog · Epics · Timeline · Calendar · Filter - The assignee strip shows **All**, the members with tickets, and **Unassigned**. Select a person to see only the tickets of that person. - **Client visible · n** shows only the tickets that the client can see. - **Filter** opens the filters Epic, Priority and Due. The view shows the tickets that agree with all selected filters. ## The board The board shows the tickets of the active sprint. Each stage of the project is one column. A card shows the key, the priority, the title, the epic, the logged time against the estimate, the due date and the assignee. 1. Select a card to open the ticket panel. 2. Move a card to a different column to change its stage. 3. Move a card up or down in its column to change its rank. 4. Select **By assignee** to see one lane for each person. Select **Columns** to go back. > **Without a pointer** > > Open the menu \[…\] of a card. Select **Move to column ›** or **Move up**, **Move down**, **Move to top** or **Move to bottom**. The result is the same as a move with the pointer. When a column has more tickets than its limit, the count becomes red and shows "WIP limit n exceeded". Youniton warns you, but it does not stop the move. ## The backlog and the sprint The tab **Backlog** has two parts: the active sprint, with its end date, its ticket count and its estimate total, and the ranked backlog. The filters of the backlog change only the backlog part. 1. Type in **Search backlog…** to find a ticket by its key or its title. 2. Select **Load 50 more** to see the next 50 tickets by rank. 3. Move a row in the backlog to change its rank. 4. Move a row from the backlog into the sprint part to plan it. Result: The estimate total of the sprint changes. 5. Move a row from the sprint part into the backlog to remove it from the sprint. To change many tickets, select the checkboxes of the rows. The bar shows **Move to sprint**, **Move to backlog**, **Assign**, **Set priority** and **Set epic**. The action is done for all selected tickets or for none. ## Plan, start and complete a sprint 1. Select **Plan sprint** on the board, on the backlog or on the project overview. 2. Type the name and the goal of the sprint. 3. Set the start date and the end date. 4. Select **Start sprint**. Result: The project has one active sprint. 5. At the end, open the dialog from the sprint head and select **Complete sprint**. Result: The tickets that are not done go to the top of the backlog. You can plan the next sprint while a sprint is active. Start it with **Start sprint** after the active sprint is complete. **Discard** removes a sprint that did not start, and its tickets go back to the backlog. ## Epics The tab **Epics** shows one panel for each epic: the name, the owner, the progress "done of total", the target date and the tickets. 1. Select **New epic**. 2. Type the name. Select the owner and the target date. 3. Select a value on the panel head to change the name, the owner or the dates. 4. Select **Complete epic** when the work is done. Select **Reopen** to open it again. Youniton suggests the completion when all tickets of the epic are done. The completion does not change the tickets. ## The timeline The tab **Timeline** shows the tickets of one sprint or of one epic on a week grid. Grey bars are epics. The colour of a ticket bar shows its status. 1. Select the scope in the scope selector, for example "Sprint 14". 2. Select ‹ or › to move four weeks. Select **Today** to go back to the current week. 3. Move the right edge of a bar to set the due date. 4. Move the left edge of a bar to set the start date. 5. Select a row or a bar to open the ticket panel. ## The calendar The tab **Calendar** shows each ticket on its due date. Select **Month** or **Week**. The markers "Sprint n starts" and "Sprint n ends" show the sprint dates. 1. Move a chip to a different day to change the due date. 2. As an alternative, open the menu \[…\] of the chip and select **Change due date**. 3. Select **Add to Google Calendar** to get a calendar link of your due dates and sprint ends. Result: Youniton shows the link one time. Copy it into your calendar application. ## Create a ticket 1. Select **Create** in the header, **+** on a board column, or **Add ticket** on the backlog. 2. Select the project and type the title. 3. Optionally set the description, the status, the priority, the assignee, the epic, the due date and the estimate. 4. Optionally add files. 5. Select **Create ticket**. | Where you start | Where the new ticket goes | |---|---| | **Create** in the header | The first stage, at the end of the backlog. | | **+** on a board column | The active sprint, in the stage of that column. | | **Add ticket** on the backlog | The first stage, at the end of the backlog. | ## Work with a ticket A ticket opens in a panel on top of the view that you came from. Each ticket has its own address, thus you can send a link to it. - Select a value to change it: the title, the description, the assignee, the priority, the epic, the due date, the estimate or the start date. Youniton saves the change when you leave the field and shows "Saved". - Use the status control in the panel head to move the ticket to a different stage. - In **Acceptance criteria**, add one row for each condition. Select the checkbox of a row when the condition is met. The ticket shows "N of M met". - In **Links**, select **+ Add link** to connect two tickets, for example "is blocked by" or "relates to". - In the row **Parent**, select the parent ticket. On a parent, select **Create child** to make a sub-task. - Select **Upload** to add files. One file can be 250 MB at most. - The tab **History** shows each change, the person and the time. > *Illustration: A ticket panel head.* ORB-124 · Checkout retries · Client visible · Acceptance criteria · 2 of 3 met ## Comments in two threads A ticket has two threads. The thread **Internal** is for the team only. The **Client thread** is shown in the client portal while the ticket is client visible. 1. Type your comment in the composer. Type @ and a name to mention a colleague. 2. Select **Internal** or **Client thread**. Result: Internal is the default. 3. Select **Comment**. > **Check the thread before you send** > > A comment in the client thread is visible to the client guests of the project. An internal comment is never shown to a client. ## Show a ticket to the client The switch **Client visible** is off for each new ticket. The client does not see a ticket until a Product manager or an Admin sets the switch to on. 1. Open the ticket panel. 2. Set **Client visible** to on. Result: The ticket, its shared files and its client thread are shown in the client portal. 3. For each file, select its label to change it from **Internal** to **Shared with client**. When you set the switch to off, Youniton lists the files and the comments that the client will not see, and asks you to confirm. ## Who can do what | Role | What this role can do | |---|---| | Admin, Product manager | Plan, start and complete sprints. Create and complete epics. Set **Client visible**. Share files with the client. Write in the client thread. Move a ticket to the trash and restore it. | | Developer | Create and change tickets. Move cards. Change the rank in the backlog. Write internal comments. Add files. | | Viewer | Read all views and tickets. No changes. | These are the defaults. An Admin can change the rules of each role. --- Page: https://docs.youniton.com/api/authentication Markdown: https://docs.youniton.com/api/authentication.md # Authentication Every call carries a bearer token in the `Authorization` header. The kind of token decides which operations you can call. *Request header* ```http Authorization: Bearer ``` ## The kinds of credential | Kind | Prefix | Acts as | Calls | Status | |---|---|---|---|---| | [Personal access token](#personal-tokens) | `kanso_pat_` | one internal member of one tenant, narrowed by its abilities | 69 operations of the token catalogue | Available | | [Help-desk service token](#help-desk-tokens) | `kanso_hdt_` | one help-desk connection — never a person | the 10 operations under `/help-desk/…` | Available | | [Agent token](#agent-tokens) | `kanso_agt_` | one agent identity, within its owner's access | the 24 operations under `/agent/…` and `/mcp` | Available | | [Browser session](#sessions) | — | the signed-in person | the Youniton apps only | App only | A token works only on the operations of its kind. A help-desk token on another operation, or a personal token on a help-desk operation, answers `403 service_token.not_allowed_here`. A personal token on an operation outside its catalogue answers `404 route.not_found`. ## Personal access tokens A member creates a token on **Account › Sessions & apps › API tokens**. The token belongs to that member in the current tenant and acts as that member. Every write is recorded for the member with the source `api`. ### Abilities Select 1 to 15 abilities. An ability only narrows: a call needs the ability *and* the member's role capabilities *and* the access rules of the record. A token never does more than its member can do. | Ability | What it opens | |---|---| | `projects:read` | the project list, one project and its field schema | | `tickets:read` | ticket lists, boards, backlogs, sprints, epics, labels, timeline, a ticket with its comments, attachments, activity and merge requests | | `tickets:write` | create, edit, position and client visibility of tickets | | `comments:write` | post a comment on a ticket | | `time:read` | worklogs, week grids, team periods and timesheets | | `time:write` | log, edit and delete your own worklogs; submit and withdraw your own timesheets | | `docs:read` | doc pages, their revisions and versions | | `search:read` | `GET /search` | | `relationships:read` · `relationships:write` | client organisations and contacts | | `messages:read` · `messages:write` | your direct and group conversations and the project conversations in your scope | | `memory:read` · `memory:write` | the memory entries and directories of a project (and the knowledge items) | | `transcripts:read` | no operation of its own: it admits meeting-transcript items on the memory operations | `memory:write` and `transcripts:read` need `memory:read`. A token with a memory ability can also be narrowed to chosen memory segments (`memorySegments`, 1–100 keys). The set never changes; for another set, create a new token. Out of v1 for personal tokens: administration, the platform API, the assistant, exports and imports, uploads, client actions, previews, and the management of automation rules, webhook endpoints and custom fields. ### Expiry - Expiry is mandatory: 30, 90 or 365 days. An Admin can set a shorter maximum for the tenant; then the maximum is one more choice. - A value above the maximum answers `422 token.expiry_exceeds_policy`. Another value answers `422 token.expiry_not_offered`. - An expired token answers `401 auth.unauthenticated`. Youniton deletes it 24 hours after expiry. ### The secret Youniton shows the secret one time, at creation. It stores only a keyed hash, so nobody can show the secret again. The list shows a masked preview, for example `kanso_pat_7Hq2…x9Lm`, the creation time, the last use and the expiry. The prefix lets secret scanners find a leaked token. ### Rotation To rotate a personal token, create a new token, change your script to the new secret, then revoke the old token. Two tokens can be live at the same time. ### Revocation Select **Revoke** in the token list. The token stops at once: the next call answers `401 auth.unauthenticated`. > **Youniton also revokes tokens** > > - when the member is removed from the tenant, or the account is disabled or recovered; > - when an Admin turns tokens off for the tenant (Administration › Security & sign-in › API tokens); > - when the tenant is suspended. Until the revocation runs, a call answers `403 tenant.suspended`. ### Tenant header The token names its tenant, so you do not need `X-Kanso-Tenant`. When you send it, it must equal the token's tenant. ## Help-desk service tokens An Admin creates a help-desk connection in **Administration › Help desk** and issues its token. The connection names one project and one client organisation. The token acts only as that connection. - **Abilities** belong to the connection: `requests:create`, `requests:read`, `requests:reply` and `files:upload`. A missing ability answers `403 help_desk.ability_missing`. - **Expiry** is mandatory: 30, 90, 180 or 365 days. - **Rotation** keeps the old token for an overlap, so the client's system changes its secret with no downtime. A connection has at most two live tokens. - **Revocation** deletes the token: the next call answers `401 auth.unauthenticated`. When the Admin who issued the token leaves, the token stays: the connection belongs to the tenant. - A paused connection answers `403 help_desk.connection_paused`. Read the full flow in [Create help-desk requests](https://docs.youniton.com/api/guides/help-desk-requests.md). ## Agent tokens An agent token (`kanso_agt_…`) belongs to an **agent identity**: an AI agent, a service such as CI, or a meeting assistant. An Admin creates the identity in **Administration › Agents** and issues its token. A tenant setting can also let members create identities that they own. - The token calls the agent API under `/api/v1/agent/…` and the MCP server at `/mcp`, and nothing else. - The identity acts within the intersection of its owner's current access, its projects and its abilities. It never acts as a person. - Youniton shows the secret one time. A token has an expiry. **Rotation** gives a new secret with an overlap. **Revocation** stops the token at once. - When the owner leaves the tenant, the identity is suspended. An Admin can pause, resume, transfer and revoke an identity. Read [Coding agents & MCP](https://docs.youniton.com/api/tools/coding-agents-mcp.md). ## Browser sessions The Youniton apps use a session cookie with CSRF protection. Do not use a session for an integration: it ends at sign-out, at an idle timeout and at a password change. Operations that only accept a session are marked *Session (app only)* in the reference. ## Keep tokens safe - Call the API from your server. The public API sends no CORS headers, so browser code on another origin cannot call it. - Give each script its own token with the fewest abilities and the shortest expiry that works. - Keep the secret in an environment variable or a secret store. Never put it in a document, a log, a commit or a chat. - Revoke a token at once when you think that someone saw it. --- Page: https://docs.youniton.com/api/changelog Markdown: https://docs.youniton.com/api/changelog.md # Changelog Changes to the public API. A deprecation is listed here at least six months before its sunset. ## 1.0.0-baseline The reviewed OpenAPI baseline of `/api/v1`. - 1000 operations on 805 paths. - 69 operations open to personal access tokens (token catalogue version 7), with 12 abilities. - 10 help-desk intake operations for help-desk service tokens. - Version 3 of the token catalogue adds the memory entries and directories (`memory:read`, `memory:write`). - 24 agent API operations for agent tokens (`kanso_agt_…`), and the MCP server at `/mcp`. ## How we change the API Read [Versioning & If-Match](https://docs.youniton.com/api/versioning.md) for the changes that can come within v1 and the changes that never do. --- Page: https://docs.youniton.com/api/errors Markdown: https://docs.youniton.com/api/errors.md # Errors Every error has one shape: an RFC 9457 problem document with a stable `code`. Branch on the code, never on the text. ## The problem shape Every answer that is not `2xx` has the content type `application/problem+json`. *422 Unprocessable Content* ```json { "type": "https://youniton.example/problems/validation.failed", "title": "The request is not valid.", "status": 422, "detail": "Two fields need attention.", "instance": "urn:kanso:request:0192f1b2-55aa-7c21-8d0e-1f3a9b6c2d40", "code": "validation.failed", "traceId": "4bf92f3577b34da6a3ce929d0e0e4736", "errors": [ { "pointer": "/title", "code": "ticket.title_too_long", "detail": "Use at most 200 characters." }, { "parameter": "filter[stageId]", "code": "query.invalid", "detail": "This stage is not on the board." } ] } ``` | Member | Meaning | |---|---| | `code` | The stable machine code, `.` in snake_case. Your code branches on it. | | `status` | The HTTP status again. | | `title`, `detail` | Text for people. `title` is fixed per code. `detail` follows `Accept-Language` (English, Lithuanian, German). Do not parse it. | | `instance` | The URN of your request. It equals the `X-Request-Id` header. Give it to support. | | `traceId` | The trace id, for support. | | `errors[]` | For `422` and query errors: one entry per problem, with a `pointer` (a JSON Pointer into your body), a `parameter` or a `header`, and its own `code`. | | extensions | Some codes add members: `currentVersion` (`stale-version`), `capability` (`access.forbidden`), `dimension`, `used`, `max` (`limit.reached`), `limiter` (`rate_limit.exceeded`), `reason`, `ability`. | A problem never holds a stack trace, SQL or anything that tells you that a hidden record exists. ## Common status codes | Status | Code | What to do | |---|---|---| | 400 | `request.malformed` · `query.invalid` · `query.cursor_invalid` · `idempotency.key_required` | Fix the request. A cursor is bound to its filters; start again without it. | | 401 | `auth.unauthenticated` | The token is wrong, expired or revoked. Stop and get a new token. | | 403 | `access.forbidden` (with `capability`) | You can see the record, but you may not do this action. | | 403 | `service_token.not_allowed_here` | Use the right kind of token for this operation. | | 403 | `help_desk.ability_missing` (with `ability`) · `help_desk.connection_paused` | The help-desk connection does not have the ability, or an Admin paused it. | | 403 | `feature.unavailable` (with `reason`) · `tenant.suspended` | The feature is off for the tenant, or the tenant is suspended. | | 404 | `.not_found` · `route.not_found` · `tenant.not_found` | The record does not exist, or you cannot see it. Youniton gives the same answer for both. | | 409 | `.invalid_state` · `limit.reached` · `idempotency.in_flight` | Read the record again. For `idempotency.in_flight`, wait for `Retry-After` and retry with the same key. | | 412 | `stale-version` (with `currentVersion`) | Someone changed the record. Read it again and apply your change to the new version. | | 413 | `request.too_large` | Send a smaller body. JSON bodies are at most 1 MiB (2 MiB with a rich-text document). | | 422 | `validation.failed` · `idempotency.key_reused` | Fix the fields in `errors[]`. Use a new key for a different request. | | 428 | `precondition.required` | Send `If-Match` with the version. | | 429 | `rate_limit.exceeded` (with `limiter`) | Wait for the seconds in `Retry-After`, then retry. | | 500 | `server.error` | Retry later with the same `Idempotency-Key`. Give the `instance` to support. | | 503 | `service.unavailable` | Wait for `Retry-After`, then retry. | ## Why a hidden record answers 404 A `403` would tell you that a record exists. So a record that you may not see answers `404`, the same as a missing record, in status, body and time. `403` is only for a record that you can see but may not change. ## Codes of the modules Each module adds its own codes. Some examples: | Status | Code | When | |---|---|---| | 403 | `help_desk.ability_missing` | the help-desk connection does not have the ability of the operation | | 409 | `help_desk_request.external_reference_exists` (with `requestKey`) | a create with a known external reference and another body | | 409 | `help_desk_request.closed_for_messages` | a reply on a request that takes no more messages | | 409 | `file.not_ready` · `file.intent_expired` · `file.too_many_open_intents` | a file is still in its scan; an upload intent is older than one hour; too many open uploads | | 422 | `file.type_not_accepted` · `file.too_large` | the file type is not on the accept list, or the file is too large | | 409 | `memory.path_taken` · `memory.directory_not_empty` | an entry already has the path; a directory still holds entries | | 422 | `memory.path_invalid` · `memory.body_too_large` | the path breaks the path rules; the Markdown body is too large | | 422 | `spending.category_unknown` | the spending category is not an active category of the tenant | | 422 | `token.expiry_exceeds_policy` | a token expiry above the tenant's maximum | The reference lists the statuses of each operation. The specification of each feature lists its codes. ## Handle errors in code *Branch on problem.code* **JavaScript** ```js const res = await fetch(url, options); if (!res.ok) { const problem = await res.json(); // application/problem+json switch (problem.code) { case "rate_limit.exceeded": await sleep(Number(res.headers.get("Retry-After")) * 1000); return retry(); case "stale-version": return reloadAndReapply(problem.currentVersion); default: throw new Error(`${problem.code} (${problem.instance})`); } } ``` **Python** ```python res = requests.request(method, url, **kwargs) if not res.ok: problem = res.json() if problem["code"] == "rate_limit.exceeded": time.sleep(int(res.headers["Retry-After"])) return retry() raise RuntimeError(f"{problem['code']} ({problem['instance']})") ``` **PHP** ```php try { $res = $client->request($method, $url, $options); } catch (GuzzleHttp\Exception\ClientException $e) { $problem = json_decode((string) $e->getResponse()->getBody(), true); if ($problem['code'] === 'rate_limit.exceeded') { sleep((int) $e->getResponse()->getHeaderLine('Retry-After')); return retry(); } throw new RuntimeException($problem['code'] . ' (' . $problem['instance'] . ')'); } ``` --- Page: https://docs.youniton.com/api/guides/automation-inbound-webhooks Markdown: https://docs.youniton.com/api/guides/automation-inbound-webhooks.md # Automation inbound webhooks Start an automation flow from another system with one signed call. The flow uses the fields of the call as variables. > **Off by default** > > Inbound webhooks are off for every tenant until an Admin turns them on (Administration › Automation, with a fresh sign-in). Then an Admin registers an endpoint. An endpoint is closed to project flows until an Admin opens it. 1. **An Admin registers an endpoint** In **Administration › Automation › Inbound**, the Admin creates an endpoint. The answer shows its secret, `whsec_…` (32 random bytes), one time. The Admin can also limit the sender's address ranges. A rotation shows a new secret one time and keeps the old one for 24 hours. 2. **A flow uses the endpoint** A flow editor selects the trigger **Inbound webhook**, names the endpoint and defines the fields. The fields come from a defined JSON structure, or an AI converter fills the same fields from the body. 3. **Your system signs and sends the call** Send a `POST` with a JSON body (at most 64 KiB, depth at most 16, at most 500 keys) and the Standard Webhooks headers. Make a new `webhook-id` per event and keep it for the retries of that event. *Sign and send a call* **curl** ```bash SECRET="whsec_…" # from the endpoint, shown one time URL="https://app.youniton.example/webhooks/automation/" ID="evt_$(uuidgen)" TS=$(date +%s) BODY='{"orderId":"A-1042","status":"paid"}' KEY_HEX=$(printf '%s' "${SECRET#whsec_}" | base64 -d | xxd -p -c 256) SIG=$(printf '%s' "$ID.$TS.$BODY" | openssl dgst -sha256 -mac HMAC -macopt hexkey:$KEY_HEX -binary | base64) curl -s -X POST "$URL" \ -H "Content-Type: application/json" \ -H "webhook-id: $ID" -H "webhook-timestamp: $TS" -H "webhook-signature: v1,$SIG" \ --data "$BODY" ``` **Node** ```js import { createHmac, randomUUID } from "node:crypto"; export async function sendToYouniton(url, secret, payload, id = `evt_${randomUUID()}`) { const body = JSON.stringify(payload); const timestamp = Math.floor(Date.now() / 1000).toString(); const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64"); const signature = createHmac("sha256", key).update(`${id}.${timestamp}.${body}`).digest("base64"); const res = await fetch(url, { method: "POST", headers: { "Content-Type": "application/json", "webhook-id": id, "webhook-timestamp": timestamp, "webhook-signature": `v1,${signature}`, }, body, }); return res.status; // 202 accepted · 200 a repeat of the same id and body } ``` **Python** ```python import base64, hashlib, hmac, json, time, uuid, requests def send_to_youniton(url, secret, payload, msg_id=None): msg_id = msg_id or f"evt_{uuid.uuid4()}" body = json.dumps(payload, separators=(",", ":")) timestamp = str(int(time.time())) key = base64.b64decode(secret.removeprefix("whsec_")) sig = base64.b64encode(hmac.new(key, f"{msg_id}.{timestamp}.{body}".encode(), hashlib.sha256).digest()).decode() return requests.post(url, data=body, headers={ "Content-Type": "application/json", "webhook-id": msg_id, "webhook-timestamp": timestamp, "webhook-signature": f"v1,{sig}", }).status_code ``` **PHP** ```php post($url, [ 'headers' => [ 'Content-Type' => 'application/json', 'webhook-id' => $id, 'webhook-timestamp' => $timestamp, 'webhook-signature' => "v1,{$signature}", ], 'body' => $body, 'http_errors' => false, ]); return $res->getStatusCode(); } ``` 4. **Read the answer** | Answer | Meaning | |---|---| | `202` | Youniton recorded the call. The body holds the call's id. Runs start after it. You get no run data. | | `200` | a repeat of a known `webhook-id` with the same body: nothing starts | | `401` | the signature is not valid | | `404` | the endpoint is unknown, deleted or disabled, inbound webhooks are off, or your address is not in the allowed ranges | | `409` | a known `webhook-id` with another body | | `413` · `422` | the body is too large, too deep, has too many keys or is not `application/json` | | `429` | too many calls: wait for `Retry-After` | | `503` | the endpoint is paused: wait for `Retry-After` | A timestamp more than 5 minutes from Youniton's clock is refused. Keep your server's clock in sync. ## Security of the data - Youniton verifies the signature over the raw bytes, in constant time, before it parses the body. - Each value that arrives is untrusted data. It never becomes an instruction or a prompt of the flow. - A run acts as the flow's owner. The caller gets no identity and no right. - Youniton keeps a call's body for the tenant setting `automation.inbound.callRetentionDays`, and remembers each `webhook-id` for at least 7 days. ## The Admin operations The Youniton app manages endpoints with these operations (session only): - [`GET /automation/inbound-endpoints`](https://docs.youniton.com/api/reference/automation.md#listInboundEndpoints)The tenant's inbound endpoints - [`POST /automation/inbound-endpoints`](https://docs.youniton.com/api/reference/automation.md#createInboundEndpoint)Register an endpoint; the answer holds the secret, once - [`PATCH /automation/inbound-endpoints/{endpointId}`](https://docs.youniton.com/api/reference/automation.md#changeInboundEndpoint)Change the name, availability, address ranges or status - [`POST /automation/inbound-endpoints/{endpointId}/rotate-secret`](https://docs.youniton.com/api/reference/automation.md#rotateInboundSecret)Issue a new secret, shown once; the previous one stays valid for 24 hours - [`GET /automation/inbound-endpoints/{endpointId}/calls`](https://docs.youniton.com/api/reference/automation.md#listInboundCalls)The call log of an endpoint - [`DELETE /automation/inbound-endpoints/{endpointId}`](https://docs.youniton.com/api/reference/automation.md#deleteInboundEndpoint)Delete an endpoint that no enabled or paused flow names --- Page: https://docs.youniton.com/api/guides/coding-agent Markdown: https://docs.youniton.com/api/guides/coding-agent.md # Connect a coding agent / CLI Let a coding agent or a command-line script read your tickets, comment on them and keep its notes in the project's memory — with a personal token. > **Two ways to connect an agent** > > This guide uses a **personal access token**: the agent acts as you, narrowed by the token's abilities. An agent can also have its own identity, with a `kanso_agt_` token on the agent API and the MCP server. Read [Coding agents & MCP](https://docs.youniton.com/api/tools/coding-agents-mcp.md). 1. **Create a token for the agent** In **Account › Sessions & apps › API tokens**, create a token named after the agent. Select only what it needs, for example: - `projects:read` and `tickets:read` — read projects, tickets, boards and backlogs; - `comments:write` — post a comment on a ticket; - `memory:read` and `memory:write` — keep notes in the project's memory. Select a short expiry. Give each agent its own token, so that you can revoke one without the others. 2. **Give the agent the token** *Shell profile or the agent's secret store* ```bash export YOUNITON_API="https://app.youniton.example/api/v1" export YOUNITON_TOKEN="kanso_pat_…" # never commit this value ``` 3. **Paste the setup prompt** **Prompt for your coding agent: Set up Youniton in your agent** ```text You can use the Youniton REST API. Follow these rules. Connection - Base URL: $YOUNITON_API (for example https://app.youniton.example/api/v1). - Send "Authorization: Bearer $YOUNITON_TOKEN" and "Accept: application/json" on every call. - Never print, log or commit the token. - Responses are JSON: {data, meta, links}. Errors are application/problem+json; branch on "code". - On 429, wait for the Retry-After seconds. On 412 stale-version, read the record again before you write. What you may do - GET /projects — find the project key (for example ORB). - GET /projects/{projectKey}/tickets and GET /tickets/{ticketKey} — read the work. - GET /tickets/{ticketKey}/comments — read the discussion. - POST /tickets/{ticketKey}/comments with an Idempotency-Key header (a new UUID per comment) — report progress. - PUT /projects/{projectKey}/memory/entries/by-path?path=agents// with {"body": "", "source": {"kind": "agent", "name": ""}} — keep your notes. The same body again changes nothing; read meta.outcome. - GET /projects/{projectKey}/memory/entries?q= — find notes before you start a task. Rules - Only do what the user asked. Do not change tickets unless the user asks you to. - After each write, read the record back to confirm it. ``` 4. **Try it** *A smoke test* ```bash curl -s "$YOUNITON_API/projects" -H "Authorization: Bearer $YOUNITON_TOKEN" | head -c 400 ``` A `401` means that the token is wrong, expired or revoked. A `404 route.not_found` on a call means that a personal token cannot call that operation. A `403 access.forbidden` means that you can see the record but your role may not do the action. ## The operations the prompt uses - [`GET /projects`](https://docs.youniton.com/api/reference/projects.md#listProjects)The project catalogue — the member's visible projects, filtered, segmented and paged with totals - [`GET /projects/{projectKey}/tickets`](https://docs.youniton.com/api/reference/work.md#listProjectTickets)The generic ticket list of a project — filters, q, whitelisted sort, cursor (the Calendar uses the due-date range) - [`GET /tickets/{ticketKey}`](https://docs.youniton.com/api/reference/work.md#getTicket)The ticket through the caller's mask, with can (the side panel's document) - [`GET /tickets/{ticketKey}/comments`](https://docs.youniton.com/api/reference/work.md#listTicketComments)Comments of both threads (filter\[thread\]) oldest first - [`POST /tickets/{ticketKey}/comments`](https://docs.youniton.com/api/reference/work.md#postTicketComment)Post a comment in the internal or the client thread, with files that follow the thread - [`PUT /projects/{projectKey}/memory/entries/by-path`](https://docs.youniton.com/api/reference/memory.md#upsertMemoryEntryByPath)Create the entry at the path, or replace its body (for automations and agents) - [`GET /projects/{projectKey}/memory/entries`](https://docs.youniton.com/api/reference/memory.md#listMemoryEntries)List or search the project's memory entries ## A small CLI *youniton-note* **Bash** ```bash #!/usr/bin/env bash # youniton-note < notes.md — write stdin as a memory entry set -euo pipefail body=$(jq -Rs . ) curl -sf -X PUT "$YOUNITON_API/projects/$1/memory/entries/by-path?path=$(jq -rn --arg p "$2" '$p|@uri')" \ -H "Authorization: Bearer $YOUNITON_TOKEN" -H "Content-Type: application/json" \ --data "{\"body\": $body, \"source\": {\"kind\": \"agent\", \"name\": \"youniton-note CLI\"}}" \ | jq -r '.meta.outcome + " " + .data.path' ``` **Node** ```js #!/usr/bin/env node // youniton-note < notes.md const [projectKey, path] = process.argv.slice(2); const body = await new Response(process.stdin).text(); const url = new URL(`${process.env.YOUNITON_API}/projects/${projectKey}/memory/entries/by-path`); url.searchParams.set("path", path); const res = await fetch(url, { method: "PUT", headers: { Authorization: `Bearer ${process.env.YOUNITON_TOKEN}`, "Content-Type": "application/json" }, body: JSON.stringify({ body, source: { kind: "agent", name: "youniton-note CLI" } }), }); const json = await res.json(); if (!res.ok) { console.error(json.code); process.exit(1); } console.log(json.meta.outcome, json.data.path); ``` --- Page: https://docs.youniton.com/api/guides/help-desk-requests Markdown: https://docs.youniton.com/api/guides/help-desk-requests.md # Create help-desk requests from your app Connect your client's own system — for example their service desk — to a project's help desk. It creates requests with files, reads their status and replies, with no person's account. A help-desk token acts as one **connection**: one project, one client organisation and one read scope. Every call stays inside that connection. ## Before you start - An Admin creates the connection in **Administration › Help desk**: the client organisation, the project, the abilities (`requests:create`, `requests:read`, `requests:reply`, `files:upload`) and the read scope — `own` (the requests that this connection made) or `organisation` (every request of the client in the project). - The Admin issues the token. It starts with `kanso_hdt_` and shows one time. Keep it in a secret store. - Help desk must be on for the project, and its request form must be on for a create. *Terminal* ```bash export API="https://app.youniton.example/api/v1/help-desk" export AUTH="Authorization: Bearer $YOUNITON_HELPDESK_TOKEN" # kanso_hdt_… — shown one time in Administration › Help desk ``` Send only the `Authorization` header: the token names the tenant, the connection and its project. ## The flow 1. **Read the form** The form of the connection's project gives the categories and the fields that a request needs. *GET /help-desk/form* ```bash curl -s -H "$AUTH" -H 'Accept: application/json' "$API/form" ``` [`GET /help-desk/form`](https://docs.youniton.com/api/reference/help-desk.md#getIntakeForm) — needs `requests:read` or `requests:create`. 2. **Start an upload (optional)** To attach a file, start an upload intent. The target is `request_draft` for a new request, or `request` with a `requestKey` for a reply. *POST /help-desk/uploads* ```bash curl -s -X POST -H "$AUTH" -H 'Content-Type: application/json' -H "Idempotency-Key: $(uuidgen)" "$API/uploads" \ --data '{"target":{"type":"request_draft"},"fileName":"receipt.pdf","sizeBytes":182044,"mimeType":"application/pdf"}' # → 201 data.fileId, data.put.url, data.put.headers ``` [`POST /help-desk/uploads`](https://docs.youniton.com/api/reference/help-desk.md#startIntakeUpload) — needs `files:upload`. 3. **Send the file with one PUT** Send the bytes to the presigned URL with **one** `PUT`. Send each header of `data.put.headers` with it. The URL is valid for 15 minutes. Do not send your Youniton token to this URL. *PUT to the presigned URL* ```bash curl -s -X PUT -H 'Content-Type: application/pdf' --data-binary @receipt.pdf '' ``` 4. **Complete the upload** *POST /help-desk/uploads/{fileId}/complete* ```bash curl -s -X POST -H "$AUTH" -H "Idempotency-Key: $(uuidgen)" "$API/uploads//complete" ``` Youniton starts the malware scan. [`POST /help-desk/uploads/{fileId}/complete`](https://docs.youniton.com/api/reference/help-desk.md#completeIntakeUpload) > **Upload limits** > > - One presigned `PUT`, no multipart. A file is at most the tenant's maximum and 100 MB (`422 file.too_large`). The type must be on the accept list (`422 file.type_not_accepted`). > - A connection holds at most 5 open intents (`409 file.too_many_open_intents`). > - An intent expires one hour after its start. A late completion answers `409 file.intent_expired`. 5. **Create the request** Send the category, the texts, your own `externalReference`, the completed `fileIds` and the person at the client who reported it. *POST /help-desk/requests* **curl** ```bash curl -s -X POST -H "$AUTH" -H 'Content-Type: application/json' \ -H "Idempotency-Key: $(uuidgen)" "$API/requests" --data '{ "categoryKey": "website_bug", "summary": "Gift cards cannot be applied", "description": "A gift card code is refused at checkout.", "impact": "urgent", "externalReference": "orbit-desk:case:88412", "fileIds": [""], "reporter": {"name": "Sam Lee", "email": "sam.lee@orbit-retail.example", "externalId": "orbit-desk-user-4471"} }' # → 201 {"data": {"key": "ORB-R22", "status": "in_review", …}} ``` **JavaScript** ```js const res = await fetch("https://app.youniton.example/api/v1/help-desk/requests", { method: "POST", headers: { Authorization: `Bearer ${process.env.YOUNITON_HELPDESK_TOKEN}`, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID(), }, body: JSON.stringify({ categoryKey: "website_bug", summary: "Gift cards cannot be applied", description: "A gift card code is refused at checkout.", impact: "urgent", externalReference: "orbit-desk:case:88412", fileIds: [fileId], reporter: { name: "Sam Lee", email: "sam.lee@orbit-retail.example", externalId: "orbit-desk-user-4471" }, }), }); const { data } = await res.json(); // res.status 201 (new) or 200 (the same reference and body) ``` **Python** ```python import os, uuid, requests res = requests.post( "https://app.youniton.example/api/v1/help-desk/requests", headers={ "Authorization": f"Bearer {os.environ['YOUNITON_HELPDESK_TOKEN']}", "Idempotency-Key": str(uuid.uuid4()), }, json={ "categoryKey": "website_bug", "summary": "Gift cards cannot be applied", "description": "A gift card code is refused at checkout.", "impact": "urgent", "externalReference": "orbit-desk:case:88412", "fileIds": [file_id], "reporter": {"name": "Sam Lee", "email": "sam.lee@orbit-retail.example", "externalId": "orbit-desk-user-4471"}, }, ) request_key = res.json()["data"]["key"] ``` **PHP** ```php post('https://app.youniton.example/api/v1/help-desk/requests', [ 'headers' => [ 'Authorization' => 'Bearer ' . getenv('YOUNITON_HELPDESK_TOKEN'), 'Idempotency-Key' => bin2hex(random_bytes(16)), ], 'json' => [ 'categoryKey' => 'website_bug', 'summary' => 'Gift cards cannot be applied', 'description' => 'A gift card code is refused at checkout.', 'impact' => 'urgent', 'externalReference' => 'orbit-desk:case:88412', 'fileIds' => [$fileId], 'reporter' => ['name' => 'Sam Lee', 'email' => 'sam.lee@orbit-retail.example', 'externalId' => 'orbit-desk-user-4471'], ], ]); $requestKey = json_decode((string) $res->getBody(), true)['data']['key']; ``` The same `externalReference` again gives the **same** request (`200`), never a second one. With another body it answers `409 help_desk_request.external_reference_exists` with the existing `requestKey`. [`POST /help-desk/requests`](https://docs.youniton.com/api/reference/help-desk.md#createIntakeRequest) 6. **Read it back, follow it and reply** *Reads and a reply* ```bash curl -s -H "$AUTH" "$API/requests/ORB-R22" curl -s -H "$AUTH" "$API/requests?status=all" # meta.changeCursor → ?changeCursor=… for the next page or poll curl -s -H "$AUTH" "$API/requests/ORB-R22/messages" curl -s -X POST -H "$AUTH" -H 'Content-Type: application/json' -H "Idempotency-Key: $(uuidgen)" \ "$API/requests/ORB-R22/messages" --data '{"body":"It also fails on iPad."}' ``` - [`GET /help-desk/requests/{requestKey}`](https://docs.youniton.com/api/reference/help-desk.md#getIntakeRequest)One request as the connection reads it - [`GET /help-desk/requests`](https://docs.youniton.com/api/reference/help-desk.md#listIntakeRequests)The requests that the connection can read, oldest update first - [`GET /help-desk/requests/{requestKey}/messages`](https://docs.youniton.com/api/reference/help-desk.md#listIntakeRequestMessages)The client-visible messages, oldest first - [`POST /help-desk/requests/{requestKey}/messages`](https://docs.youniton.com/api/reference/help-desk.md#postIntakeRequestMessage)Reply on a request from the client's system - [`GET /help-desk/requests/{requestKey}/files/{fileId}/download`](https://docs.youniton.com/api/reference/help-desk.md#downloadIntakeRequestFile)Redirect to a 60-second signed URL of a file that the connection can read The list is a poll: read [the change cursor](https://docs.youniton.com/api/pagination.md#change-cursor). A file download answers `302` to a signed URL that is valid for 60 seconds. 7. **Withdraw it (optional)** *POST /help-desk/requests/{requestKey}/withdraw* ```bash curl -s -X POST -H "$AUTH" -H "Idempotency-Key: $(uuidgen)" "$API/requests/ORB-R22/withdraw" ``` Only the connection that made the request can withdraw it, and only while it is open (`403 access.forbidden` with `reason: not_requester`). [`POST /help-desk/requests/{requestKey}/withdraw`](https://docs.youniton.com/api/reference/help-desk.md#withdrawIntakeRequest) > **Idempotency-Key** > > Send an `Idempotency-Key` on each creating `POST`, as on every creating call of the API. The reference lists the operations that need it. ## What each refusal means | Answer | Meaning | |---|---| | `401 auth.unauthenticated` | the token is wrong, expired or revoked, or the connection is revoked | | `403 help_desk.ability_missing` | the connection does not have the ability of the operation | | `403 help_desk.connection_paused` | an Admin paused the connection | | `403 help_desk.unavailable` | help desk or its form is off for the project | | `404 help_desk_request.not_found` | the request is not of the connection's project and client, or not in its read scope | | `409 help_desk_request.external_reference_exists` | the external reference names a request with another body | | `429 rate_limit.exceeded` | too many calls, creates or uploads; wait for `Retry-After` | ## What the team sees Each request shows in the project's Help desk queue as *API connection · \*. When the reporter's e-mail is the e-mail of a portal guest of the same client, the request shows in that guest's portal list as theirs. Youniton never e-mails a reporter: your system learns of changes by polling or by webhooks. ## Get changes by webhook A connection can subscribe its client's system to request events: `request.created`, `request.updated`, `request.message_posted`, `request.decided` and `request.closed`. A connection never gets an event for its own action. The payload holds the request as the connection may read it, without the description and the field values: read them with [`GET /help-desk/requests/{requestKey}`](https://docs.youniton.com/api/reference/help-desk.md#getIntakeRequest). Read [Receive Youniton webhooks](https://docs.youniton.com/api/guides/receive-webhooks.md). --- Page: https://docs.youniton.com/api/guides/project-memory Markdown: https://docs.youniton.com/api/guides/project-memory.md # Write project memory from meetings and agents A project's memory is a set of Markdown entries in directories. Meetings, automations and agents write entries by path; people read and search them in Youniton. ## The model - An **entry** is one Markdown text (CommonMark) at a **path** in its project, for example `meetings/2026-11-20 kickoff.md`. It is a database record, not a file. - A **directory** is a record too. It can be empty. A write creates the missing parent directories. - Each entry keeps its **source**: `person`, `meeting` or `agent`, with a name for a meeting or an agent. Youniton shows it as a badge, for example *Agent · Atlas coding agent*. `source` is the first write's; `lastSource` is the last write's. - There is no version history: an edit replaces the body. `version` exists only for `ETag` and `If-Match`. ## Before you start Create a [personal token](https://docs.youniton.com/api/authentication.md#personal-tokens) with `memory:read` and `memory:write`. The member needs the rights "Memory read" and "Memory write" on the project; by default Admins, Product managers and Developers have "Memory write". ## Write by path 1. **PUT the entry** *PUT /projects/{projectKey}/memory/entries/by-path* **curl** ```bash curl -X PUT "https://app.youniton.example/api/v1/projects/ORB/memory/entries/by-path?path=agents/notes/test" \ -H "Authorization: Bearer $YOUNITON_TOKEN" -H "Content-Type: application/json" \ -d '{"body": "# Notes\n\nWritten by the agent.", "source": {"kind": "agent", "name": "Atlas coding agent"}}' # 201 on the first call: data.path = "agents/notes/test.md" (".md" is added); # the directories agents and agents/notes are created ``` **JavaScript** ```js async function writeMemory(projectKey, path, markdown, source) { const url = new URL(`https://app.youniton.example/api/v1/projects/${projectKey}/memory/entries/by-path`); url.searchParams.set("path", path); const res = await fetch(url, { method: "PUT", headers: { Authorization: `Bearer ${process.env.YOUNITON_TOKEN}`, "Content-Type": "application/json" }, body: JSON.stringify({ body: markdown, source }), }); if (!res.ok) throw new Error((await res.json()).code); return res.json(); // { data: {...entry}, meta: { outcome: "created" | "updated" | "unchanged" } } } await writeMemory("ORB", "meetings/2026-11-20 kickoff", "# Kickoff\n\n- Scope agreed", { kind: "meeting", name: "Kickoff call" }); ``` **Python** ```python def write_memory(project_key, path, markdown, source): res = requests.put( f"https://app.youniton.example/api/v1/projects/{project_key}/memory/entries/by-path", params={"path": path}, headers={"Authorization": f"Bearer {os.environ['YOUNITON_TOKEN']}"}, json={"body": markdown, "source": source}, ) res.raise_for_status() return res.json()["meta"]["outcome"] write_memory("ORB", "meetings/2026-11-20 kickoff", "# Kickoff\n\n- Scope agreed", {"kind": "meeting", "name": "Kickoff call"}) ``` **PHP** ```php put('https://app.youniton.example/api/v1/projects/ORB/memory/entries/by-path', [ 'query' => ['path' => 'meetings/2026-11-20 kickoff'], 'headers' => ['Authorization' => 'Bearer ' . getenv('YOUNITON_TOKEN')], 'json' => ['body' => "# Kickoff\n\n- Scope agreed", 'source' => ['kind' => 'meeting', 'name' => 'Kickoff call']], ]); ``` [`PUT /projects/{projectKey}/memory/entries/by-path`](https://docs.youniton.com/api/reference/memory.md#upsertMemoryEntryByPath) 2. **Repeat it safely** The same body again changes nothing: `200` with `meta.outcome` `unchanged`. A new body replaces the old one: `200` with `updated`. So a meeting automation can send its notes again after an error. `If-Match` is optional here. Send it when you must not overwrite a change by a person: a stale version answers `412`. 3. **Read it back** *GET /projects/{projectKey}/memory/entries/by-path* ```bash curl "https://app.youniton.example/api/v1/projects/ORB/memory/entries/by-path?path=agents/notes/test.md" \ -H "Authorization: Bearer $YOUNITON_TOKEN" ``` [`GET /projects/{projectKey}/memory/entries/by-path`](https://docs.youniton.com/api/reference/memory.md#getMemoryEntryByPath) ## Path rules - Youniton adds `.md` to a name without it and changes `.markdown` to `.md`. `Testing by boris` and `Testing by boris.md` are the same entry. - A path is unique in its project without regard to letter case. - A segment has 1–80 characters: letters, digits, space, `.` `_` `-` `(` `)`. It does not start or end with a space or a dot. - A path has at most 8 directories and 512 characters. One leading `/` is removed. - A path that breaks a rule answers `422 memory.path_invalid`. ## The body - CommonMark text in UTF-8, with no NUL and no control character other than tab, LF and CR. An empty body is valid. - At most the tenant setting `memory.entries.maxBytes` (default 1 MiB): `422 memory.body_too_large`. - Raw HTML stays text. Youniton never shows it as HTML. ## The source A write with a personal token can set any source. A meeting automation sends `{"kind": "meeting", "name": "…"}`; an agent sends `{"kind": "agent", "name": "…"}`. The name is required for `meeting` and `agent` (1–120 characters) and absent for `person`. A write from the Youniton app is always `person`. ## More operations - [`GET /projects/{projectKey}/memory/entries`](https://docs.youniton.com/api/reference/memory.md#listMemoryEntries)List or search the project's memory entries - [`POST /projects/{projectKey}/memory/entries`](https://docs.youniton.com/api/reference/memory.md#createMemoryEntry)Create an entry at a new path - [`GET /memory/entries/{entryId}`](https://docs.youniton.com/api/reference/memory.md#getMemoryEntry)One entry with its body - [`PATCH /memory/entries/{entryId}`](https://docs.youniton.com/api/reference/memory.md#changeMemoryEntry)Replace the body and/or move the entry to a new path - [`DELETE /memory/entries/{entryId}`](https://docs.youniton.com/api/reference/memory.md#deleteMemoryEntry)Delete an entry for good - [`GET /projects/{projectKey}/memory/directories`](https://docs.youniton.com/api/reference/memory.md#listMemoryDirectories)All directories of the project's memory - [`POST /projects/{projectKey}/memory/directories`](https://docs.youniton.com/api/reference/memory.md#createMemoryDirectory)Create a directory (and its missing parents) - [`PATCH /memory/directories/{directoryId}`](https://docs.youniton.com/api/reference/memory.md#moveMemoryDirectory)Rename or move a directory with its contents - [`DELETE /memory/directories/{directoryId}`](https://docs.youniton.com/api/reference/memory.md#deleteMemoryDirectory)Delete a directory — an empty one, or with everything inside it when recursive - Search with `q` (words of the path, the title or the body), filter by `source` or `directory`, and sort by `path` or `updated`. - `PATCH` and `DELETE` need `If-Match`. A delete is for good: there is no trash. - A directory with entries is not deleted (`409 memory.directory_not_empty`) unless you send `?recursive=true`. - A project holds at most `memory.entries.perProject` entries (default 5,000) and `memory.directories.perProject` directories (default 1,000): `409 limit.reached`. - The `.md` file upload is for the Youniton app only; a token uses the JSON operations. > **Agent identities** > > An agent can also write with its own agent identity instead of a member's token. The author is then the identity. Read [Coding agents & MCP](https://docs.youniton.com/api/tools/coding-agents-mcp.md). --- Page: https://docs.youniton.com/api/guides/receive-webhooks Markdown: https://docs.youniton.com/api/guides/receive-webhooks.md # Receive Youniton webhooks Build an endpoint that checks the signature, skips repeats and answers within 10 seconds. 1. **Get an endpoint registered** An Admin registers your HTTPS URL in **Administration › Automation › Webhooks**. Youniton checks the URL: it must be `https://` and must not resolve to a private, loopback, link-local or metadata address. Youniton does not follow redirects. The answer shows the secret, `whsec_…`, one time. Keep it in your secret store. Then a rule with the action "send webhook" or a help-desk connection with a webhook sends to it. The Admin can send a test delivery of type `kanseo.test`. 2. **Read the raw body** Verify the signature over the **raw bytes** of the body, before you parse the JSON. A parse and a new serialisation change the bytes. 3. **Verify the signature** The signed content is `{webhook-id}.{webhook-timestamp}.{body}`. The key is the secret after `whsec_`, base64-decoded. The header `webhook-signature` holds one or more `v1,` values, separated by spaces (two during a secret rotation). Accept the delivery when one value matches. Compare in constant time. Refuse a timestamp that is far from your clock, for example more than 5 minutes. *Verify a Youniton delivery* **Node** ```js import { createHmac, timingSafeEqual } from "node:crypto"; export function verifyYounitonWebhook(rawBody, headers, secret, toleranceSeconds = 300) { const id = headers["webhook-id"]; const timestamp = headers["webhook-timestamp"]; const signatures = (headers["webhook-signature"] || "").split(" "); if (!id || !timestamp) return false; if (Math.abs(Date.now() / 1000 - Number(timestamp)) > toleranceSeconds) return false; const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64"); const expected = createHmac("sha256", key).update(`${id}.${timestamp}.${rawBody}`).digest(); return signatures.some((s) => { const [version, value] = s.split(","); if (version !== "v1" || !value) return false; const given = Buffer.from(value, "base64"); return given.length === expected.length && timingSafeEqual(given, expected); }); } // Express: app.post("/youniton/webhooks", express.raw({ type: "application/json" }), handler) // and call verifyYounitonWebhook(req.body.toString("utf8"), req.headers, process.env.YOUNITON_WEBHOOK_SECRET) ``` **Python** ```python import base64, hashlib, hmac, time def verify_youniton_webhook(raw_body: bytes, headers, secret: str, tolerance: int = 300) -> bool: msg_id = headers.get("webhook-id") timestamp = headers.get("webhook-timestamp") signatures = headers.get("webhook-signature", "").split(" ") if not msg_id or not timestamp or abs(time.time() - int(timestamp)) > tolerance: return False key = base64.b64decode(secret.removeprefix("whsec_")) signed = f"{msg_id}.{timestamp}.".encode() + raw_body expected = base64.b64encode(hmac.new(key, signed, hashlib.sha256).digest()).decode() return any( s.startswith("v1,") and hmac.compare_digest(s[3:], expected) for s in signatures ) ``` **PHP** ```php $tolerance) { return false; } $key = base64_decode(preg_replace('/^whsec_/', '', $secret)); $expected = base64_encode(hash_hmac('sha256', "{$id}.{$timestamp}.{$rawBody}", $key, true)); foreach ($signatures as $signature) { [$version, $value] = array_pad(explode(',', $signature, 2), 2, ''); if ($version === 'v1' && hash_equals($expected, $value)) { return true; } } return false; } // Laravel: verifyYounitonWebhook($request->getContent(), array_map(fn ($v) => $v[0], $request->headers->all()), config('services.youniton.webhook_secret')) ``` 4. **Skip repeats** Store each `webhook-id` that you processed. The id stays the same over every retry and every redelivery, and a crash between Youniton's send and its record can repeat a delivery. When you see a known id, answer `200` and do nothing. 5. **Answer fast, then work** Answer a `2xx` within 10 seconds. Put slow work on your own queue. Another answer, a timeout or a network error makes Youniton retry: after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h. Answer `410 Gone` only when you want Youniton to disable the endpoint. ## Help-desk events | Event | When | |---|---| | `request.created` | a request enters the connection's scope (never for the connection's own create) | | `request.updated` | the client status or the progress changes, or the linked ticket changes as the client sees it | | `request.message_posted` | a client-visible message; never an internal note | | `request.decided` | a triage decision: accepted, merged or rejected | | `request.closed` | the request closes without a decision: withdrawn, no response, or the client changed | *Body of a help-desk event* ```json { "id": "…", "type": "request.message_posted", "occurredAt": "2026-10-20T13:10:00Z", "tenantId": "…", "connection": { "id": "…", "name": "Orbit service desk" }, "request": { "key": "ORB-R22", "summary": "Gift cards cannot be applied", "status": "…", "impact": "urgent", "categoryName": "…", "submittedAt": "…", "updatedAt": "…", "externalReference": "orbit-desk:case:88412" }, "message": { } } ``` `request` is the client view, without the description and the field values. Read them with [`GET /help-desk/requests/{requestKey}`](https://docs.youniton.com/api/reference/help-desk.md#getIntakeRequest). A `linkedTicket` appears only when the connection's client role can see the ticket. ## Calls back into Youniton When your receiver calls the API because of a delivery, send `X-Kanso-Causation: `. Then an automation loop stops at its depth limit. --- Page: https://docs.youniton.com/api/idempotency Markdown: https://docs.youniton.com/api/idempotency.md # Idempotency Retry a call safely. A creating `POST` takes an `Idempotency-Key`; some records also take your own external reference or a path. ## Idempotency-Key Every `POST` that creates a record or runs a command needs the header `Idempotency-Key`. Make one key per intent and send the same key on each retry of that intent. *A create with a key* ```bash KEY=$(uuidgen) # one key per intent; keep it for the retries curl -s -X POST "$YOUNITON_API/projects/ORB/tickets" \ -H "Authorization: Bearer $YOUNITON_TOKEN" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $KEY" \ --data '{"title": "Secure document links"}' ``` | Situation | Answer | |---|---| | no key on an operation that needs one | `400 idempotency.key_required` | | the same key and the same request, after the first call committed | the original status with `Idempotent-Replayed: true`. Youniton builds the answer again with your current access. | | the same key with a different request | `422 idempotency.key_reused` | | the same key while the first call still runs | `409 idempotency.in_flight` with `Retry-After: 1` | | the first call failed (4xx, 5xx, 401, 428, 429) | nothing is stored; a retry with the same key is decided again | - A key has 8–128 characters from `A–Z a–z 0–9 . _ : -`. A UUID is a good key. - A key is scoped to the tenant, the caller and the operation. Two callers with one key make two unrelated requests. - Youniton keeps a receipt for at least 24 hours after the call. Retry within that time. - The receipt is saved in the same transaction as the change, so a crash cannot run the command two times. The reference shows an *Idempotency-Key* chip on each operation that needs it. `PUT` and `DELETE` are idempotent by their nature and take no key. ## External references A help-desk create can carry your own id, `externalReference` (1–200 characters of `A–Z a–z 0–9 . _ : / # -`). It is unique per connection for ever, so a retry days later still finds the first request. | Situation | Answer | |---|---| | a new reference | `201` with the new request | | a known reference and the same body | `200` with the existing request and `Idempotent-Replayed: true` | | a known reference and another body | `409 help_desk_request.external_reference_exists` with the existing `requestKey` | [`POST /help-desk/requests`](https://docs.youniton.com/api/reference/help-desk.md#createIntakeRequest) ## PUT by path A memory entry has a path in its project. [`PUT /projects/{projectKey}/memory/entries/by-path`](https://docs.youniton.com/api/reference/memory.md#upsertMemoryEntryByPath) creates the entry at the path or replaces its body. It is safe to repeat: | Call | Answer | `meta.outcome` | |---|---|---| | the path is new | `201` | `created` | | the same body again | `200` | `unchanged` — nothing changes | | a new body | `200` | `updated` | `If-Match` is optional on this call. When you send it, the stored version must match. Read [Write project memory](https://docs.youniton.com/api/guides/project-memory.md). ## Webhooks A webhook delivery from Youniton keeps one `webhook-id` over every retry. Store the ids that you processed and skip a repeat. Read [Receive Youniton webhooks](https://docs.youniton.com/api/guides/receive-webhooks.md). --- Page: https://docs.youniton.com/api/ Markdown: https://docs.youniton.com/api/index.md # Introduction Youniton is flexible, API-first work management for teams that deliver work to clients. It is built to connect with your other applications. **One contract for the apps and for you** The Youniton apps and your integrations call the same API. 79 operations are open to tokens, from projects and tickets to time, memory and help-desk intake. [Start the quickstart](https://docs.youniton.com/api/quickstart.md) · [Open the API reference](https://docs.youniton.com/api/reference/index.md) ## What you can connect Use the API from a server, a script, an automation or an agent. Each kind of caller has its own credential. - [Your client's service desk New](https://docs.youniton.com/api/guides/help-desk-requests.md): Send requests from the client's own system into a project's help desk. Read their status and reply. - [Meetings and agents New](https://docs.youniton.com/api/guides/project-memory.md): Write Markdown notes into a project's memory by path. A retry with the same body changes nothing. - [Your own tools](https://docs.youniton.com/api/reference/work.md): Create and change tickets, add comments, read boards and backlogs. - [Time and payroll](https://docs.youniton.com/api/reference/time.md): Log time, read week grids and timesheets, submit your own timesheet. - [Webhooks out](https://docs.youniton.com/api/guides/receive-webhooks.md): Get signed deliveries when automation rules fire or help-desk requests change. - [Webhooks in](https://docs.youniton.com/api/guides/automation-inbound-webhooks.md): Start automation flows from another system with a signed call. ## The credentials | Credential | Prefix | Who uses it | Status | |---|---|---|---| | Personal access token | `kanso_pat_` | A member's scripts and integrations. It acts as the member, narrowed by its abilities. | Available | | Help-desk service token | `kanso_hdt_` | A client's own system. It acts as one help-desk connection, never as a person. | Available | | Agent token | `kanso_agt_` | An agent identity on the agent API and the MCP server. | Available | | Browser session | — | The Youniton apps only. Do not use it for integrations. | App only | Read [Authentication](https://docs.youniton.com/api/authentication.md) for abilities, expiry, rotation and revocation. ## How the API works - **Base URL.** The API lives on the app host of your workspace, under `/api/v1`. The examples use the placeholder `https://app.youniton.example/api/v1`. - **JSON in, JSON out.** A response has a plain envelope `{data, meta, links}`. Names are camelCase. Times are RFC 3339 in UTC, for example `2026-10-20T13:10:00Z`. Durations are whole minutes. - **One error shape.** Every error is an `application/problem+json` document with a stable `code`. See [Errors](https://docs.youniton.com/api/errors.md). - **Safe retries.** Creating `POST` calls take an `Idempotency-Key`; writes to versioned records take `If-Match`. See [Idempotency](https://docs.youniton.com/api/idempotency.md) and [Versioning & If-Match](https://docs.youniton.com/api/versioning.md). - **Server to server.** The public API sends no CORS headers. Call it from your server, not from browser code on another origin. - **Hidden is missing.** A record that you cannot see answers `404`, the same as a record that does not exist. ## Where data goes Youniton hosts and stores data in the EU. The answers of the AI assistant come from Anthropic, outside the EU. Two things are your choice: the HTTPS endpoints that an Admin registers for outgoing webhooks can be anywhere, and the [Slack connection](https://docs.youniton.com/api/tools/slack.md) is opt-in, off by default and outside the EU. Youniton tells you each time. ## What is in the reference The reference comes from the OpenAPI 1.0.0-baseline contract: 1000 operations on 805 paths. By default it shows the operations that a token can call. The Youniton apps use the other 897; switch on *Show app-only endpoints* to see them. - [Projects](https://docs.youniton.com/api/reference/projects.md): 3 token operations - [Tickets & boards](https://docs.youniton.com/api/reference/work.md): 23 token operations - [Time](https://docs.youniton.com/api/reference/time.md): 12 token operations - [Docs](https://docs.youniton.com/api/reference/docs.md): 5 token operations - [Memory](https://docs.youniton.com/api/reference/memory.md): 11 token operations - [Clients & contacts](https://docs.youniton.com/api/reference/clients.md): 14 token operations - [Search](https://docs.youniton.com/api/reference/search.md): 1 token operation - [Help-desk intake](https://docs.youniton.com/api/reference/help-desk.md): 10 token operations - [Agent API](https://docs.youniton.com/api/reference/agent.md): 24 token operations --- Page: https://docs.youniton.com/api/pagination Markdown: https://docs.youniton.com/api/pagination.md # Pagination Lists come in pages. Most lists use an opaque cursor; a few catalogues use page numbers with totals. ## Cursor pages Most lists use a cursor: ticket lists, the backlog, activity, comments, notifications, conversations and worklogs. | Parameter | Meaning | |---|---| | `page[size]` | The number of rows. The default is 25 and the maximum is 100. Some lists have their own default, for example 50 for the backlog and 20 for activity. | | `page[cursor]` | The cursor of the next page. Take it from `links.next`; do not build it. | *A cursor page* ```json { "data": [ { "key": "ORB-124", "title": "Design the approval experience", "version": 12 }, { "key": "ORB-125", "title": "Secure document links", "version": 3 } ], "meta": { "page": { "size": 25, "hasMore": true } }, "links": { "next": "/api/v1/projects/ORB/tickets?page%5Bcursor%5D=eyJrIjpbIjBWIl0sImlkIjoi" } } ``` Follow `links.next` while `meta.page.hasMore` is `true`. *Read every page* **JavaScript** ```js const origin = "https://app.youniton.example"; let next = "/api/v1/projects/ORB/tickets?page%5Bsize%5D=100"; const rows = []; while (next) { const res = await fetch(origin + next, { headers: { Authorization: `Bearer ${process.env.YOUNITON_TOKEN}` } }); const page = await res.json(); rows.push(...page.data); next = page.meta.page.hasMore ? page.links.next : null; } ``` **Python** ```python origin = "https://app.youniton.example" next_url = "/api/v1/projects/ORB/tickets?page%5Bsize%5D=100" rows = [] while next_url: page = requests.get(origin + next_url, headers=headers).json() rows.extend(page["data"]) next_url = page["links"]["next"] if page["meta"]["page"]["hasMore"] else None ``` ### Rules of a cursor - A cursor is opaque and has no state on the server. - A cursor is bound to the filters and the sort that made it. A cursor with other filters answers `400 query.cursor_invalid`. - `page[size]` above 100 answers `400 query.invalid`. ## Numbered pages A few catalogues, for example the project list, use page numbers: `page[number]` (from 1) and `page[size]` from a fixed set (10, 20, 25, 30, 50 or 100). The answer has `meta.page {number, size, total, totalPages}`. Totals can be up to 60 seconds old. ## Bounded lists Some lists are not paged: board columns (the first 100 cards of each column, then a cursor per column), stages, roles, teams and search (at most 20 results). ## The help-desk change cursor The help-desk request list has its own cursor, `changeCursor`, because a client's system polls it. [`GET /help-desk/requests`](https://docs.youniton.com/api/reference/help-desk.md#listIntakeRequests) - Start a first sync with `updatedSince` (an instant, inclusive). - Each answer has `meta.changeCursor`, also when the page is empty, and `meta.hasMore`. - When `hasMore` is `true`, send `changeCursor` at once for the next page. When it is `false`, wait before the next poll. - Rows come oldest change first, 50 per page. A change shows only after a settle window of 30 seconds, so a poll never skips a change that commits late. - `changeCursor` together with `updatedSince`, or `page[cursor]` on this list, answers `400`. A cursor of an older connection version answers `400 query.cursor_invalid` with `reason: scope_changed`: sync again from `updatedSince`. ## Filters and sorting | Feature | Form | |---|---| | filters | `filter[priority]=high,medium` · `filter[dueDate][gte]=2026-10-01` · `filter[assigneeId]=me` | | custom fields | `filter[cf.region]=