conversations

Get Sms Attachment Upload Url

Get presigned S3 upload URL for SMS attachment.

This endpoint:

  1. Verifies conversation access
  2. Generates S3 key for the attachment
  3. Returns presigned upload URL + public URL for display

Flow:

  1. Frontend calls this to get upload URL
  2. Frontend uploads file directly to S3 using the presigned URL
  3. Frontend sends SMS with the public_url in media_urls array
post/conversations/{conversation_id}/upload-url

Path parameters

conversation_idstring uuid required

Request body

filenamestring required
content_typestring nullable

Response

Successful Response

upload_urlstring required
s3_keystring required
public_urlstring required

Changes

No recorded changes to this endpoint across all 5 revisions of this API.