1MSG

Get Channel statistics

GET
/statistics

Return channel usage statistics for a month. Pass date as mm.YYYY (for example 03.2022). Includes template messaging cost for that period.

Authorization

JWT token
querytoken<token>

Query Parameters

date?string

Month and year in format mm.YYYY.

Response Body

Server response example

application/json
  1. response
date?string

Month and year of the statistics period (mm.YYYY)

templates_cost?number

Template messaging cost for the period

curl -X GET 'https://api.1msg.io/123/statistics?date=03.2022'
{  "date": "03.2022",  "templates_cost": 400.0313}