Skip to main content
GET
List a conversation's messages

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"

conversationId
string
required

ID of the conversation. A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

Query Parameters

fromTime
string<date-time>

Only messages sent at or after this time (ISO 8601).

toTime
string<date-time>

Only messages sent at or before this time (ISO 8601).

limit
integer

Items per page.

Required range: x <= 100
nextCursor
string

From cursors.nextCursor of the previous page. A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

previousCursor
string

cursors.previousCursor from a previous response. Returns the newer messages after it. A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

excludePII
boolean

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

Response

One page of messages.

messages
object[]
cursors
object