Contacts

Get contact engagement metrics

Returns aggregated engagement metrics for a contact, including message counts and active conversation totals.

get/v1/contacts/{id}/engagement

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/contacts/{id}/engagement
  • Auth: API key in header x-api-key

Path parameters

idstring required

Response

Success

totalMessagesinteger required
messagesSentinteger required
messagesReceivedinteger required
activeConversationsinteger required
lastActivityAtstring nullable required
channelsUsedobject required

Changes

No recorded changes to this operation across all 1 revision of this API.