POST
/
public
/
get-user-detailed-analytics-data
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-user-detailed-analytics-data \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '{
  "data": [
    {
      "data": {
        "userId": "<string>"
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "details": {
          "personalData": {
            "userId": "<string>",
            "fermionUserId": "<string>",
            "email": "jsmith@example.com",
            "createdAtIso": "2023-11-07T05:31:56Z",
            "lastSeenAtIso": "2023-11-07T05:31:56Z",
            "name": "<string>",
            "profilePicUrl": "<string>"
          },
          "productEnrollmentsData": [
            {
              "productId": "<string>",
              "productName": "<string>",
              "productSlug": "<string>",
              "enrolledAtIso": "2023-11-07T05:31:56Z",
              "productType": "FermionCourse",
              "completionPercentageOutOf100": 50,
              "certificateClaimedAtIso": "2023-11-07T05:31:56Z"
            }
          ],
          "activityData": [
            {
              "dateIso": "2023-11-07T05:31:56Z",
              "minutesSpent": 1,
              "xpEarned": 123
            }
          ]
        }
      }
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

The body is of type object.

Response

200 - application/json

API Response Body

The response is of type object[].