Skip to content
Maua.Culturewire

Builder.io

Visual CMS: models, content and publishing (Admin API)

E-commerceCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Private key (bpk-…)SecretRequired

    Where to find them

    1. In Builder.io open “Account settings” → “Space” and, under “Private keys”, click “Add key”.
    2. Copy the private key (it starts with bpk-): it gives write and admin access to the space, so keep it safe.

Tools (2)

  • Builder.io API requestBUILDERIO_SEND_REQUEST

    Authenticated call to the Builder.io API (https://builder.io/api). Any endpoint of the API is allowed. Admin through GraphQL (POST /v2/admin, better with BUILDERIO_SEND_GRAPHQL_REQUEST): { models { id name } }, { settings }. Content: POST /v1/write/{model} {"name": "…", "data": {…}}, PATCH /v1/write/{model}/{id} {…}, DELETE /v1/write/{model}/{id}.

    Required scopes

    No scopes required

    Input

    Builder.io API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Builder.io GraphQL requestBUILDERIO_SEND_GRAPHQL_REQUEST

    Runs a GraphQL query or mutation against the Builder.io API and returns its data and errors.

    Required scopes

    No scopes required

    Input

    Builder.io GraphQL request input
    NameTypeDescription
    queryrequiredstringGraphQL query or mutation
    variablesobjectGraphQL variables