Skip to main content
POST
Create a quick reply

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

multipart/form-data
shortcut
string
gerekli

The shortcut typed after "/" in the composer. Unique per tenant, no whitespace.

Maximum string length: 50
Pattern: ^[\p{L}\p{N}_-]+$
message
string
gerekli

The message body inserted into the composer.

Maximum string length: 5000
message_format
enum<string> | null

How message is written: plain (the default) or markdown.

Mevcut seçenekler:
plain,
markdown
is_active
boolean | null

Whether the quick reply can be used. Defaults to true.

file
file | null

An optional media file sent alongside the message.

Yanıt

success
string
gerekli
data
QuickReplyResource · object
gerekli