API Reference

llms.txtMachine-readable reference — paste into an LLM to generate a client or a site.

Conventions

  • All requests and responses are JSON.
  • Success: { success: true, data: ... }. Lists add a meta object with pagination.
  • Failure: { success: false, error: { code, message } }.
  • Pagination uses page (1-based) and limit.

Authentication

  • Session
    — requires a signed-in session cookie from /api/auth/*.
  • Org
    — also requires an active organization on the session.
  • Public
    — no credentials needed.

account

POST/api/account/avatar
Public

POST /api/account/avatar — multipart form with a single `file`.

POST/api/account/password
Public

POST /api/account/password — give an account its first password.

BodynewPassword

admin

GET/api/admin/accounts
Public
GET/api/admin/accounts/{id}
Public

GET /api/admin/accounts/:id — one gallery, in full.

Pathid
POST/api/admin/accounts/{id}/comp
Public

POST /api/admin/accounts/:id/comp — give a gallery their account for free.

Pathid
Bodyprice_idreason
POST/api/admin/accounts/{id}/credit
Public

POST /api/admin/accounts/:id/credit — put credit on a gallery's account.

Pathid
Bodyamountdirectionreason
DELETE/api/admin/accounts/{id}/comp
Public

DELETE /api/admin/accounts/:id/comp — make the account billable again.

Pathid

artists

GET/api/artists
Session
Org
QuerylimitpagesearchsortBysortOrder
GET/api/artists/{id}
Session
Org
Pathid
GET/api/artists/{id}/images
Session
Org
Pathid
POST/api/artists
Session
Org
POST/api/artists/{id}/images
Session
Org
Pathid
POST/api/artists/bulk-delete
Session
Org
BodyartistIds
POST/api/artists/import
Session
Org
Bodyartistimages
PUT/api/artists/{id}
Session
Org
Pathid
PUT/api/artists/{id}/images/{imageId}
Session
Org
PathidimageId
Bodyis_primaryorder
PATCH/api/artists/{id}/images/{imageId}/caption
Session
Org
PathidimageId
Bodycaption
PATCH/api/artists/{id}/images/{imageId}/primary
Session
Org
PathidimageId
DELETE/api/artists/{id}
Session
Org
Pathid
DELETE/api/artists/{id}/images/{imageId}
Session
Org
PathidimageId

artworks

GET/api/artworks
Session
Org
Queryarchivedartist_idgrouplimitlocation_idpagesearchstatus
GET/api/artworks/{id}
Session
Org
Pathid
GET/api/artworks/{id}/appraisals
Session
Org

GET /api/artworks/:id/appraisals — the valuation history, newest first.

Pathid
GET/api/artworks/{id}/condition
Session
Org

GET /api/artworks/:id/condition — the inspection history, newest first.

Pathid
GET/api/artworks/{id}/edition
Session
Org

GET /api/artworks/:id/edition — the run this work belongs to, or null.

Pathid
GET/api/artworks/{id}/images
Session
Org
Pathid
GET/api/artworks/{id}/provenance
Session
Org

GET /api/artworks/:id/provenance — the ownership chain, earliest first.

Pathid
GET/api/artworks/{id}/quick-view
Session
Org

GET /api/artworks/:id/quick-view — everything the artwork popover shows.

Pathid
GET/api/artworks/{id}/views
Session
Org
Pathid
Querydays
POST/api/artworks
Session
Org
POST/api/artworks/{id}/appraisals
Session
Org

POST /api/artworks/:id/appraisals — record a valuation.

Pathid
Bodyappraisercurrencyeffective_atexpires_atnotespurposereferencevalue
POST/api/artworks/{id}/condition
Session
Org

POST /api/artworks/:id/condition — record an inspection.

Pathid
Bodycontextinspected_atnotesratingsummary
POST/api/artworks/{id}/condition/{reportId}
Session
Org

POST /api/artworks/:id/condition/:reportId — attach a photograph.

PathidreportId
POST/api/artworks/{id}/hold
Session
Org

POST /api/artworks/:id/hold — take a work off the market for a collector.

Pathid
Bodycustomer_iduntil
POST/api/artworks/{id}/images
Session
Org
Pathid
POST/api/artworks/{id}/provenance
Session
Org

POST /api/artworks/:id/provenance — add a link to the chain.

Pathid
Bodydetailfrom_yearis_currentownerto_year
POST/api/artworks/bulk-archive
Session
Org

Archive or restore artworks in bulk.

BodyarchivedartworkIds
POST/api/artworks/bulk-delete
Session
Org
BodyartworkIds
POST/api/artworks/import
Session
Org
Bodyartist_external_refartworkimagesnote
PUT/api/artworks/{id}
Session
Org
Pathid
PUT/api/artworks/{id}/provenance
Session
Org

PUT /api/artworks/:id/provenance — reorder the chain.

Pathid
Bodyorder
PATCH/api/artworks/{id}/images/{imageId}/caption
Session
Org
PathidimageId
Bodycaption
PATCH/api/artworks/{id}/images/{imageId}/primary
Session
Org
PathidimageId
PATCH/api/artworks/{id}/provenance/{entryId}
Session
Org
PathidentryId
Bodydetailfrom_yearis_currentownerto_year
DELETE/api/artworks/{id}
Session
Org
Pathid
DELETE/api/artworks/{id}/appraisals/{appraisalId}
Session
Org

DELETE /api/artworks/:id/appraisals/:appraisalId

PathidappraisalId
DELETE/api/artworks/{id}/condition/{reportId}
Session
Org

DELETE /api/artworks/:id/condition/:reportId

PathidreportId
DELETE/api/artworks/{id}/hold
Session
Org

DELETE /api/artworks/:id/hold — put it back on the market.

Pathid
DELETE/api/artworks/{id}/images/{imageId}
Session
Org
PathidimageId
DELETE/api/artworks/{id}/provenance/{entryId}
Session
Org
PathidentryId

audit

GET/api/audit
Session
Org

History for one record, newest first.

Queryentity_identity_typelimitoffset

auth

GET/api/auth/*
Public
POST/api/auth/*
Public

billing

GET/api/billing
Public

GET /api/billing — everything the billing page renders, in one call.

GET/api/billing/invoices
Public

GET /api/billing/invoices — the gallery's invoice history.

Querylimit
GET/api/billing/plans
Public

GET /api/billing/plans — the published tiers.

POST/api/billing/cancel
Public

POST /api/billing/cancel — stop the subscription renewing.

POST/api/billing/change-plan
Public

POST /api/billing/change-plan — move to a different tier.

Bodyprice_id
POST/api/billing/checkout
Public

POST /api/billing/checkout — start a subscription.

Bodyprice_idtheme
POST/api/billing/payment-method
Public

POST /api/billing/payment-method — a SetupIntent for adding a card.

POST/api/billing/preview
Public

POST /api/billing/preview — what changing plan costs today.

Bodyprice_id
POST/api/billing/promo
Public

POST /api/billing/promo — apply a discount code.

Bodycode
POST/api/billing/resume
Public

POST /api/billing/resume — undo a scheduled cancellation.

PATCH/api/billing/payment-method
Public

PATCH /api/billing/payment-method — make a card the default.

Bodypayment_method_id
DELETE/api/billing/cancel
Public
DELETE/api/billing/payment-method
Public

DELETE /api/billing/payment-method — remove a card.

DELETE/api/billing/promo
Public

DELETE /api/billing/promo — take the discount back off.

blog

GET/api/blog/categories
Session
Org
GET/api/blog/posts
Session
Org
Queryauthor_idcategory_idlimitpagesearchstatustag_id
GET/api/blog/posts/{id}
Session
Org
Pathid
GET/api/blog/tags
Session
Org
POST/api/blog/categories
Session
Org
Bodycolordescriptionnameslug
POST/api/blog/import
Session
Org
Bodypostupdate_existing
POST/api/blog/posts
Session
Org
Bodyallow_commentscategory_idscontentexcerptfeatured_imagefeatured_image_altpublished_atscheduled_forseo_descriptionseo_keywordsseo_titleslugstatustag_idstitle
POST/api/blog/tags
Session
Org
Bodynameslug
POST/api/blog/upload
Public

POST /api/blog/upload — multipart form with a single `file`.

PUT/api/blog/posts/{id}
Session
Org
Pathid
Bodyallow_commentscategory_idscontentexcerptfeatured_imagefeatured_image_altpublished_atscheduled_forseo_descriptionseo_keywordsseo_titleslugstatustag_idstitle
DELETE/api/blog/posts/{id}
Session
Org
Pathid

categories

GET/api/categories
Session
Org
Querylimitpagesearch
GET/api/categories/{id}
Session
Org
Pathid
POST/api/categories
Session
Org
Bodynameslug
PUT/api/categories/{id}
Session
Org
Pathid
DELETE/api/categories/{id}
Session
Org
Pathid

consignments

GET/api/consignments
Session
Org

GET /api/consignments — agreements covering work in someone else's hands, or someone else's work in the gallery's.

Queryartwork_iddirectionlimitoverduepagesearchstatustype
GET/api/consignments/{id}
Session
Org
Pathid
POST/api/consignments
Session
Org

POST /api/consignments — raise an agreement, optionally with its works.

Bodyartist_idcommission_ratecounterparty_namecustomer_iddirectiondue_dateitemslocation_idnotesstart_datestatustermstype
POST/api/consignments/{id}/items
Session
Org

POST /api/consignments/:id/items — add works to an existing agreement.

Pathid
Bodyagreed_priceartwork_idcommission_ratecurrencyitemsnotes
PATCH/api/consignments/{id}
Session
Org
Pathid
Bodyartist_idcommission_ratecounterparty_namecustomer_iddue_datelocation_idnotesstart_datestatustermstype
PATCH/api/consignments/{id}/items/{itemId}
Session
Org

PATCH /api/consignments/:id/items/:itemId

PathiditemId
Bodyagreed_pricecommission_ratecurrencynotesstatus
DELETE/api/consignments/{id}
Session
Org

DELETE /api/consignments/:id

Pathid
DELETE/api/consignments/{id}/items/{itemId}
Session
Org

DELETE /api/consignments/:id/items/:itemId — take a work off an agreement.

PathiditemId

customers

GET/api/customers
Session
Org
Querylimitpagesearch
GET/api/customers/{id}
Session
Org
Pathid
POST/api/customers
Session
Org
POST/api/customers/import
Session
Org
Bodycustomerupdate_existing
PUT/api/customers/{id}
Session
Org
Pathid
DELETE/api/customers/{id}
Session
Org
Pathid

dashboard

GET/api/dashboard
Session
Org

Aggregated numbers behind /dashboard. It exists so the overview loads from a single round trip instead of fanning out to every list endpoint and summing on the client — which would also only ever see the first page of each list.

deals

GET/api/deals
Session
Org

GET /api/deals — the pipeline.

Querycustomer_idopensearchstage
GET/api/deals/{id}
Session
Org
Pathid
POST/api/deals
Session
Org

POST /api/deals — start working a sale.

Bodyartwork_idscurrencycustomer_idexpected_closeinquiry_idnotesstagevalueviewing_room_id
POST/api/deals/{id}/offers
Session
Org

POST /api/deals/:id/offers — put a price to the collector.

Pathid
Bodyamountcurrencyexpires_atmessagenotessend
PATCH/api/deals/{id}
Session
Org
Pathid
Bodyartwork_idscurrencyexpected_closelost_reasonnotesstagevalue
DELETE/api/deals/{id}
Session
Org
Pathid

docs

GET/api/docs/{slug}
Public
Pathslug

editions

GET/api/editions
Session
Org

GET /api/editions — every run the gallery holds.

Querylimitpage
GET/api/editions/{id}
Session
Org
Pathid
POST/api/editions
Session
Org

POST /api/editions — turn a work into a run.

Bodyartist_proofsartwork_idhors_commercenotesprinter_proofssize
PATCH/api/editions/{id}
Session
Org
Pathid
Bodynotessize
DELETE/api/editions/{id}
Session
Org

DELETE /api/editions/:id — dissolve the run.

Pathid

entitlements

GET/api/entitlements
Session
Org

GET /api/entitlements — what this gallery may currently do.

events

GET/api/events
Session
Org
Querylimitlocation_idpagesearchstatus
GET/api/events/{id}
Session
Org
Pathid
GET/api/events/{id}/rsvps
Session
Org

GET /api/events/:id/rsvps — the guest list. Pass ?format=csv to download it instead of paging through it.

Pathid
Queryformatlimitpage
POST/api/events
Session
Org
POST/api/events/{id}/rsvps
Session
Org

POST /api/events/:id/rsvps — add a guest by hand, for the ones who phone in. Public submissions come through the public gallery endpoint instead.

Pathid
Bodycommentsemailnameparty_sizesource
POST/api/events/import
Session
Org
Bodyeventupdate_existing
POST/api/events/upload
Public

POST /api/events/upload — multipart form with a single `file`.

PUT/api/events/{id}
Session
Org
Pathid
DELETE/api/events/{id}
Session
Org
Pathid
DELETE/api/events/{id}/rsvps/{rsvpId}
Session
Org

DELETE /api/events/:id/rsvps/:rsvpId — drop a cancellation or a spam entry.

PathidrsvpId

exhibitions

GET/api/exhibitions
Session
Org
Queryartist_idlimitlocation_idpagesearch
GET/api/exhibitions/{id}
Session
Org
Pathid
POST/api/exhibitions
Session
Org
PUT/api/exhibitions/{id}
Session
Org
Pathid
DELETE/api/exhibitions/{id}
Session
Org
Pathid

health

GET/api/health
Public

inquiries

GET/api/inquiries
Session
Org
Querylimitpagesearchstatus
POST/api/inquiries
Session
Org
Bodyartwork_idcustomercustomer_idemailfirst_namelast_namemessagephonesource

invitations

GET/api/invitations/{id}
Public

Public read of a single invitation.

Pathid

locations

GET/api/locations
Session
Org
Querylimitpagesearch
GET/api/locations/{id}
Session
Org
Pathid
POST/api/locations
Session
Org
Bodyaddresscitycommission_ratecountrydescriptionfacebookgallery_nameinstagramphonepostal_codestatetax_idtwitterwebsite
PUT/api/locations/{id}
Session
Org
Pathid
DELETE/api/locations/{id}
Session
Org

Delete a location.

Pathid
Queryreassign_to

metadata-keys

GET/api/metadata-keys
Session
Org
Querytype

notes

GET/api/notes
Session
Org

GET /api/notes?target_type=artwork&target_id=<id>

Querytarget_idtarget_type
POST/api/notes
Session
Org

POST /api/notes

Bodycontenttarget_idtarget_type
PUT/api/notes/{id}
Session
Org

PUT /api/notes/:id { content }

Pathid
Bodycontent
DELETE/api/notes/{id}
Session
Org

DELETE /api/notes/:id

Pathid

notifications

GET/api/notifications/preferences
Session
Org

The signed-in member's notification settings for their active organization.

PUT/api/notifications/preferences
Session
Org

Update one preference for the signed-in member.

Bodyenabledtype

offers

PATCH/api/offers/{id}
Session
Org

PATCH /api/offers/:id — move an offer along.

Pathid
Bodyactionamountcurrencyexpires_atmessagenotes
DELETE/api/offers/{id}
Session
Org

DELETE /api/offers/:id — remove a draft that was never sent.

Pathid

orders

GET/api/orders
Session
Org
Querylimitpagesearchstatus
GET/api/orders/{id}
Session
Org
Pathid
GET/api/orders/{id}/payments
Session
Org

GET /api/orders/:id/payments — every payment against an order.

Pathid
POST/api/orders
Session
Org
POST/api/orders/{id}/issue
Session
Org

POST /api/orders/:id/issue — finalise a draft without sending it anywhere.

Pathid
POST/api/orders/{id}/payment-link
Session
Org

POST /api/orders/:id/payment-link — mint the collector's payment page.

Pathid
POST/api/orders/{id}/payments
Session
Org

POST /api/orders/:id/payments — apply a payment to an order.

Pathid
POST/api/orders/{id}/send
Session
Org

POST /api/orders/:id/send — finalise a draft and email the collector.

Pathid
PUT/api/orders/{id}
Session
Org
Pathid
DELETE/api/orders/{id}
Session
Org
Pathid
DELETE/api/orders/{id}/payment-link
Session
Org

DELETE /api/orders/:id/payment-link — revoke the link.

Pathid
DELETE/api/orders/{id}/payments/{paymentId}
Session
Org

DELETE /api/orders/:id/payments/:paymentId — remove a payment.

PathidpaymentId

organizations

GET/api/organizations
Session
GET/api/organizations/current
Session
Org
POST/api/organizations/create
Session
Bodynameslug
POST/api/organizations/purge
Session
Org

Permanently destroys an organization: its storage objects, then every row that hangs off it, then the organization itself.

Bodyconfirmation
POST/api/organizations/set
Session
BodyorganizationId
PATCH/api/organizations/current
Session
Org
Bodylogonameslug

payouts

GET/api/payouts
Session
Org

GET /api/payouts — statements raised for artists.

Queryartist_idlimitpagesearchstatus
GET/api/payouts/{id}
Session
Org
Pathid
GET/api/payouts/unsettled
Session
Org

GET /api/payouts/unsettled — what is owed but not yet settled.

Queryartist_idfromto
POST/api/payouts
Session
Org

POST /api/payouts — raise a statement from an artist's unsettled sales.

Bodyadjustment_noteadjustmentsartist_idnotesorder_item_idsperiod_endperiod_start
PATCH/api/payouts/{id}
Session
Org
Pathid
Bodyadjustment_noteadjustmentsnotespayment_methodpayment_referenceperiod_endperiod_startstatus
DELETE/api/payouts/{id}
Session
Org

DELETE /api/payouts/:id

Pathid

print

GET/api/print/artworks
Session
Org
Queryconsignmentexhibitionidsroom
GET/api/print/invoice
Session
Org

GET /api/print/invoice?order=<id> — the billing document for a sale.

Queryorder

profiles

GET/api/profiles/artist
Session
Org
GET/api/profiles/gallery
Session
Org
POST/api/profiles/artist
Session
Org
Bodyaddressartist_statementbiocitycountryfacebookinstagramphonepostal_codestatetwitterwebsite
POST/api/profiles/gallery
Session
Org
Bodyaddresscitycommission_ratecountrydescriptionfacebookgallery_nameinstagramphonepostal_codestatetax_idtwitterwebsite
PATCH/api/profiles/artist
Session
Org
Bodyaddressartist_statementbiocitycountryfacebookinstagramphonepostal_codestatetwitterwebsite
PATCH/api/profiles/gallery
Session
Org

public

GET/api/public/galleries/{site}
Public

GET /api/public/galleries/:site — the public face of one site.

Pathsite
GET/api/public/galleries/{site}/artists
Public

GET /api/public/galleries/:site/artists — the artists this site shows.

Pathsite
GET/api/public/galleries/{site}/artists/{artistId}
Public

GET /api/public/galleries/:site/artists/:artistId — one artist, and the work of theirs this site carries.

PathsiteartistId
GET/api/public/galleries/{site}/artwork-status
Public

GET /api/public/galleries/:site/artwork-status?ids=… — what has changed.

Pathsite
GET/api/public/galleries/{site}/artworks
Public
Pathsite
GET/api/public/galleries/{site}/artworks/{artworkId}
Public

GET /api/public/galleries/:site/artworks/:artworkId

PathsiteartworkId
GET/api/public/galleries/{site}/blog
Public

GET /api/public/galleries/:site/blog — the site's journal.

Pathsite
GET/api/public/galleries/{site}/blog/{slug}
Public

GET /api/public/galleries/:site/blog/:slug — one journal post, in full.

Pathsiteslug
GET/api/public/galleries/{site}/categories
Public

GET /api/public/galleries/:site/categories — the facets worth offering.

Pathsite
GET/api/public/galleries/{site}/events
Public

GET /api/public/galleries/:site/events — the public calendar.

Pathsite
GET/api/public/galleries/{site}/exhibitions
Public

GET /api/public/galleries/:site/exhibitions — the site's programme.

Pathsite
GET/api/public/galleries/{site}/exhibitions/{exhibitionId}
Public

GET /api/public/galleries/:site/exhibitions/:exhibitionId — one show and its checklist, narrowed to what this site publishes.

PathsiteexhibitionId
GET/api/public/orders/{token}
Public

GET /api/public/orders/:token — what the collector sees before paying.

Pathtoken
GET/api/public/rooms/{token}
Public

GET /api/public/rooms/:token — the room behind a link.

Pathtoken
Querypasscode
GET/api/public/sites/resolve
Public

GET /api/public/sites/resolve?host=… — which site answers to this hostname.

Queryhost
POST/api/public/galleries/{site}/artworks/{artworkId}/inquiries
Public
PathsiteartworkId
Bodyemailfirst_namelast_namemessagephonesource
POST/api/public/galleries/{site}/events/{eventId}/rsvps
Public

POST /api/public/galleries/:site/events/:eventId/rsvps

PathsiteeventId
Bodycommentsemailnameparty_sizesource
POST/api/public/orders/{token}/checkout
Public

POST /api/public/orders/:token/checkout — start a card payment.

Pathtoken
POST/api/public/rooms/{token}/events
Public

POST /api/public/rooms/:token/events — what the collector did.

Pathtoken
POST/api/public/rooms/{token}/inquiries
Public

POST /api/public/rooms/:token/inquiries — "tell me more about this one".

Pathtoken
Bodyartwork_idemailmessagenamephone

reports

GET/api/reports/analytics
Session
Org

GET /api/reports/analytics — engagement across viewing rooms.

Queryformat
GET/api/reports/insurance
Session
Org
Queryformat
GET/api/reports/inventory
Session
Org

GET /api/reports/inventory — what the gallery holds, what it is worth, and what has been sitting too long.

Queryformat
GET/api/reports/sales
Session
Org

GET /api/reports/sales — revenue, what sold, and who bought it.

Queryformat

rooms

GET/api/rooms
Session
Org

GET /api/rooms — the gallery's viewing rooms.

Querylimitpagesearchstatus
GET/api/rooms/{id}
Session
Org
Pathid
GET/api/rooms/{id}/activity
Session
Org

GET /api/rooms/:id/activity — what the room produced.

Pathid
Queryrecipient_id
GET/api/rooms/{id}/recipients
Session
Org

GET /api/rooms/:id/recipients — who was sent this room, and what came back.

Pathid
POST/api/rooms
Session
Org

POST /api/rooms — make a room.

POST/api/rooms/{id}/recipients
Session
Org

POST /api/rooms/:id/recipients — give one person their own way in.

Pathid
PUT/api/rooms/{id}/artworks
Session
Org

PUT /api/rooms/:id/artworks — set the checklist.

Pathid
PATCH/api/rooms/{id}
Session
Org
Pathid
PATCH/api/rooms/{id}/recipients/{recipientId}
Session
Org

PATCH /api/rooms/:id/recipients/:recipientId

PathidrecipientId
Bodyexpires_atprivate_notereissuerevokedsend
DELETE/api/rooms/{id}
Session
Org

DELETE /api/rooms/:id

Pathid
DELETE/api/rooms/{id}/recipients/{recipientId}
Session
Org

DELETE /api/rooms/:id/recipients/:recipientId

PathidrecipientId

settings

GET/api/settings/payments
Session
Org

GET /api/settings/payments — whether this gallery can take card payments.

GET/api/settings/website
Session
Org

GET /api/settings/website — the gallery's public site configuration.

POST/api/settings/payments
Session
Org

POST /api/settings/payments — start or resume Stripe onboarding.

POST/api/settings/website/upload/{type}
Session
Org

POST /api/settings/website/upload/:type — logo, favicon or hero image.

Pathtype
PUT/api/settings/website
Session
Org

PUT /api/settings/website — save the configuration.

Bodyabout_textcontact_emaildomainenable_blogenable_eventsenable_shopfacebookfaviconhero_imagehero_subtitlehero_titleinstagramlogoprimary_colorsecondary_colorseo_descriptionseo_keywordsseo_titletwitter
DELETE/api/settings/payments
Session
Org

DELETE /api/settings/payments — stop taking payments through this gallery's account.

team

GET/api/team/invitations
Session
Org
GET/api/team/members
Session
Org
POST/api/team/invitations/{id}/resend
Session
Org
Pathid
POST/api/team/invite
Session
Org
Bodyemailrole
PUT/api/team/members/{id}
Session
Org
Pathid
Bodyrolestatus
DELETE/api/team/invitations/{id}
Session
Org
Pathid
DELETE/api/team/members/{id}
Session
Org
Pathid

users

GET/api/users/me
Session
PATCH/api/users/me
Session
Org
Bodyemailimagename
DELETE/api/users/me
Session
Org

webhooks

POST/api/webhooks/stripe
Public

POST /api/webhooks/stripe — Stripe telling us what actually happened.

websites

GET/api/websites
Session
Org

GET /api/websites — every public site the gallery runs.

GET/api/websites/{id}
Session
Org
Pathid
GET/api/websites/{id}/builder/conversation
Public

GET /api/websites/:id/builder/conversation — everything said about this site.

Pathid
GET/api/websites/{id}/builder/element
Session
Org

GET /api/websites/:id/builder/element?loc=… — what this element really is.

Pathid
Queryloc
GET/api/websites/{id}/builder/files
Public

GET /api/websites/:id/builder/files — the tree, or one file's contents.

Pathid
GET/api/websites/{id}/builder/history
Session
Org

GET /api/websites/:id/builder/history — every version, and where things stand.

Pathid
GET/api/websites/{id}/builder/preview
Session
Org

GET /api/websites/:id/builder/preview — where this site's draft is, and whether there is one yet.

Pathid
GET/api/websites/{id}/domain
Public

GET /api/websites/:id/domain — where the domain stands.

Pathid
POST/api/websites
Session
Org

POST /api/websites — add another site.

Bodyis_publishednameselection_mode
POST/api/websites/{id}/builder/chat
Session
Org

POST /api/websites/:id/builder/chat — say something to the builder.

Pathid
Bodyimageskindmessagepathprovider
POST/api/websites/{id}/builder/element
Session
Org

POST /api/websites/:id/builder/element — change one element.

Pathid
Bodyaddattributeslocremovetext
POST/api/websites/{id}/builder/files
Public

POST /api/websites/:id/builder/files — a new file, and any folders it needs.

Pathid
Bodycontentspath
POST/api/websites/{id}/builder/upload
Session
Org

POST /api/websites/:id/builder/upload — an image for the conversation.

Pathid
POST/api/websites/{id}/builder/version
Session
Org

POST /api/websites/:id/builder/version — move through the history.

Pathid
Bodyactionversion
POST/api/websites/{id}/upload/{type}
Session
Org

POST /api/websites/:id/upload/:type — logo, favicon or hero image.

Pathidtype
PUT/api/websites/{id}
Session
Org
Pathid
Bodyabout_textartist_idsartwork_idscategory_idscontact_emaildomainenable_blogenable_eventsenable_shopfacebookfaviconhero_imagehero_subtitlehero_titleinstagramis_primaryis_publishedlogonameprimary_colorsecondary_colorselection_modeseo_descriptionseo_keywordsseo_titletwitter
PUT/api/websites/{id}/builder/files
Public

PUT /api/websites/:id/builder/files — save one file.

Pathid
Bodycontentspath
PUT/api/websites/{id}/domain
Public

PUT /api/websites/:id/domain — attach a gallery's own domain.

Pathid
Bodydomaindomain_checkdomain_checked_atdomain_statusdomain_verified_aterrorsuccess
PATCH/api/websites/{id}/builder/files
Public

PATCH /api/websites/:id/builder/files — rename, which is also how a file moves.

Pathid
Bodyfromto
DELETE/api/websites/{id}
Session
Org

DELETE /api/websites/:id

Pathid
DELETE/api/websites/{id}/builder/conversation
Public

DELETE /api/websites/:id/builder/conversation — start a fresh conversation.

Pathid
DELETE/api/websites/{id}/builder/files
Public

DELETE /api/websites/:id/builder/files?path=… — remove one file.

Pathid
Querypath
DELETE/api/websites/{id}/domain
Public

DELETE /api/websites/:id/domain — go back to the default address.

Pathid