Skip to main content
post/agent/attachments
Request example
Response
post/agent/attachments

Authorization

x-api-keystringheaderrequired#
The API key to authenticate requests.

2 alternative authorization methods available — see the spec for details.

Body

application/json
threadIdstringrequired#
filenamestringrequired#

Length: 1–255

mediaTypestringrequired#

Length: max 255Pattern: ^[\w.+-]+\/[\w.+-]+$

datastringrequired#

Length: 1–34952536

Responses

application/json
OK
idstringrequired#
threadIdstringrequired#
messageIdstring · nullrequired#
filenamestringrequired#
mediaTypestringrequired#
sizenumberrequired#
storagePathstring#
createdAtstringrequired#