Auth
회원가입 최종 제출
이메일 인증 완료 후 로컬 계정을 생성하고 토큰을 발급한다. 인증 미완료 시 400, 이메일 중복 시 409. 탈퇴 후 30일 이내(휴면) 이메일이면 가입 대신 409(AUTH-014)로 로그인을 안내한다.
post/api/v1/auth/signup
Request
- Base URL: https://api.chaeso-zip.com
- URL: https://api.chaeso-zip.com/api/v1/auth/signup
- Auth: none declared
Request body
Example request
{
"email": "user@chaeso.zip",
"password": "P@ssw0rd!",
"nickname": "채소러버",
"companyName": "채소컴퍼니",
"occupation": "DEVELOPMENT",
"termsAgreed": true
}Response
가입 성공, 토큰 발급
Example response
{
"success": true,
"data": {
"accessToken": "eyJhbGciOiJIUzI1NiJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiJ9...",
"accessTokenExpiresIn": 1800,
"refreshTokenExpiresIn": 1209600
},
"error": {
"code": "C-001",
"message": "입력값이 올바르지 않습니다.",
"fieldErrors": [
{
"field": "name",
"reason": "이름은 필수입니다."
}
]
},
"code": "GOOGLE_ACCOUNT_LINKED"
}Changes
No recorded changes to this operation across all 1 revision of this API.