Enlighten
API
Authentication and authorization Brand Gift Card Organization Project
Checkout
Stripe
  • Api

Authentication and authorization

API calls must have this header `Accept: application/json`

Passwordless - Send SMS
POST: api/auth/passwordless/sms 201 JSON
15
Passwordless - Send SMS
POST: api/auth/passwordless/sms 401 JSON
1
Passwordless - Send Email
POST: api/auth/passwordless/email 201 JSON
6
Passwordless - Send Email
POST: api/auth/passwordless/email 403 JSON
18
Passwordless - Send SMS
POST: api/auth/passwordless/sms 403 JSON
19
Passwordless - Login: invalid token
POST: api/auth/passwordless/login 401 JSON
6
Profile
GET: api/auth/profile 200 JSON
7
Logout
POST: api/auth/logout 200 JSON
6
Update profile data
POST: api/auth/profile/data 200 JSON
GET: api/auth/profile 200 JSON
13
Update profile consents
POST: api/auth/profile/consents 200 JSON
GET: api/auth/profile 200 JSON
13