Appifio Creator Backend tab with scoped API key for appifio_client
Creator Backend - API key

Appifio Creator · Lesson AM01 · Method series · Usable without being a developer

appifio_client:
how to call it & the standard response

Starter lesson: the helper already on your page, how to read success / message / data, and a full method map from the Aura Storage API reference - no PHP required.

Learning goals: Call await appifio_client.…(), read the result correctly, and know which of AM02-AM08 covers each method group.

Prerequisites: Backend tab → Advanced → save in that tab → click Save changes.

Canonical source: Aura Storage API guide · API REFERENCE

Important - Prompt & Skills

Creator → Prompt & SkillsAppifio prompt template → turn on exactly: Appifio Aura Storage (Advanced) - Complete AI Guide. The agent then has the Storage prompts/skills - you do not need to paste Storage docs yourself.

Do not enable the Easy template (Appifio Easy Storage - Complete AI Guide) at the same time - that conflicts and confuses the AI.

1. Simple mental model

Your page already ships with a helper named appifio_client. You only name the job (a method) - the helper talks to Aura Storage and replies. You do not rewrite the helper.

Your page → await appifio_client.appifio_methodName(...)
→ Aura Storage handles it
→ Returns a result box: { success, message, data? }

2. Standard result box (every network method)

FieldPlain meaningType
successDid it work?true / false
messageSuccess or error textstring
dataUseful payload (list, id, url…) - may be missing on failureobject (varies by method)
Some network / permission failures (401, 403, payload too large 413, too many requests 429) may throw instead of returning only success: false. Wrap calls in try/catch and show a friendly message (e.g. “Try again later”).

The client attaches your project id and admin session (if you are logged in) automatically - you do not hand-wire those on every call.

3. Safe call pattern (copy-ready)

Code editor showing appifio_client readList safe call pattern
Safe call pattern
try {
  const res = await appifio_client.appifio_readList('contacts.json', ['id', 'name', 'email']);
  if (res.success) {
    const rows = res.data?.content || []; // lists always live under content
    // ... render on the page
  } else {
    alert(res.message || 'Could not read data');
  }
} catch (e) {
  alert(e.message || 'Connection error - try again later');
}
Do not write typeof appifio_client === 'undefined' to “wait for load”. The system queues calls until the client is ready. Offline helpers (AM08) are called without await.

4. Who can call? (Auth - short)

Label in AM lessonsMeaning
PublicWorks for visitors who are not logged into admin (default)
Admin+Requires login (user / admin / super admin) unless noted otherwise
Super adminHighest owner account only
Role user blockedLight editor role: some delete / dangerous actions are blocked

5. Full method map (API REFERENCE → AM lessons)

§Methods (complete list)Lesson
1readList, readFile (+id), appendData, updateDataAM02
2readFile (flat), writeFile, createFile, deleteFile, restoreFile, hardDeleteFile, renameFile, copyFile, fileExists, getFileInfo, listFiles, searchFiles, findByName, readField, writeFieldAM03
3readFsFile, writeFsFile, deleteFsFile, listFsFiles, getFsFileInfo, uploadImage, uploadFileAM04
4getRoutes, addRoute, removeRouteAM05
5login, logout, getSession, validateAdminSession, isLoggedIn, getAuthSetupStatus, registerAdmin, changePassword, updateProfile, listAdmins, updateAdmin, deleteAdminAM06
6executeBackendFunctionAM07
7generateSlug, formatDateTime, formatFileSize, getRouteSlug, getQueryParamsAM08

All guide sections → AS / AM lessons

Guide sectionAS (concepts / UI)AM (technical)
OverviewAS01AM01 (map)
Globals & bootstrap-AM09
Date/time formatting-AM08
Data structuresAS02AM02
Admin authenticationAS05AM06
Absolute URLsAS04AM10
Empty data & routesAS03 · AS04AM10
Rate limit & IP blockAS03AM10
API REFERENCE-AM01-AM08
Backend functions & secretsAS06AM07
Deployment flowAS17(+ AM12)
System files & Aura CMSAS07-AS12AM11
Worked examples-AM12
The AM series does not teach internal CMS/MCP panel methods. Day-to-day CMS/MCP use: AS07-AS16 (UI buttons only).

6. How to read each method card later

Every function in AM02-AM08 includes:

  1. What it does - one plain sentence
  2. Who can call - Public / Admin+ / …
  3. Parameters - what you pass in
  4. How to call - sample line
  5. Return value - exact fields under data
  6. Notes - easy mistakes / limits

7. Checklist

  1. Can you check success and read data?
  2. Do you know lists live under data.content (AM02)?

Appifio Creator · Method series · AM01