Skip to main content
POST
/
get-customer-query-groups
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-customer-query-groups \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "customerID": 123
}'
{
  "data": [
    {
      "query_group_id": 123,
      "group_type": "<string>",
      "query_group_title": "<string>",
      "created_time": "2023-11-07T05:31:56Z",
      "keywords": "<string>",
      "num_of_queries": 123,
      "website_url": "<string>",
      "run_from_location": "<string>",
      "executions": [
        {
          "id": 123,
          "title": "<string>",
          "execution_date": "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

List of query groups for the customer

data
object[]
required

List of query groups

version
string
required

API version

env
string
required

Environment name