Skip to content

Call other applications

Markdown

An application can call the actions of another application, its sub-app, instead of writing them again.

Published applications are listed at GET /v1/catalog, and one of them, with the OpenAPI document of the version it has in production, at GET /v1/catalog/{app}, {app} being its slug. Both are public: an assistant that has to sign in before it can see what exists cannot compare two of them. Each entry names its team’s slug in group, null when the team has none; the older GET /v1/groups/{group}/apps/{app} still answers for links already written.

Your own group’s applications, private ones included, are sub-apps too: catalog_search and catalog_read list those with a version in production, app_list lists them all, and your applications call them without review. One with no production yet answers 409 sub-application not published to every call, since a sub-app always runs its production version: try its --staging by calling it directly with app_run.

Declare the one you want in your manifest, by its app_id — a name can be renamed, an id cannot — then deploy, and publish:

manifest.json
"x-apigami": {
"subapps": [{ "app_id": "THE_SUBAPP_APP_ID" }]
}

The declaration belongs to the version, like its code: the version that calls must declare what it calls, or a sub-app it declares must have had it for mandatory when the version was written, and rolling back to an older version brings back the sub-apps it declared. Each entry takes four optional fields: is_optional (false by default), and is_mcp_exposed with mcp_tool_prefix and mcp_excluded_tools, which offer its tools on your application’s MCP server, all of them but those you exclude, such as the sending your application does itself; the manifest says what each does and what is refused. Then call its action from your own code at the sub-app’s address, on the method and path its manifest declares, with a plain fetch and no Apigami header: Apigami knows the call comes from your version, and carries the person your code is serving (Call another application):

await fetch('https://mail-sync.apigami.tech/messages/list', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ since: '2026-09-01' }),
})

The address is https://{slug}.apigami.tech, the slug of its catalog entry, and catalog_read gives each action’s method and path. A cron, a task or a subscription of yours calls it the same way. A trial, app_run on a version not deployed yet, cannot call a sub-app: the call answers 401 bad client credentials whatever your code does, since only a deployed version carries who calls, so deploy the version with app_deploy, then run it again.

Declaring an application gives you its actions and those of its mandatory sub-apps, as its production declares them when your version is written, not those of its optional ones. A mandatory sub-app is part of the application that declares it, down the chain: your version calls its actions without declaring it. An optional sub-app of a sub-app answers 403 not_a_subapp until your version declares it too: the version is accepted with the warning subapp_has_optional_subapps, which names them. Its events need no declaration: they reach your subscriptions once the person accepted it (Hear the events of the applications under yours). A hub that gathers optional connectors is the usual case: declare the hub for its pages and its actions, and each connector whose actions you call; one subscription to message.* hears the messages of every connector each person accepted. An application, whatever its visibility, offers an optional sub-app that is private or unlisted only to people of a team that may call it: its own team, or a team it was opened to. Nobody else is shown it, can accept it or call it.

What a version may call through a sub-app is fixed when it is written, like its declarations: a mandatory sub-app the sub-app adds later comes to your next version, and app_status says what your production misses. One it drops stops your calls to it for a person at once, since the person is no longer reached through it; to keep an application whatever a sub-app publishes, declare it yourself. Opening its pages with apigami.open(), and apigami.subapps(), take a declaration of your own; an alias follows the aliases of mandatory sub-apps. What flows down is the person: connected to your application, they are served by every application below it, past the optional ones they accepted.

The user who approved your application does not connect to the one you use underneath: its sites, and the emails or the AI it uses, count among what they approve for your application, unless you made it optional. When it has settings for each person, your home page shows them (Show the settings of the sub-apps you call): the link people keep is yours, not the sub-app’s. The sub-app’s own link is for its trials, where its author has the person connect it and tries its actions on real data before you build on them. Your pages call its actions with apigami.call(action, input, { app }), under the same declaration. An application you call never learns which browser it is talking to — it is given a stable reference that says two invocations came from the same one, and nothing more.

An action served at a path template, such as GET /v3/grants/{grant_id}/messages, is called at its concrete path, GET https://email-calendar.apigami.tech/v3/grants/abc/messages?limit=5 (how an action receives its input).

A sub-app knows a person by the user_ref of its own group. It sees the same one whichever application calls it, and the same as when the person uses it directly; it differs from the one your application sees only when the sub-app belongs to another group. What they already set up in the sub-app, such as tokens it keeps on that user_ref, works when your application calls it: nothing is asked again unless the sub-app answers that a setting is missing (X-Apigami-Settings).

