Skip to main content
GET
List messages in a conversation

Authorizations

Authorization
string
header
required

Create an API key in GreenTick Developer settings. Send it as Authorization: Bearer gt_live_… (Bearer prefix required).

Path Parameters

id
string
required

GreenTick conversation ID.

Query Parameters

phoneNumberRef
string
required

GreenTick phone line ref from GET /phone-numbers (ref field).

limit
integer
default:30
Required range: 1 <= x <= 100
before
string

Load messages older than this cursor (oldestCursor from a previous response).

after
string

Load messages newer than this cursor (newestCursor from a previous response).

Response

Message page

success
boolean
Example:

true

data
object