Getting Started
Tools
Email
Send Email
Send an email from an inbox.
POST
/
api
/
v1
/
email
/
send
curl --request POST \
--url https://app.botmailroom.com/api/v1/email/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"inbox_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"cc_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"bcc_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"reply_to_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"subject": "<string>",
"idempotency_key": "<string>",
"plain_text": "<string>",
"html": "<string>",
"alternative_content": false,
"existing_email_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message_type": "new",
"attachment_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"open_and_click_tracking": true
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://app.botmailroom.com/api/v1/email/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"inbox_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"cc_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"bcc_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"reply_to_addresses": [
{
"address": "<string>",
"name": "<string>"
}
],
"subject": "<string>",
"idempotency_key": "<string>",
"plain_text": "<string>",
"html": "<string>",
"alternative_content": false,
"existing_email_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message_type": "new",
"attachment_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"open_and_click_tracking": true
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}