Skip to content

Detect Account

GET
/v1/account/exists

Check whether an account exists using one of email, phone, or sha256_email as the unique identifier.

Query Parameters

email?string

The shopper's email address is the primary mechanism for detecting an account. You must provide either a value for this parameter or for sha256_email.

sha256_email?string

The sha256 hash of the shopper's normalized email address can be used to detect an account instead of email.

phone?string

The shopper's phone number. Includes country code (e.g. +1); does not include dashes or spaces. Can be used to detect an account instead of sha256_email or email.

Header Parameters

X-Publishable-Key*string

The publicly viewable identifier used to identify a merchant division. This key is found in the Developer > API section of the Bolt Merchant Dashboard.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/account/exists" \  -H "X-Publishable-Key: string"
{  "has_bolt_account": true}