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-2d00b24b6e12Response
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
Status codes
Code
Description
200 OK
Returns matching mailboxes
Related topics
Last updated
Was this helpful?