The name and email go where the person said. A sub-app of your group that declares identity receives the person’s name and email once they granted it to your application, when every application between yours and it belongs to your group too. A sub-app of another group receives them only when you declare it optional and the person authorized it on its own line of the screen, « Sub-app will see your name and email address », with its team: never as a permission of your application, never when it is mandatory, never past an application of a third group, and never for an account whose email is not verified. It then reads them by its key, or from its own page; under a run, only when your application is the root and every application that called on the way is of its group: a call from yours reads identity: null, since its answer comes back to you. A path through an application of another group delivers nothing to an application of yours either: a run of yours that an application of another group called, or that stands under its root, reads identity: null. Passing the email yourself to an application of another group is yours to answer for: only to a subprocessor you declare.

When a sub-app fails, you get its own answer: its status, its body and its headers, minus every X-Apigami-* header it set, plus X-Apigami-Request-Id, streamed for as long as it runs. An answer with X-Apigami-Platform: 1 is Apigami refusing, { "error": "…" }: 403 not_a_subapp when the calling version does not declare it, nor does a sub-app it declares still have it for mandatory as when the version was written, 409 sub-application not published when it no longer has a production your application may call, 403 not paired when the person is not served, an optional sub-app they have not accepted, 403 subapp_not_accepted, or a value missing from its environment (409). A mandatory sub-app of an optional one has no switch of its own: the refusal then names the optional one, subapp_not_accepted (Mail), which the person accepts from its settings. There is no 202 and no answer to come back for: keep a sub-app’s action short. Its X-Apigami-Settings never reaches you: Apigami records the need for the person, GET /v1/me under your token lists it in settings_needed, and apigami.js shows the banner on your pages. Pass the sub-app’s status and message on; to send the person to repair it, give your own connect link, /connect?app_id={your app_id}, whose home shows the sub-app’s settings.

A sub-app always runs its production version, whether your application calls it from its production or from a version you are trying, and so do its queues, its subscriptions and its pages. Trying your --staging with a sub-app therefore makes it work for real, on the account of the member trying: a message it sends leaves. Your --staging calls it the ways your production does, its code’s own fetch, its pages and env.APIGAMI_KEY with X-Apigami-User-Ref, judged on what that version declares, and for your team’s members only: anyone else answers 403 a --staging version acts for its team's members only. The sub-app cannot tell the two apart, so what it keeps for your application, it keeps for both. To try a sub-app’s own --staging, call it directly, as an application of its own: with app_run on it, or at its --staging address with its key, or with the key of an application of its group whose production declares it, when it is private. A sub-app with no production yet answers 409 sub-application not published.

To hear what a sub-app emits, subscribe to its type: nothing to declare (Hear the events of the applications under yours).

A sub-app called from your code or your pages gets the person in x-apigami-user-ref, as its own group knows them, with x-apigami-credential: subapp and your application in x-apigami-caller-app-id; GET /v1/me under its X-Apigami-Run says the same.

What a sub-app asks for, the person grants under your application. A site it reaches through the browser is approved in the same consent window as yours, which names your application; its emails and its AI are granted on the screen your application shows. When a version you publish declares a new sub-app, or a sub-app you call publishes a version that asks for more, the people already connected are asked for what is new only, sites, emails, AI and identity, on the screen of new permissions at their next opening of one of your pages, your install link or your link from POST /connect/par; a site only where their Apigami extension can approve it, else at its first call (Site approval). Until then only that use is refused, never the sub-app as a whole.

Its subprocessors and terms are inherited too. Its subprocessors count among those of your application, without you copying them: catalog_read lists each one with the sub-app that brought it. The person agrees to its terms on the same screen as yours, in a box of its own named after it, and a sub-app’s production that adds a subprocessor or changes its terms is asked again the same way. Until they agree, every use of that sub-app for them answers 403 consent requested with terms.

A version that stops declaring a sub-app closes, at its publication, the live streams the sub-app held under your application; its tasks for someone it no longer reaches are refused when they run.

