GET
/
stats
/
user_contents
curl --request GET \
  --url https://api.growi.io/api/public/v1/stats/user_contents \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {}
}

Retrieves all user content creation data within a specified date range.

Request Parameters

ParameterTypeDescriptionRequired
start_dateStringStart date in MM/DD/YYYY formatYes
end_dateStringEnd date in MM/DD/YYYY formatYes
limitIntegerLimit the number of results. Default is 4. Recommended is 20. Set to 10,000 to get all data.No

Request Example

curl -X GET "https://api.growi.io/api/public/v1/stats/user_contents?start_date=01/01/2023&end_date=01/31/2023&limit=5" \
     -H "Authorization: Bearer YOUR_PUBLIC_API_KEY" \
     -H "Content-Type: application/json"

Response Example

{
  "success": true,
  "data": {
    "user_contents": [
      {
        "create_time": 1747746014,
        "platform": "tik_tok",
        "connected_account_id": 415325
      },
      {
        "create_time": 1747729077,
        "platform": "tik_tok",
        "connected_account_id": 415280
      },
      {
        "create_time": 1747762983,
        "platform": "instagram",
        "connected_account_id": 415221
      },
      {
        "create_time": 1747752510,
        "platform": "tik_tok",
        "connected_account_id": 415275
      },
      {
        "create_time": 1747798299,
        "platform": "tik_tok",
        "connected_account_id": 415285
      },
      {
        "create_time": 1747797300,
        "platform": "tik_tok",
        "connected_account_id": 415285
      },
      {
        "create_time": 1747716463,
        "platform": "tik_tok",
        "connected_account_id": 415285
      },
      {
        "create_time": 1747789603,
        "platform": "instagram",
        "connected_account_id": 415358
      },
      {
        "create_time": 1747756855,
        "platform": "instagram",
        "connected_account_id": 415290
      },
      {
        "create_time": 1747792379,
        "platform": "instagram",
        "connected_account_id": 415319
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

start_date
string
default:05/01/2025
required

Start date in MM/DD/YYYY format

end_date
string
default:05/08/2025
required

End date in MM/DD/YYYY format

limit
integer
default:4

Limit the number of results. Default is 4. Recommended is 20. Set to 10,000 to get all data.

Response

200
application/json

User contents data retrieved successfully

The response is of type object.