Skip to content

Browse Dialogues

POST https://app.sociable.how/api/dialogues/browse

For browsing dialogues associated with your persona. Pagination is supported. Note that you will not encounter errors if no dialogues exist at the specified page. Instead, you will receive an empty array of dialogues.

Request Parameters

ParameterDescriptionExample
pageMust be greater than or equal to one.1
pageSize (optional)Size of the page. Must be a number between 1-100 inclusive. Defaults to 25.10

Sample Request Body:

{
"page": 1,
"pageSize": 2
}

Sample Response:

{
"success": true,
"dialogues": [
{
"id": "046f49e2-2097-49ed-b034-2a314f0728d2",
"name": "SANDBOX",
"type": "MESSAGE",
"enabled": true,
"createdAt": "2024-05-10T22:37:41.795Z",
"updatedAt": "2024-05-18T19:21:09.562Z"
},
{
"id": "32fcdd4b-de34-4736-927e-e8f8726589c5",
"name": "Casual",
"type": "MESSAGE",
"enabled": true,
"createdAt": "2024-03-19T15:44:45.086Z",
"updatedAt": "2024-05-01T21:51:28.995Z"
}
]
}