Library
Always answers 200 whether or not the address belongs to a buyer, so
this cannot be used to discover who has bought from a merchant. url
is returned only when the API runs in dev mode.
publishableKeyX-Sorai-Key<token>A store's publishable key, spk_….
application/jsonemail*stringemailstore_id?stringOptional; must match a store-scoped key.
uuidAccepted, regardless of whether the address is known.
application/jsonsent*booleanurl?stringDev mode only.
curl -X POST 'https://api.sorai.ai/v1/public/library/magic-link' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com"}'{ "sent": true, "url": "string"}