Lists the direct message conversations of a connected Instagram or
X account. Accounts connected before messaging was supported must
reconnect to grant access. On X each call counts as one analytics
request; Instagram is free.
Authorization
apiKey *Bearer <token>
Akarso API key from the dashboard. Token in: header
Query Parameters
platform *"instagram" | "twitter"
Platform of the account
accountId?string
Connected account ID (defaults to the workspace account of this platform)
limit?integer
Page size (default 20)
Min:1Max:100
after?string
Cursor from the previous page
Response
200
success *boolean
selfId *string
Participant ID of the connected account
selfUsername?string | null
conversations *object[]
Show item properties
id *string
Conversation ID
participants *object[]
Show item properties
id?string | null
name?string | null
username?string | null
profilePictureUrl?string | null
lastMessage?object | null
updatedTime?string | null
nextCursor?string | null
Pass as after to fetch the next page
400 · Invalid request body, path, or query parameters
message *string
Human-readable error message
code?string
Machine-readable error code
401 · Missing or invalid API key
message *string
Human-readable error message
code?string
Machine-readable error code
402
message *string
Human-readable error message
code?string
Machine-readable error code
subscribeUrl?string
URL to start a subscription
403
message *string
Human-readable error message
code?string
Machine-readable error code
limit?number
The plan limit that was hit
used?number
Current usage in this billing period
connected?number
Currently connected accounts
404 · Resource not found
message *string
Human-readable error message
code?string
Machine-readable error code
429 · Upstream rate limit reached
message *string
Human-readable error message
code?string
Machine-readable error code
502 · Upstream platform request failed
message *string
Human-readable error message
code?string
Machine-readable error code
503 · Upstream service temporarily unavailable or submission outcome unknown
message *string
Human-readable error message
code?string
Machine-readable error code
Ask AI about this page
Request example
curl -X GET "https://akarso.co/api/v2/messages?platform=instagram" \
-H "Authorization: Bearer <token>"