CreateApiKey
CreateApiKey makes a key and returns its secret, the only time the secret is shown; a team holds at most 10. The same request_id within 24 hours returns the same key and secret.
Authentication
A team API key, sent as Authorization: Bearer <key>.
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Headers
Query parameters
Caller-chosen idempotency key. The same key from the same caller within 24 hours returns the original result instead of acting again.
Request
A label for the key, trimmed; may be empty. Names need not be unique.
The user who created the key; empty for keys Edulead issued.
The full key, to send as Authorization: Bearer <secret>. Set only in CreateApiKey’s
response, the one time it is shown: store it. Empty everywhere else.
Response
ApiKey is one of the team’s API keys. Keys Edulead issued before keys could be created through the API have no create_time; they list as the oldest.