Appearance
Search messages across all conversations
GET
/vendor/messages/search
Глобальный поиск по сообщениям пользователя во всех диалогах
Authorizations
sessionCookie
PHP session cookie (HTTP-only, Secure, SameSite=Lax)
Type
API Key (cookie: PARTIZAP_SESSION)
Parameters
Query Parameters
q*
Search query (min 2 characters)
Type
Requiredstring
Min Length
2cursor
Opaque cursor for pagination
Type
string
limit
Number of items per page
Type
integer
Minimum
1Maximum
100Default
20Responses
Search results with conversation context
application/json
JSON "data": [ { "id": 0, "conversation_id": 0, "sender_id": 0, "text": "string", "image_url": "string", "is_read": true, "is_delivered": true, "created_at": "string", "conversation": { "id": 0, "companion": { "id": 0, "name": "string" }, "product": { "id": 0, "title": "string" } } } ], "meta": { "has_more": true, "next_cursor": "abc123xyz" }
{
}