A sub-app serves only the person the request serves: a mail sub-app called for one teammate reads that teammate’s mailbox, and no call of yours reads a colleague’s. What a team should see is therefore copied into your application’s own database: under each person’s request, or a task that names them, read their mails from the sub-app and write the ones to share into a table of yours, keyed by an id that is the same for everyone who holds the mail, its Message-ID header, under a unique constraint, so that a mail two teammates received is stored once. The id a mailbox gives a mail differs from one mailbox to the next: keep it beside, never as the key. Your pages then read your table, for every member.

Who sees it is who connects to your application. A private application, the default, is open to the members of your group, each added with group_write; someone outside your group needs the application unlisted (Visibility). The CRM starter is written this way.

Hear the events of the applications under yours

Section titled “Hear the events of the applications under yours”

A subscription names a type and the action that receives it, nothing else: { "type": "message.*", "action": "messageReceive" } in x-apigami.subscriptions (Events). It hears that type from every application that serves the person under yours: your sub-apps, their mandatory sub-apps and the optional ones the person accepted, at any depth, with no declaration for it. A connector that a hub you declare adds later reaches you without a version of yours. The envelope’s app_id says which application emitted the event, and its user_ref names the person as your group knows them. Hearing is wider than calling: you call only what your version declares and the mandatory sub-apps that come with it.

You hear an event that names a person when all of these hold:

  • an application that person connected to has yours on its way down to the emitter, past no optional sub-app they have not accepted, and they granted that application every site the emitter reaches through the browser;
  • they agreed to that application’s terms;
  • your group may call the emitter: a private application of another group, or another group’s application whose production was never reviewed, is never heard, even under a public hub;
  • your subscription takes the type and is not disabled.

An acceptance covers the whole sub-app: accepting a mail connector covers each mailbox it syncs, which the person chooses in the connector, never in Apigami. An acceptance under any application whose way down passes through yours counts: when R declares yours and yours declares a hub, a person who refused a connector under yours and accepted it under R is heard through R. Withdrawing it stops the deliveries that follow, those already waiting or being retried included: Apigami checks the way again before each delivery.

An event that names no one, a cron’s for instance, reaches only an application whose version declares its emitter or has it for a mandatory sub-app of one it declares. Apigami’s own events are about the application they name: app_user.*, stream.*, extension.* and app.health.* reach that application alone, never one above it, and subapp_user.* also reaches the application just above that declares it. An application never hears what it emits itself. The end of a task, task.completed, goes to the application that asked for it alone (When a task ends).

In the middle of a chain you hear too, and your action runs under the application they connected to, with their browser: your production’s subscription only, since a sub-app always runs its production version. Your --staging hears an event only for your team’s members connected to your application, only from an application of your own team, and only along the way your production declares: until you publish, a sub-app only your --staging declares serves its calls that name nobody and answers one for a person 403 not_a_subapp, none of its events naming a person reach you, and a task you give it is accepted and then ends failed when it runs, unless the person is connected to the sub-app itself. To try them first, try in an application that has no production yet, whose newest version is the one that counts. An event emitted by code never published, a --staging called directly, reaches only the --staging subscriptions of its own team, and its own webhooks: no production hears it.

app_webhooks lists your subscriptions apart from your webhooks, under Subscriptions, from your manifest: each action and environment with its types, the applications under yours whose production emits one, and each delivery with the application that emitted its event. app_webhooks_write disables or enables one and sends a delivery again; only a deployment changes them.

Optional sub-apps: each person accepts them

Section titled “Optional sub-apps: each person accepts them”

A sub-app counts for everyone who uses your application: its sites are among the ones they approve when they connect, and one that works through the browser makes them all install Apigami in Chrome, on their phone too, even those who will never use it. Make it optional instead, and each person accepts it for themselves, when they need it:

manifest.json
"subapps": [{ "app_id": "THE_SUBAPP_APP_ID", "is_optional": true }]

Until a person accepts it:

  • its sites, its permissions (emails, ai, identity, its own line when of another group) and its subprocessors and terms do not count for them: your connect page lists them apart, as what may be asked later, asks for no browser for them alone, and no window or screen ever asks for them;
  • Apigami refuses to call it for them, 403 subapp_not_accepted: from your actions and your pages, from a task of its queues that names them, and with your API key and X-Apigami-User-Ref. A run that serves nobody, a cron or an open action, is not concerned.

