---
updatedAt: 2025-06-09T23:21:30.000Z
agentTools:
  projectIndex: https://docs.ngpvan.com/llms.txt
---

# Introspection

An introspection endpoint is available, if you need information about the API key you are using. The route returns a Paginated List of API keys available, with only one element in the list.

```curl
GET /apiKeyProfiles
```

```json
200 OK
{
    "items": [
        {
            "databaseName": "SmartVAN Massachusetts",
            "hasMyVoters": true,
            "hasMyCampaign": true,
            "committeeName": "People for Good",
            "apiKeyTypeName": "Custom Integration",
            "keyReference": "1234",
            "userFirstName": "peopleforgood",
            "userLastName": "api",
            "username": "peopleforgood.api",
          	"userId": 4321
        }
    ],
    "nextPageLink": null,
    "count": 1
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "van-crm",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.securevan.com/v4"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/apiKeyProfiles": {
      "get": {
        "summary": "Introspection",
        "description": "An introspection endpoint is available, if you need information about the API key you are using. The route returns a Paginated List of API keys available, with only one element in the list.",
        "operationId": "introspection",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"items\": [\n        {\n            \"databaseName\": \"SmartVAN Massachusetts\",\n            \"hasMyVoters\": true,\n            \"hasMyCampaign\": true,\n            \"committeeName\": \"People for Good\",\n            \"apiKeyTypeName\": \"Custom Integration\",\n            \"keyReference\": \"1234\",\n            \"userFirstName\": \"peopleforgood\",\n            \"userLastName\": \"api\",\n            \"username\": \"peopleforgood.api\"\n        }\n    ],\n    \"nextPageLink\": null,\n    \"count\": 1\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "databaseName": {
                            "type": "string",
                            "example": "SmartVAN Massachusetts"
                          },
                          "hasMyVoters": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "hasMyCampaign": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "committeeName": {
                            "type": "string",
                            "example": "People for Good"
                          },
                          "apiKeyTypeName": {
                            "type": "string",
                            "example": "Custom Integration"
                          },
                          "keyReference": {
                            "type": "string",
                            "example": "1234"
                          },
                          "userFirstName": {
                            "type": "string",
                            "example": "peopleforgood"
                          },
                          "userLastName": {
                            "type": "string",
                            "example": "api"
                          },
                          "username": {
                            "type": "string",
                            "example": "peopleforgood.api"
                          }
                        }
                      }
                    },
                    "nextPageLink": {},
                    "count": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```