botruntime
API ReferenceChat API

List Participants

Retrieves a list of [Participant](#schema_participant) for a given [Conversation](#schema_conversation).

GET
/v1/chat/conversations/{id}/participants

Path Parameters

id*string

Conversation id

Query Parameters

nextToken?string

Provide the meta.nextToken value provided in the last API response to retrieve the next page of results

pageSize?integer

Number of items to return per page (default 20, max 100)

Header Parameters

x-bot-id*string

Bot id

x-integration-id?string

Integration id

x-integration-alias?string

Integration alias

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/chat/conversations/string/participants" \  -H "x-bot-id: string"
{  "participants": [    {      "id": "stringstringstringstringstri",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "tags": {        "property1": "string",        "property2": "string"      },      "name": "string",      "pictureUrl": "string",      "properties": {        "property1": "string",        "property2": "string"      },      "attributes": {        "property1": "string",        "property2": "string"      }    }  ],  "meta": {    "nextToken": "string"  }}
{  "participants": [    {      "id": "stringstringstringstringstri",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "tags": {        "property1": "string",        "property2": "string"      },      "name": "string",      "pictureUrl": "string",      "properties": {        "property1": "string",        "property2": "string"      },      "attributes": {        "property1": "string",        "property2": "string"      }    }  ],  "meta": {    "nextToken": "string"  }}