List mailboxes

Mailboxes your FreeScout account can open, with their IDs and email addresses.

GET https://cotlet.dev/api/v1/freescout/mailboxes

read

Returns the mailboxes your login has access to. mailbox_id is the number at the end of the mailbox settings address, and the other tools take it. An admin sees all mailboxes; other agents see the ones they were given.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/freescout/mailboxes \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("freescout", "list_mailboxes")
Node.js
const result = await cotlet.call('freescout', 'list_mailboxes');
CLI
cotlet call freescout list_mailboxes

Example response

JSON

{
  "mailboxes": [
    {
      "mailbox_id": 1,
      "name": "Support",
      "email": "support@yourcompany.com"
    },
    {
      "mailbox_id": 2,
      "name": "Sales",
      "email": "sales@yourcompany.com"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.