A person accepts it from one of your pages, with the same apigami.open(subapp, path) that opens its settings, on a click. When it adds no site through the browser, no permission they have not already decided and no terms to agree to, the window goes straight to path. Otherwise Apigami shows its own screen first, in your application’s name, never the sub-app’s: only what it adds, the box of each application’s terms included, and the sub-app’s own identity line when it is of another group and declares identity, with Authorize, greyed until every box is ticked, or Close; then the browser and Chrome’s prompt when a site needs one. Someone who accepted that sub-app before its identity line existed sees the screen, that line alone, the next time your page opens it. Once they choose Authorize, the window lands on path, where the sub-app finishes its own sign-in, with their browser. A link built anywhere else never accepts anything: the window carries a request_uri that only your page, under the person’s session, obtains from Apigami, claimed once by that window within 90 seconds.

apigami.subapps() tells your page where the person stands, for every sub-app the version serving your page declares: [{ app_id, name, is_optional, is_accepted, needs_browser, domains, logo_url, brand_color, metadata }], is_accepted false until they accept an optional one, or reach it another way, as a mandatory sub-app of one they accepted, always true for one that is not. logo_url is the address of the sub-app’s logo and brand_color its colour as #rrggbb, each null when its author set none; metadata holds the pairs its production declares in x-apigami.metadata, {} without any, which Apigami passes on without reading: draw a sub-app from these rather than from a list of names written in your page. An optional sub-app the person’s team may not call is left out: build your sections from this list, never from a list written in the page. Read it before calling an optional sub-app’s actions, and show a button instead:

your home page, the section of an optional sub-app
<section id="mail"></section>
<script src="https://api.eu.apigami.com/apigami.js"></script>
<script type="module">
const SUBAPP = 'THE_SUBAPP_APP_ID'
const section = document.querySelector('#mail')
const draw = async () => {
const subapp = (await apigami.subapps()).find((each) => each.app_id === SUBAPP)
const button = document.createElement('button')
if (!subapp.is_accepted) {
button.textContent = 'Connect'
button.onclick = async () => { await apigami.open(SUBAPP, '/oauth/start'); draw() }
return section.replaceChildren(subapp.needs_browser ? 'Not set up (on a computer, with Chrome) ' : 'Not set up ', button)
}
const status = await apigami.call('settingsStatus', {}, { app: SUBAPP })
button.textContent = status.state === 'ok' ? 'Disconnect' : 'Connect'
button.onclick = async () => {
if (status.state === 'ok') await apigami.call('signOut', {}, { app: SUBAPP })
else await apigami.open(SUBAPP, '/oauth/start')
draw()
}
section.replaceChildren(status.state === 'ok' ? `Connected: ${status.account} ` : 'Not connected ', button)
}
await apigami.ready()
draw()
</script>
  • Accepting belongs to the person and to the application they connected to, whatever the depth: when X calls your application, which calls the sub-app, the person accepts it under X, from your page opened by X. It holds in all their browsers, and on their phone once made on a computer.
  • Approvals stay yours. Chrome’s window names the application the person connected to, never the sub-app, and the sub-app’s calls are judged on that application’s approvals.
  • A sub-app you make optional in a new version stays for everyone it served: at the publication, every person connected to an application that reaches it keeps it, as if they had accepted it, so nobody loses what worked; people who connect afterwards accept it themselves. Making it mandatory again makes it count for everyone: those who never accepted it are asked on that screen.
  • Only the person removes it, from their account page, which lists under your application what each optional sub-app they accepted added, sites and permissions, never the sub-app’s name, each with Remove. It takes away the approvals that sub-app alone brought them, closes the live streams on those sites, and cuts its runs in flight at their next call. Your application cannot remove it: send the person to their account page. To stop everyone’s use, publish a version that no longer declares it.
  • No event names the sub-app to your application. Read apigami.subapps() when your page opens; the sub-app itself hears subapp_user.accepted and subapp_user.removed (When an application calls yours).

Show the settings of the sub-apps you call

Section titled “Show the settings of the sub-apps you call”

When your application calls a sub-app (Reuse another application: a sub-app) that keeps something for each person, a connection to a service or a default project, your home page shows its settings, drawn by you from the sub-app’s own actions. The person keeps one link, yours, and sets everything up there. What they connected in the sub-app before, from its own link while its author tried it for instance, is already connected here.

catalog_read lists a sub-app’s settings actions, tagged settings in its manifest. Call them with apigami.call(action, input, { app }). A sub-app that connects a service answers settingsStatus and signOut (Expose your settings), and its connection opens with apigami.open(subapp, '/oauth/start'):

