Analytics and logs

Get contacts by channel

Get contact count per channel type.

get/orgs/analytics/contacts/by-channel

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/analytics/contacts/by-channel
  • Auth: HTTP bearer

Query parameters

from_datestring date-time nullable

Start of the range (ISO 8601 date). Omit for all time.

to_datestring date-time nullable

End of the range (ISO 8601 date). Omit for up to now.

pagenumber

Page number

takenumber

Number of items to take

nextstring

Next page token (Only used on special endpoints)

progressiveboolean

Skip the total count: pagination-count is exact on the last page, and one more than the items so far while more pages exist (Only used on special endpoints)

Response

type'internal' | 'org' | 'agent' | 'custom' | 'whatsapp_bot' | 'messenger_bot' | 'instagram_dm' | 'tiktok_dm' | 'telegram_bot' | 'slack_bot' | 'teams_bot' | 'gmail' | 'outlook' | 'twilio' | 'telnyx' | 'email' | 'smpp' required

The channel type

countnumber required

Changes

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