Skip to main content
POST
Add a private note to a contact's conversation by phone

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"

phone
string
required

The contact's phone number with country code, digits only, for example 919876543210.

Query Parameters

channelId
string
required

ID of the channel. GET /channels lists them. A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

populatePaths
string

Comma-separated names of related records to include in the response, for example contactOwner.

excludePII
boolean

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

Body

application/json
mentions
string[]
required

User IDs to notify. Each is written into the note as {{userId}}; any missing from the text are appended.

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
type
enum<string>
required

Always text.

Available options:
text
text
object
required

The note.

Response

The note.

A private note: a message only your team sees.

id
string

A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

conversationId
string

A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

userId
string

A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

private
object
createdAt
string<date-time>