create_key()
list[str]
required
Exact origins (scheme, host and port) the widget may load on. The
"*" wildcard isn’t allowed.str | UUID
Pin the key to one study. Omit to allow any study in your organization.
int
Maximum serialized size of the metadata a widget can carry. At least 256.
list_keys()
EmbedKeyListOut.
update_key()
list[str]
The replacement list of allowed origins.
str
active or revoked.int
Maximum serialized metadata size. At least 256.
get_snippet()
str
The key to fill into the snippet. A placeholder is used otherwise.
str
default:"chat"
Widget presentation, set as
data-mode.EmbedSnippetOut:
snippetuses the publishable key, with an exampledata-metadataattribute. Page-supplied metadata can be edited by the visitor.signed_snippetis for signed-token mode: your server mints a JWS (HS256) token with the key’s signing secret, and the token’s metadata is recorded as verified. Use it when the interview relies on a metadata value.
.png?fit=max&auto=format&n=G_hwo_L4hZsQ93vT&q=85&s=c00b6042d4688a9b776bae65a530206a)