Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Your factory's Worklayer API key (wrk-...). See Get an API key and Authentication. Requests sent from the playground execute live against your factory.

Path Parameters

roomId
string
required

Room ID. Pass web to target your factory's main Room (the conversation in the Worklayer web app).

Required string length: 1 - 191

Body

application/json
name
string | null
required

The new display name. Send null to remove the name.

Required string length: 1 - 191

Response

The changed Room.

A conversation between your app and the factory. Each factory has a main Room, and you can create more.

id
string
required

The Room id.

source
enum<string>
required

Informational. web for the main Room, or api for an API-created Room.

Available options:
web,
api
kind
enum<string>
required

Informational. web_chat for the main Room, or api for an API-created Room.

Available options:
web_chat,
api
name
string | null
required

The display name, or null.

externalKey
string | null
required

Your key for the Room. Always null for the main Room.

lastActivityAt
string<date-time> | null
required

The time of the last activity in the Room, or null.

createdAt
string<date-time>
required