your home page, the section of one sub-app
<section id="mail"></section>
<script src="https://api.eu.apigami.com/apigami.js"></script>
<script type="module">
const SUBAPP = 'THE_SUBAPP_APP_ID'
const section = document.querySelector('#mail')
const draw = async () => {
const status = await apigami.call('settingsStatus', {}, { app: SUBAPP })
const button = document.createElement('button')
button.textContent = status.state === 'ok' ? 'Disconnect' : status.state === 'reconnect' ? 'Reconnect' : 'Connect'
button.onclick = async () => {
// apigami.open() is called before any await: the browser allows a window on a click only.
if (status.state === 'ok') await apigami.call('signOut', {}, { app: SUBAPP })
else await apigami.open(SUBAPP, '/oauth/start')
draw()
}
section.replaceChildren(status.state === 'ok' ? `Connected: ${status.account} ` : 'Not connected ', button)
}
await apigami.ready()
draw()
</script>
  • apigami.open opens a window at once, then sends it to the sub-app’s own address, where the sub-app gets its session for this person without a click, since approving your application covers the sub-apps it calls. The sub-app’s /oauth/start then leads to the service.
  • It resolves on the sub-app’s apigami:settings-changed message, or when your page gets the focus back, since a service may cut the window off from your page: read the status again then.
  • From your --staging address, it opens a sub-app only that version declares, for a member of your team: the sub-app’s session is judged on your --staging, each renewal checking that the person is still in your team, and the sub-app runs its production there too.
  • One connection counts for every application that uses the sub-app. The sub-app knows the person by the same user_ref under each, so someone who connected it from another application finds it connected here.
  • Your page calls the sub-apps the version serving it declares, and their mandatory sub-apps, as they were when it was written: the settings of a mandatory sub-app of your sub-app are that sub-app’s to show, and your page may call them too. An optional sub-app of your sub-app is called only once you declare it too. Your page opens only the sub-apps you declare.
  • An optional sub-app answers 403 subapp_not_accepted until the person accepts it, and so do its mandatory sub-apps, naming it: read apigami.subapps() first, and show the button that opens it.
  • When a sub-app needs the person, a refused refresh token for instance, apigami.js shows a banner on your other pages, leading to your connect link, which opens your home: its section says what to do.

Open a sub-app’s page at your own address, in the same tab and with no click, where apigami.open() needs one: declare a page of yours as its alias (Another application’s page at your address). Your home can then leave for it on its own with location.replace('/connectors'), and the sub-app’s page comes back to your home through apigami.done({ result }). The person sees the sub-app’s address; on the sub-app’s home, « Settings » opens your settings page, never the sub-app’s.

Expose your settings to the applications that call yours

Section titled “Expose your settings to the applications that call yours”

A sub-app is an application that others call (Reuse another application: a sub-app). When yours keeps something for each person, a connection to a service or a default, it exposes its settings as actions, and each application that calls it shows them on its own home page (Show the settings of the sub-apps you call). In the manifest, its OpenAPI and one small settings page in x-apigami.pages:

  • Tag each settings action "tags": ["settings"]: a post that serves one person, 401 without a user_ref, with a summary written for that person. catalog_read lists them for the agent of each application that considers calling yours.
  • A sub-app that connects a service answers two fixed names: settingsStatus, which answers { state: 'ok' | 'setup' | 'reconnect', account, settings? } and always sets X-Apigami-Settings to that state, and signOut, which deletes the tokens and answers { state: 'setup' }.
  • Any other setting is a tagged action with a requestBody, such as setDefaultProject.
  • The connection is not an action: the calling page opens your /oauth/start with apigami.open(), and your /oauth/start and /oauth/callback read the person in x-apigami-user-ref, as Sign in to other services shows. Your last page calls apigami.done({ result }), which closes the window and tells the calling page, or, opened in the same tab by an alias, leads back to that application’s home with ?apigami_result=. Nothing in your pages names the application that calls yours.
  • Never answer a link from an action. Your own link is for your trials, and for someone who uses your application on its own: while you build it, give it to the person, so that they connect the service and you try your actions on their real data before an application builds on them. Once an application calls yours, people keep that application’s link, whose home shows your settings, and approving it covers yours. A connection made from your link stays: you know the person by the same user_ref under every application that uses yours.
  • Keep a minimal settings page for your own link to open: Connect, a link to your /oauth/start in the same tab, the account connected, from settingsStatus, and Disconnect, through signOut. Without one, your link ends on “Connected” and nothing lets the person sign in to the service.
  • Your settings actions are an API: renaming one, or changing what it answers, breaks the section of every application that calls yours.

