getStarted
WIP
This part of the API is still a work-in-progress.
- base
- localhost
- dev
- prod
/v2/public/user/get-started
http://localhost:1350/v2/public/user/get-started
https://dev.everdays.com/v2/public/user/get-started
https://everdays.com/v2/public/user/get-started
Available Methods​
POST /v2/public/get-started​
Post request that either finds a user and logs them in or registers a new user. User will be prompted to verify a pin number after supplying information and when pin is verified user is given cookie and returned client side. Post body takes firstName, lastName, email, and phone and then you will hit the end point again with the phone number and pin to set the cookie and return user
Params​
| Param | Type | Description | Notes |
|---|---|---|---|
| firstName | String | first name string | |
| lastName | String | last name string | |
String | email string | ||
| string | String | phone string | |
| pin | String | pin string |
Returns​
The entire user object
Example return object of just user
user: {
...user,
preneed: {
finalExpenses: {
...
selectedPrice: 13000,
lastViewedScreen: {
screenId: 2,
date: "2022-02-08T18:33:57.019Z"
},
}
}
}