v1

latestOpenAPI 3.0.32026-07-267015229.9 KB
Deployments

Create Deployment

Create a managed deployment for the widget, embed, or landing-page channel.

See Deployments overview.

post/v2/deployments

Request body

pal_idstring required

PAL that powers the deployment.

channel'widget' | 'embed' | 'landing-page' required

Delivery channel. See Deployments overview.

namestring

Display name in the Platform.

passwordstring nullable

Optional password visitors must enter before starting.

customizationobject

Visual and conversation settings. Configure in the Platform or via JSON Patch on update.

limitsobject

Call limits and max duration.

allowed_originsstring[]

Origins allowed to load widget/embed deployments.

Example request

{
  "pal_id": "pcb7a34da5fe"
}

Response

Deployment created

deployment_idstring
pal_idstring

PAL that powers the deployment.

channel'widget' | 'embed' | 'landing-page'
status'draft' | 'active' | 'inactive'
namestring
has_passwordboolean
customizationobject
replica_thumbnail_video_urlstring nullable

Removed. Use thumbnail_video_url and thumbnail_image_url instead.

thumbnail_video_urlstring nullable

URL for the face preview video thumbnail.

thumbnail_image_urlstring nullable

URL for the face preview image thumbnail.

limitsobject
allowed_originsstring[]
usage_totalinteger
usage_todayinteger
created_atstring date-time
updated_atstring date-time

Example response

{
  "deployment_id": "d1234567890abcdef",
  "pal_id": "pcb7a34da5fe"
}