Amazon WorkMail Message Flow
amazonaws · Cloud
The WorkMail Message Flow API provides access to email messages as they are being sent and received by a WorkMail organization.
Authentication
Sample Requests
Retrieves the raw content of an in-transit email message, in MIME format.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Updates the raw content of an in-transit email message, in MIME format. This example describes how to update in-transit email message. For more information and examples for using this API, see Updatin
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}"import requests
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/workmailmessageflow/2019-05-01/messages/{messageId}";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon WorkMail Message Flow?
Amazon WorkMail Message Flow is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon WorkMail Message Flow is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide