Skip to main content
POST
Validate and complete an attachment upload

Authorizations

Authorization
string
header
required

Use a workspace API key in the Authorization header. Keys use pk_live_<key_id> for production and pk_test<key_id>_ for test mode.

Path Parameters

uploadId
string
required

Response

Ready durable attachment; no message has been sent.

uploadId
string
required
status
enum<string>
required
Available options:
pending,
ready
url
string<uri>

Temporary PUT URL, present only while pending.

method
enum<string>
Available options:
PUT
headers
object
expiresAt
string<date-time>
maxSizeBytes
integer
attachment
object

Present only when ready. Use this object in a message's attachments array.