Skip to main content
GET
Search contacts

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

accountId
string
required

Your Gallabox account ID. Must be the API key's own account. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Query Parameters

limit
integer

Items per page.

page
integer

Page number, starting at 1.

Text to look for in name, phone or email. At least 2 characters.

Minimum string length: 2
excludePII
boolean

true leaves contacts' personal details, such as phone numbers and email addresses, out of the response.

Response

Matching contacts.

id
string

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

accountId
string

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

name
string
phone
string[]

Phone numbers with country code, digits only.

email
string<email>[]
tags
object[]
fieldValues
object[]
messageOptIn
boolean
contactOwnerId
string

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

address
object
createdAt
string<date-time>
updatedAt
string<date-time>