Anytype icon

Anytype

Interact with the Anytype API

Chat → Create Chat

AI-generated

Summary

Create a new chat within a specified space in Anytype by providing the space ID and chat details such as the chat name.

Inputs

  • Space (required) — The ID of the space where the chat will be created. This is required.
  • Body Mode — Choose between 'Simple' mode to fill in chat fields like name, or 'JSON' mode to provide the raw request body JSON.
  • Name — The name of the chat to create. Visible only in 'Simple' Body Mode.
  • Body (JSON) (required) — The raw JSON body for the create chat request. Used when 'Body Mode' is set to 'JSON'.

Output shape

a single chat record as JSON

The response is unwrapped from the API 'chat' property and returned as a single JSON object. Use 'Simple' mode to specify the chat name easily; use 'JSON' mode to provide a full raw request body if needed.

Links

Discussion