Referencia de APIChats / Conversation List
Create Conversation List
← Back to full API reference
POST
/v1/conversation-listAuth required- Validated by Zod schema: postConversationListSchema.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| name | Yes | Type: string |
| source | No | Type: enumExample: contact |
| filter | No | Type: object |
| filter.channelTypes | No | Type: arrayExample: |
| filter.channelTypes[] | Yes | Type: string |
| filter.form | No | Type: object |
| filter.form.id | Yes | Type: number |
| filter.form.phoneField | Yes | Type: string |
| filter.form.nameField | Yes | Type: string |
| filter.purchases | No | Type: object |
| filter.purchases.resourceIds | Yes | Type: arrayExample: |
| filter.purchases.resourceIds[] | Yes | Type: number |
| filter.purchases.match | No | Type: enumExample: ANY |
| filter.purchases.dateRange | No | Type: object |
| filter.purchases.dateRange.from | No | Type: string |
| filter.purchases.dateRange.to | No | Type: string |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"name": "string"
}Sample response
json
{
"id": "<value>",
"list": "<list>"
}