회원 인증
회원가입
POST
header
AuthorizationBearer <JWT>회원 accessToken
application/json- body
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailpassword*stringLength
10 <= lengthname*stringLength
1 <= length <= 50phone?stringMatch
^01[0-9]{8,9}$agreements*cartToken?stringuserinfo?바꿀 OIDC 클레임 — 준 것만 바뀌고 null은 지운다
성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/storefront/v1/auth/signup' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"password": "stringstri",
"name": "string",
"agreements": {
"terms": true,
"privacy": true
}
}'Example Response201
{
"meta": {
"status": 201,
"code": "OK",
"message": "OK",
"isSuccess": true
},
"data": {
"accessToken": "string",
"refreshToken": "string",
"expiresIn": 0
},
"error": null
}