v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Create Attachment

This endpoint creates a new attachment and associates it with the client.

post/attachments

Request body

filestring binary required

File being uploaded, associated with the attachment. Allowed mimetypes are: audio/mpeg, audio/wav, audio/wave, audio/x-wav, audio/aiff, audio/x-aifc, audio/x-aiff, audio/x-gsm, audio/gsm, audio/ulaw.

Response

201

attachment_keystring
attachment_urlstring
attachment_mimetypestring

Example response

{
  "attachment_key": "60d8da22c05c3.66133275",
  "attachment_url": "/attachments/60d8da22c05c3.66133275",
  "attachment_mimetype": "audio/wave"
}