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

All Areas

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

Authentication and authorization

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

Brand

Show brand
GET: api/brand/show/{id} 200 JSON
3

Gift Card

List (for user)
GET: api/giftcard/list 200 JSON
59
Set enabled status
POST: api/giftcard/set-status 200 JSON
21

Organization

Show organization
GET: api/organization/show/{id} 200 JSON
3

Project

List projects
GET: api/project/list 200 JSON
24
Show project
GET: api/project/show/{id} 200 JSON
27

Stripe

Buy card
POST: api/checkout/buy-card 200 JSON
22