For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search Mailboxes and Contacts

This document contains details for the /api/v1/mailbox/search endpoint, including headers, query parameters, response fields, and status codes.

Endpoint

Property
Value

Method

GET

URL

/api/v1/mailbox/search

Headers

Header
Required
Description

Authorization

Yes

Bearer authorization token

Mailbox

Yes

Current mailbox UUID and contact-list context

Query parameters

Parameter
Type
Required
Description

q

string

Yes

Alias, contact, user email, mailbox name, or mailbox UUID

type

string

No

Restricts the search to ALIAS or UUID

Type values

Value
Description

ALIAS

Search by mailbox alias

UUID

Search by mailbox UUID

Request example

GET /api/v1/mailbox/search?q=john.doe@example.com
Authorization: Bearer {token}
Mailbox: 837bc65e-4818-48f5-a933-2d00b24b6e12

Response

Field
Type
Description

mailboxName

string

Mailbox name

mailboxUuid

UUID

Mailbox UUID

alias

string

Mailbox alias

accountUuid

UUID

Account UUID

inContacts

boolean

Whether the mailbox is saved in the current mailbox’s contacts

Use mailboxUuid when assigning a mailbox to an envelope role.

Status codes

Code
Description

200 OK

Returns matching mailboxes

Last updated

Was this helpful?