Get inbox
curl --request GET \
--url https://api.moonemail.co/inboxes/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.moonemail.co/inboxes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.moonemail.co/inboxes/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"address": "<string>",
"status": "enabled",
"created_at": "<string>",
"aliases": [
"<string>"
]
}{
"statusCode": 123,
"name": "<string>",
"message": "<string>"
}Inboxes
Get inbox
Get a team receiving address and its status.
Required permission: inboxes:read.
GET
/
inboxes
/
{id}
Get inbox
curl --request GET \
--url https://api.moonemail.co/inboxes/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.moonemail.co/inboxes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.moonemail.co/inboxes/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"address": "<string>",
"status": "enabled",
"created_at": "<string>",
"aliases": [
"<string>"
]
}{
"statusCode": 123,
"name": "<string>",
"message": "<string>"
}Authorizations
Moonemail API key; x-required-scope applies.
Path Parameters
Required string length:
1 - 200Pattern:
^[A-Za-z0-9_-]+$