API reference

Assistant: Pages

The shareable pages the assistant makes for you - forms that collect answers (an RSVP, a sign-up), invitations, pages that show files, link pages and small sites - served to anyone with their link. Read them and the answers their forms collected, change their settings, publish, pause, restore a version and delete. Their content is changed by asking the assistant. 8 endpoints. Add your API key in the authentication panel to send test requests from this page.

List your pages

GET/api/external/v1/assistant/pages

Your pages, the one changed last first, as items, with caps (live and maxLive: pages shown or paused against what your plan allows; total and maxTotal).

Each page has id, slug, url (its public address), title, description, byline, purpose (FORM, EVENT, SHOWCASE, SITE, LINKS, OTHER), language, status (your switch: DRAFT, LIVE, PAUSED), shown (how it stands for visitors: LIVE, PROTECTED, DRAFT, PAUSED, ENDED, TAKEN_DOWN, UNAVAILABLE), passwordProtected, expiresAt, notifyOn (EACH answer brings a notice, or NONE), version, accent, views, lastViewedAt, responses, newResponses (since you last looked), lastResponseAt, takenDownReason, createdBy (PERSON when you made it, else the assistant), createdAt, updatedAt.

Responses

  • 200OK

Read a page

GET/api/external/v1/assistant/pages/{pageId}

One page whole: page (the shape of an entry of the list), doc (its content: a document of blocks and sub-pages), files (what it shows: id, name, kind, mime, sizeBytes ...), forms (each form block with its responses, newResponses, open and closedReason: CLOSED, FULL, ENDED) and versions (the last ones kept, for restoring: version, title, by, note, at).

Errors: 404 PAGE_NOT_FOUND.

Parameters

  • pageIdstring (uuid)pathRequired

Responses

  • 200OK

Change a page's settings or publish it

PATCH/api/external/v1/assistant/pages/{pageId}

Changes what is sent of a page's settings, as the app's page settings do, and answers the page.

Fields, all optional: title, slug (its address: 3 to 64 lowercase letters, digits and dashes, starting and ending with a letter or digit; not a reserved word, not another page's), description, byline, status (DRAFT, LIVE - publishes it to anyone with the link - or PAUSED), password (6 to 100 characters; empty removes it), expiresAt (a moment with its offset, like 2026-12-01T18:00:00+03:00; the page ends then), clearExpiry (true: it never ends), notifyOn (EACH or NONE), language (a two-letter code), purpose (FORM, EVENT, SHOWCASE, SITE, LINKS, OTHER).

Rules: publishing counts against your plan's live pages; a page an administrator took down can be neither published nor changed; a form never asks for passwords, PINs, card numbers or one-time codes.

Errors: 404 PAGE_NOT_FOUND; 400 PAGE_INVALID, PAGE_SLUG_INVALID, PAGE_PASSWORD_INVALID; 409 PAGE_SLUG_TAKEN, PAGE_LIMIT, PAGE_TAKEN_DOWN, PAGE_OFF, PLAN_FEATURE. The body of a refusal also carries problems.

Parameters

  • pageIdstring (uuid)pathRequired

Request body application/json

  • titlestring
  • slugstring
  • descriptionstring
  • bylinestring
  • statusstring
  • passwordstring
  • expiresAtstring
  • clearExpiryboolean
  • notifyOnstring
  • languagestring
  • purposestring

Responses

  • 200OK

Delete a page

DELETE/api/external/v1/assistant/pages/{pageId}

Deletes the page for good, with its versions, its answers and the files it owns; its address opens nothing from then on. Answers 204.

Errors: 404 PAGE_NOT_FOUND.

Parameters

  • pageIdstring (uuid)pathRequired

Responses

  • 200OK

Read a page's answers

GET/api/external/v1/assistant/pages/{pageId}/responses

The answers the page's forms collected, newest first: items (each with id, formId, at, answers by field, files the visitor sent - id, fieldId, name, mime, sizeBytes - and language), nextCursor (send it as cursor for the next page; null at the end) and summaries (per form: total, newSinceSeen, last and a summary per field).

Reading does not make answers old: mark them seen with POST .../responses/seen.

Errors: 400 INVALID_TIME, PAGE_INVALID; 404 PAGE_NOT_FOUND.

Parameters

  • pageIdstring (uuid)pathRequired
  • formstringquery

    Only this form's answers (its block id); default every form of the page.

  • cursorstringquery

    Where the page before ended (its nextCursor).

  • limitinteger (int32)query

    How many (default 25, at most 100).

  • sincestringquery

    Only answers after this moment (ISO-8601).

Responses

  • 200OK

Delete an answer

DELETE/api/external/v1/assistant/pages/{pageId}/responses/{responseId}

Deletes one answer, with the files it came with, for good. Answers 204.

Errors: 404 PAGE_NOT_FOUND, RESPONSE_NOT_FOUND.

Parameters

  • pageIdstring (uuid)pathRequired
  • responseIdstring (uuid)pathRequired

Responses

  • 200OK

Mark a page's answers seen

POST/api/external/v1/assistant/pages/{pageId}/responses/seen

The answers so far are no longer new (newResponses goes to 0). Answers 204.

Errors: 404 PAGE_NOT_FOUND.

Parameters

  • pageIdstring (uuid)pathRequired

Responses

  • 200OK

Restore an earlier version

POST/api/external/v1/assistant/pages/{pageId}/restore

Puts the content of an earlier version (required; see the page's versions) back, as a new version. Answers the page.

Errors: 400 PAGE_INVALID; 404 PAGE_NOT_FOUND; 409 PAGE_NO_VERSION, PAGE_TAKEN_DOWN.

Parameters

  • pageIdstring (uuid)pathRequired

Request body application/json

  • versioninteger (int32)

Responses

  • 200OK