List Instagram DM messages in one thread
List Instagram DM messages in one thread.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
connectedProfileId*string
Koil Connected Profile associated with the operation.
Length
1 <= lengththreadExternalId*string
Length
1 <= lengthcursor?string
Opaque cursor for fetching the next result page.
Length
1 <= lengthlimit?number
Maximum number of items to return.
Range
1 <= valueincludeProviderRaw?boolean
Whether to include transient provider-native payloads.
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/content/instagram.dm.messages?connectedProfileId=string&threadExternalId=string"{ "data": [ { "externalId": "string", "threadExternalId": "string", "text": "string", "author": { "id": "string", "displayName": "string", "username": "string" }, "thread": { "parentId": "string", "rootId": "string", "threadId": "string" }, "publishedAt": "2019-08-24T14:15:22Z", "providerRaw": null, "contentType": "instagram.dm.messages" } ], "nextCursor": "string", "hasMore": true}{ "error": { "code": "validation_error", "message": "string", "meta": { "property1": null, "property2": null } }}