Skip to main content
POST
/
get-customer-growth-stats
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-customer-growth-stats \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "customerID": 123
}
'
{
  "data": {
    "perScan": [
      {
        "queryGroupId": 123,
        "queryGroupTitle": "<string>",
        "data": [
          {
            "date": "2023-12-25",
            "score": 123,
            "executionId": 123
          }
        ]
      }
    ],
    "overview": [
      {
        "queryGroupId": 123,
        "queryGroupTitle": "<string>",
        "data": [
          {
            "startDate": "2023-12-25",
            "endDate": "2023-12-25",
            "score": 123
          }
        ]
      }
    ]
  },
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Customer ID

customerID
number
required

The ID of the customer

Response

200 - application/json

Growth statistics for the customer

data
object
required
version
string
required

API version

env
string
required

Environment name