Nothing changes in what you write: a call that reaches your application is allowed, and you never learn which application brought it, or whether its declaration is optional.

  • What you may do for a person. Your application reaches a person when they connected to it, or when an application they connected to reaches yours, past no optional sub-app they have not accepted. That one rule holds for your API key, your tasks and your actions alike: POST /call, POST /requests, emails, AI, queues and live streams. You never name the application: Apigami takes one of theirs that approved what the call needs, a site your production declares through the browser, emails or ai, and a single approval anywhere is enough. Your key never opens a window for someone who is not connected to your application: when nobody decided, the call answers 403 consent requested without consentPending (with permission for emails or AI); the application they connected to asks, from one of its pages or runs. Put the work aside and try again later; never send them to your own install link.
  • Your people. Under your key, GET /v1/users, GET /v1/installs and GET /v1/users/{user_ref}/installs list the people connected to your application directly, plus those you reach through another application and your team already knows, because your group holds their user_ref: a run of yours served them, or another application of your team knows them. connected_at is then when your team first knew them. Each person carries acceptances: [{ root_app_id, accepted_at }], the applications they accepted yours under as an optional sub-app, empty otherwise.
  • Your events. subapp_user.accepted, when a person enters that list under an application, with root_app_id and accepted_at, and subapp_user.removed, with root_app_id, when they leave it: they removed you from their account page, disconnected from that application, or it published a version that no longer declares you optional. They may still reach you another way, directly or through another application: to know when to erase what you keep on them, read People you no longer reach. The extension.* events reach you for everyone you reach. subapp_user.* is also heard by the application just above you that declares yours and serves the person, never higher.
  • Your mandatory sub-apps. An application that declares yours may also call the mandatory sub-apps of yours, as your production had them when its version was written. Publishing a version that no longer declares one of them, or makes it optional, warns mandatory_subapp_removed, naming your team’s applications that call it through yours and counting those of other teams: their calls to it for a person may stop. Keep it mandatory, or have them declare it in their own x-apigami.subapps.
  • Events you emit. An event names the person your run serves, or the user_ref you put in its data; a run that serves nobody names nobody unless you do. Every application you serve that person under hears it, as Hear the events of the applications under yours says, one that names nobody only the applications whose version declares yours or has it for a mandatory sub-app, and your own webhooks get all of yours. Name a type for what it means, message.created, never for who you are: the envelope’s app_id says that.
  • Live streams. Your pages and actions may hold live streams while you reach the person: they are judged on the approvals of the application they connected to, and their stream.* reach your endpoints and subscriptions alone, never an application above yours. They close when the person removes you, disconnects, or that application stops declaring you.
  • Your queues. You have one set of queues per environment, whichever application calls you: one queue holds a person’s work whoever asked for it. Under an application’s run that serves a person, you see that person’s queues and tasks only. Each task runs as your own application, for the person it names, and a person you no longer reach makes it fail when it runs, a failed end you hear like any other.
  • An address of theirs for your public pages. An application that calls yours may serve your public pages, those of kind page and your open_actions, under a domain of its own (Your domain for the public pages of an application you call). There, only your production answers, to everyone as to a visitor: no person, no cookie, no home or settings page. Every request there carries x-apigami-root-app-id, the application whose address it is, and never x-apigami-user-ref: that is how you tell it from a person’s request. For every link you send out of a page, in an email, a calendar file, a link someone copies, read origin_under_root from GET /v1/me under the person’s run or page: the address of the application they came through, or null, then use your own. Your own address keeps serving every link already sent. Try your links in production: --staging is never served there. Your production must answer GET /healthz with 200: that address is put and kept on line only while it does. No Authorization header reaches your code there, and every /__apigami/ path but the session answers Apigami’s 404: apigami.connect(), apigami.me(), apigami.call() with app and the support bubble do not work there. Keep the pages that need them at your own address.
  • Work without a person. Your own crons run as your application. For browser work they name the person in each task, or call POST /call with your key, for anyone you reach.