Endpoint reference
Subscribe
Adds an email (optionally name, phone) to the store's subscriber list.
Authorization
http AuthorizationBearer <token>
Use a Sanctum bearer token.
In: header
Header Parameters
X-Client-Key*string
Your store API key (Dashboard → Settings → API keys). pk_live_… public keys are for browser code and only work from an origin on the key's allowlist; sk_live_… private keys are for servers and native apps and need no Origin.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/store/subscribe" \ -H "X-Client-Key: {{clientKey}}" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]" }'{ "status": "success", "message": "You're subscribed. Watch your inbox for updates."}