cURL
curl --request GET \ --url https://api.recepta.ai/api/v1/api/sms \ --header 'x-api-key: <api-key>'
{ "success": true, "message": "SMS conversations retrieved successfully", "data": { "conversations": [ { "id": "69a5f5d966e89fbafd5c601f", "customerPhone": "+12243000999", "companyPhone": "+17622528168", "customerName": "John Smith", "customerEmail": "<string>", "status": "ACTIVE", "lastMessageAt": "2023-11-07T05:31:56Z", "lastMessagePreview": "Thanks for the update!", "lastMessageDirection": "INBOUND", "messageCount": 17, "unreadCount": 0 } ], "pagination": { "total": 142, "page": 1, "limit": 20, "totalPages": 8 } } }
Retrieve a paginated list of SMS conversations.
Your Recepta API key (starts with rcp_)
rcp_
Page number
Results per page
Search by phone or customer name
Filter by conversation status
ACTIVE
ARCHIVED
CLOSED
Conversations retrieved
true
"SMS conversations retrieved successfully"
Show child attributes