API endpointsContent: facebookList the Page's Messenger threads GET

List the Page's Messenger threads

GET
/v1/content/facebook.dm.threads

List the Page's Messenger threads.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

connectedProfileId*string

Koil Connected Profile associated with the operation.

Length1 <= length
cursor?string

Opaque cursor for fetching the next result page.

Length1 <= length
limit?number

Maximum number of items to return.

Range1 <= value
includeProviderRaw?boolean

Whether to include transient provider-native payloads.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/content/facebook.dm.threads?connectedProfileId=string"
{  "data": [    {      "externalId": "string",      "participantExternalIds": [        "string"      ],      "updatedAt": "2019-08-24T14:15:22Z",      "providerRaw": null,      "contentType": "facebook.dm.threads"    }  ],  "nextCursor": "string",  "hasMore": true}
{  "error": {    "code": "validation_error",    "message": "string",    "meta": {      "property1": null,      "property2": null    }  }}