[LEIMOWORKS]OpenAPIs
  1. 모홈 사용자 관리 APIs
[LEIMOWORKS]OpenAPIs
  • 공통
    • 인증토큰 발급
      GET
  • 모홈 보장분석 APIs
    • 본인인증 - 인증번호 요청
      POST
    • 본인인증 - 인증번호 검증
      POST
    • 약관조회
      GET
    • 보장분석 결과
      POST
    • 보장분석 결과 리포트
      POST
  • 모홈 메디컬보장분석 APIs
    • 건강보험공단 - 간편인증 요청
      POST
    • 건강보험공단 - 간편인증 완료, 데이터 전송
      POST
    • 보장분석 결과 전송
      POST
    • PDF 리포트 요청
      POST
    • JSON 리포트 요청
      POST
  • 모홈 사용자 관리 APIs
    • 사용자 추가
      PUT
    • 사용자 업데이트
      PATCH
    • 사용자 리스트
      GET
    • 사용자 삭제
      DELETE
  • 모홈 청구 APIs
    • 보험사 목록
      GET
    • 은행 목록
      GET
    • 우체국 지급센터 목록
      GET
    • 직업 코드 목록
      GET
    • 약관 조회
      GET
    • 청구
      POST
    • 청구 이력
      POST
  1. 모홈 사용자 관리 APIs

사용자 추가

PUT
/api/v1/user
This endpoint allows you to update user information using an HTTP PUT request to {{HOST}}/v1/user. The request should include a raw JSON payload with the keys "name", "phone", "pw", and "emp_no".

Request Body#

name: (string) The user's name.
phone: (string) The user's phone number.
pw: (string) The user's password.
emp_no: (string) The user's employee number.

Response#

Upon a successful update, the response will include:
success: (boolean) Indicates the success of the operation.
user_id: (integer) The ID of the updated user.
Add documentation

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200사용자 추가
application/json
Body

🟠400실패
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://mohom.kr/api/v1/user' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "테스트_전환",
    "phone": "010-9956-3555",
    "pw": "a1234567",
    "emp_no": "iFA_test"
}'
Response Response Example
200 - 사용자 추가
{
    "success": true,
    "user_id": 1236185
}
Modified at 2025-04-28 08:10:26
Previous
모홈 사용자 관리 APIs
Next
사용자 업데이트
Built with