Ampersand · Schema
ApiKey
ApiKey schema from Ampersand API
Developer ToolsIntegrationsPlatformSaaSOAuthData SyncWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| key | string | The API key. |
| label | string | A short name for the API key. |
| scopes | object | |
| projectId | string | The project ID. |
| active | boolean | Whether the API key is active. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-schema/ampersand-api-api-key-schema.json",
"title": "ApiKey",
"description": "ApiKey schema from Ampersand API",
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The API key.",
"example": "api-key-123"
},
"label": {
"type": "string",
"description": "A short name for the API key.",
"example": "MailMonkey API Key"
},
"scopes": {
"$ref": "#/components/schemas/ApiKeyScopes"
},
"projectId": {
"type": "string",
"description": "The project ID.",
"example": "my-project"
},
"active": {
"type": "boolean",
"description": "Whether the API key is active.",
"example": true
}
},
"required": [
"key",
"projectId",
"label",
"scopes"
]
}