API keys
Create a key
Makes an API key and shows it once.
Serverhttps://api.eu.vatis.tech
POST/v1/keys
Admin key only
A Member key gets 403 admin_only. Roles: Authentication and API keys.
Body fields
application/jsonname (required)string
One per application. No two active keys of a workspace share a name.
Values1 to 64 letters, digits, dots, dashes or underscores
expires_onstring
The last UTC day the key works. Without it, the key has no end.
Values
YYYY-MM-DD, or nullkey_ and 12 hex digits.The key's name.
The key's first characters, to tell it apart.
active, expired or revoked.When it was made: ISO 8601, UTC.
When it last made a request, or
null: never used.When it stops: the start of the day after its last day, in UTC.
null: no end.When it was revoked, or
null.vatis_sk_...: the key. Hand it to its application through a channel you trust.Whenonly in this answer
application/json
The key, shown only here. The answer has
Cache-Control: no-store.400 missing_parameter
No
name.application/json
A field that is unknown or not valid, a day that has passed, or a query parameter. The
param names it.400 invalid_request
A body that is not a JSON object.
application/json
No key, or a wrong, revoked or expired one.
403 admin_only
A Member key.
409 name_taken
An active key has that name. Revoke it first, or pick another name.
413 request_too_large
A JSON body over 64 KB.