Space Site

Create a temporary link to a space site

Mints a signed link that opens the site, or one folder of it, until the link expires. This is how a private site is opened. The link is a credential; share it only with people who should see the content.

post/space/{spaceId}/site/{siteId}/link/create

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/space/{spaceId}/site/{siteId}/link/create
  • Auth: HTTP bearer

Path parameters

spaceIdstring required
siteIdstring required

Request body

pathstring

The folder the link unlocks, relative to the site root (e.g. reports/q1). Leave empty to unlock the whole site.

durationInSecondsinteger

How long the link stays valid, in seconds (60 to 604800, default 3600)

Response

The link was created

urlstring required

The temporary link to the site

expiresAtstring date-time required

When the link stops working

Changes

No recorded changes to this operation across all 1 revision of this API.