Workspace

Issue an API key

Returns the key exactly once. It is stored only as a hash and cannot be recovered. A key may never hold more than the person issuing it.

post/v1/api-keys

Request

  • Base URL: https://www.chatrail.dev
  • URL: https://www.chatrail.dev/v1/api-keys
  • Auth: API key in cookie chatrail_session

Request body

namestring required
scopesstring[] required
environment'live' | 'test'

Response

The key, once.

Changes

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