Deal Desk
api · 3 routes
- Ledger sync finance hxk_••3f9a
- Quoting tool sales hxk_••c71e
- Revenue app another Helix app hxk_••08bd
Every app ends up holding something another system wants. The deal desk app knows every approved discount. The asset tracker knows who has which laptop. Until now, getting at that data from outside meant building a separate API, or asking someone to export a spreadsheet every week.
Now a Helix app is also a service. Create a token, hand it to the system that needs the data, and it calls the app’s routes directly. The app doesn’t change.
What that gives the team that built the app:
- No second build. The routes the app already has are the API. A nightly job, a webhook or another app calls them the same way the browser does.
- One token per caller. Name each one after what uses it, such as “Nightly ledger sync”, so the list says who is calling.
- Nothing new in the code. The request runs as an API user, so the app’s own access rules apply to it like anyone else.
What it gives IT:
- Every caller is a named user. No shared password or anonymous access. Each token acts as an API user in your organization, and that user only has the access you give it.
- Expiry you set. Tokens last 30 days, 90 days or a year.
- Revoke in one step. Delete a token and the next request carrying it is rejected.
- On the record. Creating or deleting a token is logged in the organization’s activity trail, with who did it, the token’s name and the API user. The token itself is shown once and stored nowhere you can read it back.
An example
A sales team runs its deal desk app on Helix. Reps request discounts, managers approve them, and the app keeps every decision. Finance wants those approvals in the ledger every night, and the quoting tool wants to file requests without a rep retyping them.
- Quoting tool
- Deal desk app
- Manager approves
- Nightly job
- Ledger
1. An admin sets up the caller
An organization admin creates an API user called “Finance ledger sync” in the deal desk’s workspace. On the app’s Access Control tab, they create a token that acts as that user, name it “Nightly ledger sync” and set it to expire in 90 days.
2. Finance’s job calls the app
The nightly job reads the day’s approvals from the route the managers’ view already uses, sending the token as a bearer token.
$ curl $APP_URL/api/v1/approvals -H "Authorization: Bearer hxk_..."
The deal desk code is untouched. The app sees a request from “Finance ledger sync” and answers it.
3. The quoting tool files requests
The quoting team gets its own token, acting as its own API user. Their tool posts new discount requests to the same route the form uses, and managers see them in the queue as usual.
4. A token is retired
The quoting tool is replaced. An admin deletes its token, the next call is rejected, and the activity trail shows who deleted it and when. Finance’s token keeps working.
What teams can wire up
Finance. A month-end close app that the ERP’s scheduled job reads each night, so reconciled balances land without an export. A spend request app that the procurement tool posts into when a purchase order is raised.
Sales and revenue. A commissions app that pulls closed deals from the CRM’s webhook as they close, so reps see their number the same day. A renewals tracker that the billing system updates when an invoice is paid.
IT. An asset tracker that the onboarding app calls to raise a laptop request for every new starter, and the offboarding script calls to mark it returned. A software access app that the identity provider’s webhook updates when someone changes team.
People teams. A performance review app that the HR system reads at the end of each cycle, so ratings never get copied by hand.
Operations. A field service log that the dispatch system posts each completed visit into, and a BI tool reads every morning for the dashboard.
In every case the app was built for people first. The token is what lets the other systems in.
Before you build one
Create the API user first. A token always acts as an API user, so the app’s workspace needs one before the Create token button has anyone to pick. Since 17 November, organization owners and admins create API users in Helix itself, under Organization settings, then Tokens.
Copy the token when it appears. It is shown once. If it’s lost, delete it and create a new one.
Keep it out of code and prompts. Store the token in the calling system’s secret store, never in source code or an AI assistant’s prompt.
A project holds up to 50 live tokens. Expired tokens drop off the list on their own.
How to create, use and delete tokens is in the docs linked above.