Check Can Create Account

Check that a new user is authorized to create a new account. This is determined by an allow list that is stored in our db.

Authentication

X-Thera-API-Keystring
API Key authentication via header

Query parameters

emailstringRequired
onlyCheckAllowlistbooleanOptional

If true, only checks the Google Sheets allowlist, ignoring @getthera.com emails and existing users. Default false.

Response

This endpoint returns an object.
authorizedboolean