CreateKeyRequest
POST /v1/keys request body. Omitting ``scopes`` and both expiry fields keeps the previous behaviour when the calling key itself holds every scope and does not expire: the new key gets every scope and no expiry. A narrower or expiring caller cannot grant more than it has.
Properties
| Name | Type | Description |
|---|---|---|
| environment | string | |
| label | object | |
| scopes | object | Non-empty subset of search, content, rates, reconcile, booking, chat, quotes. Duplicates are ignored. Omit to grant the calling key's scopes (every scope, when it holds them all). |
| expires_at | object | RFC 3339 instant, in the future and at most 366 days ahead. Not with expires_in_days. |
| expires_in_days | object | Whole days from now, 1–366. Not with expires_at. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/vistalink-com/json-schema/vistalink-com-create-key-request-schema.json",
"title": "CreateKeyRequest",
"description": "POST /v1/keys request body.\n\nOmitting ``scopes`` and both expiry fields keeps the previous behaviour\nwhen the calling key itself holds every scope and does not expire: the new\nkey gets every scope and no expiry. A narrower or expiring caller cannot\ngrant more than it has.",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/vistalink-com-openapi.json#/components/schemas/CreateKeyRequest",
"properties": {
"environment": {
"type": "string",
"pattern": "^(live|test)$",
"title": "Environment",
"default": "test"
},
"label": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"title": "Label"
},
"scopes": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Scopes",
"description": "Non-empty subset of search, content, rates, reconcile, booking, chat, quotes. Duplicates are ignored. Omit to grant the calling key's scopes (every scope, when it holds them all)."
},
"expires_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Expires At",
"description": "RFC 3339 instant, in the future and at most 366 days ahead. Not with expires_in_days."
},
"expires_in_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Expires In Days",
"description": "Whole days from now, 1–366. Not with expires_at."
}
},
"type": "object"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/vistalink-com-create-key-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.