email

Claim email address

Explicitly claim an @agentlair.dev address for this account before emails arrive. Optionally provide an X25519 public_key (base64url, 32 bytes) to enable E2E encryption: inbound emails will be encrypted and only decryptable by the holder of the matching private key.

post/v1/email/claim

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/email/claim
  • Auth: HTTP bearer

Request body

addressstring required
public_keystring

Optional. Base64url-encoded X25519 public key (32 bytes) to enable E2E encryption

Example request

{
  "address": "myagent@agentlair.dev"
}

Response

Address claimed

addressstring
claimedboolean
already_ownedboolean
account_idstring
e2e_enabledboolean

Changes

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