POST
/
api
/
v1
/
email
/
add-attachment-to-pool
Add Attachment To Pool
curl --request POST \
  --url https://app.botmailroom.com/api/v1/email/add-attachment-to-pool \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

The attachment to add to the pool. The file can be up to 10MB in size

Response

Successful Response

id
string
required

The ID of the attachment to use in send_email requests