Skip to main content
POST
/
get-organization-customers
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-organization-customers \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "organizationID": 123
}'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "created_time": "2023-11-07T05:31:56Z",
      "trial_start": "2023-11-07T05:31:56Z",
      "trial_end": "2023-11-07T05:31:56Z",
      "last_scan_date": "2023-11-07T05:31:56Z",
      "next_scheduled_run": "2023-11-07T05:31:56Z",
      "paying_customer": true,
      "website_url": "<string>",
      "view_report_url": "<string>"
    }
  ],
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Organization ID

organizationID
number
required

The ID of the organization

Response

200 - application/json

List of customers for the organization

data
object[]
required

List of customers

version
string
required

API version

env
string
required

Environment name