Chat icon

Chat

Interact with the Chat API

Actions253

Portal (Help Center) → Create

AI-generated

Summary

Create a new portal (help center) for a selected Approach account.

Inputs

  • accountId (required) — Select the Approach account to use. Can be chosen from a list or entered by ID.
  • createFields — Collection of fields defining the portal to create. If rawJson is provided, this collection is ignored.
  • binaryLogoProperty — Name of the binary property containing the logo file when the logo flag is set. Defaults to 'data'.

Output shape

object

Returns the created portal object (includes id, name, description, locale, public flag, etc.).

Examples

Example 1: Create a simple public portal

Select account; set createFields.name = 'Help Center', createFields.description = 'Customer support portal', createFields.is_public = true, createFields.locale = 'en'.

Example 2: Create portal with custom logo

Select account; set createFields.logo = true; ensure an incoming item has binary data in the property named by binaryLogoProperty (default 'data').

Example 3: Send raw JSON payload

Select account; set createFields.rawJson to a valid JSON string that matches the API's portal creation schema.

Links

Discussion