Docs
Get started

API

Organization

The organization a key belongs to, and the key's own id and role.

On this page

The examples use the two shell variables from Authentication:

Shell
export FENVIX_API=https://api.fenvix.dev/v1/public
export FENVIX_KEY="$(read_from_your_secret_store)"   # never written in a command

The key's organization#

GET /organization

Works with an admin or a read_only key.

Shell
curl -sS "$FENVIX_API/organization" \
  -H "Authorization: Bearer $FENVIX_KEY"

Answers#

Status Body Meaning
200 Organization The organization.
401 Error No key, or the key is not valid, has expired or has been revoked.
429 Error Too many requests. Wait for the number of seconds in Retry-After.