Get the account profile
The caller's profile: display name, default alias format and default recipient, plus live alias and recipient counts and creation time.
An account whose provisioning trigger has not fired yet reads as defaults with zero counts rather than 404.
CognitoUserPoolAuthorizationBearer <token>Cognito user pool ID token. API Gateway validates the token (identity
token: no OAuth scopes are configured on the authorizer) and forwards
its claims; the sub claim is the tenant key.
The account profile.
application/json- response
user_sub*stringThe caller's Cognito subject id.
from_name*stringDisplay name used on forwarded mail. Empty when never set.
default_alias_format*AliasFormatHow a generated alias local part is produced: random English words joined with separators, or a UUID.
"random_words""uuid"default_recipient_id*stringRecipient new aliases forward to by default. Empty when unset.
alias_count*integerAliases currently held, against the plan's limit.
recipient_count*integerRecipients currently held, against the plan's limit.
datetime_created*integerAccount creation time, unix epoch milliseconds.
curl -X GET "https://example.com/account"{ "user_sub": "string", "from_name": "string", "default_alias_format": "random_words", "default_recipient_id": "string", "alias_count": 0, "recipient_count": 0, "datetime_created": 0}