Create a new API key

Create a new API key. Production keys require accepted terms, activated billing, and positive credit balance.

post/api/v1/keys

Request

  • Base URL: https://api.virga.dev
  • URL: https://api.virga.dev/api/v1/keys
  • Auth: API key in header X-API-Key

Request body

namestring required
environment'stage' | 'production'
permissionsstring[]

Response

Key created

apiKeystring

Full API key (shown once)

keyPrefixstring
environmentstring
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.