List Inbox channels
GET /inbox/channels
The shared channels this credential can reach, with their addresses.
Request
curl -X GET "https://api.rasket.com/inbox/channels" \
-H "Authorization: Bearer $RASKET_API_KEY" \
-H "User-Agent: acme-billing/1.0"const response = await fetch("https://api.rasket.com/inbox/channels", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.RASKET_API_KEY}`,
"User-Agent": "acme-billing/1.0",
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://api.rasket.com/inbox/channels",
headers={
"Authorization": f"Bearer {os.environ['RASKET_API_KEY']}",
"User-Agent": "acme-billing/1.0",
},
)
print(response.json())Response 200
{
"object": "list",
"has_more": false,
"data": [
{
"object": "inbox_channel",
"id": "0192f6a8-3c1e-7a40-9b2d-5e8f1a6c4d20",
"address": "support@lumen.app",
"name": "Lumen Support",
"restricted": false
}
]
}- Personal mailboxes are never listed. A restricted channel is listed only for a key limited to it.
- A project with no open channel answers
403 inbox_not_set_upon every/inboxroute.