Sites

Updates an existing AI site. Domain changes trigger the full custom-hostname lifecycle.

patch/sites/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Request body

AiSiteRequest required
name, string
subdomain, string nullable
access_mode, 'public' | 'members' | 'account' | 'specific_members' | 'admins_only' | 'me_only'
show_referral_badge, boolean
indexable, boolean
front_desk_chat_enabled, boolean

Turns on website chat, the front desk on every page, where any visitor can ask questions, book, and leave their details. Shown only while access_mode is public; each visitor reply uses the account's credits.

members, string[]
groups, string[]
metadata, object

Set of key-value pairs you can attach to the object — store your own system's IDs or grouping labels. Keys max 40 chars (up to 50 keys), values stored as strings max 500 chars. On update, keys merge individually; set a key to null or "" to remove it. Echoed back on reads and in webhook payloads.

Response

AI site updated

AiSite required
id, string required
object, string required
name, string required
access_mode, 'public' | 'members' | 'account' | 'specific_members' | 'admins_only' | 'me_only' required
subdomain, string nullable required
github_repo_full_name, string nullable required
metadata, object required
domain, string nullable required
github_url, string nullable required
domain_verified, boolean required
app_url, string nullable required
preview_image_url, string nullable required
is_live, boolean required
show_referral_badge, boolean required
indexable, boolean required
front_desk_chat_enabled, boolean required
members, string[] required
build_task_id, string nullable required
created_at, string required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    3 more changes in this revision