Auth

Create an API key. Without Bearer this creates an account and a full-access key. With Bearer, name, inbox_id, permissions, and ttl_hours or expires_at are accepted. The secret is returned once.

post/api/v1/keys

Request

  • Base URL: https://cooperemail.com
  • URL: https://cooperemail.com/api/v1/keys
  • Auth: none required

Request body

namestring
inbox_idstring nullable
permissionsstring[] nullable

Null or omitted means full access. Unknown names return 400 invalid_permission. draft_write creates, edits, and deletes drafts. draft_send sends a draft.

ttl_hoursnumber
expires_atstring date-time

Response

Key created. key is the secret and is not stored in plaintext.

Changes

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