Skip to main content
GET
/
api
/
users
/
me
Get My Info(내 정보 조회)
curl --request GET \
  --url http://localhost:4010/api/users/me
{
"userId": 123,
"email": "jsmith@example.com",
"name": "<string>",
"occupation": "<string>",
"business": "<string>",
"notifyAgree": true,
"creditNotifyAgree": true,
"tutorialFinished": true,
"profileImage": "<string>",
"snsId": "<string>",
"provider": "<string>",
"role": "normal",
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"customerKey": "uuid",
"billingRetryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"nextPlanAt": "2023-11-07T05:31:56Z",
"planStartedAt": "2023-11-07T05:31:56Z",
"planId": 123,
"nextPlanId": 123,
"EnterpriseDownload": [
{
"enterpriseDownloadId": 123,
"scaleSize": [
"1x",
"2x",
"4x",
"8x"
],
"credit": 1,
"userId": 123
}
],
"cardNumber": "<string>",
"cardCompany": "<string>",
"Plan": {
"planId": 123,
"grade": "<string>",
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"oneTimePayment": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": [
{
"creditCostInfoId": 123,
"planId": 123,
"upgradePlanId": 123,
"type": "collection-2x",
"credit": "1",
"watermarked": true,
"needUpgrade": true,
"Plan": {
"planId": 123,
"grade": "<string>",
"name": "<string>",
"historyPeriodMonth": 123,
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"title": {},
"priceGlobal": {},
"premiumAvailable": true,
"oneTimePayment": true,
"enabled": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": [
{}
],
"Models": [
{
"modelId": "<any>",
"name": "<any>",
"version": "<any>",
"apiName": "<any>",
"squareSize": "<any>",
"horizontalSize": "<any>",
"verticalSize": "<any>",
"downsizing": "<any>",
"isMainGeneration": "<any>",
"ping": "<any>",
"params": "<any>",
"example": "<any>",
"BackupModel": "<any>",
"backupModelId": "<any>",
"errorCount": "<any>",
"recoverCount": "<any>",
"useBackup": "<any>",
"Plans": "<any>",
"Enterprises": "<any>"
}
]
},
"UpgradePlan": {
"planId": 123,
"grade": "<string>",
"name": "<string>",
"historyPeriodMonth": 123,
"minusCreditAllowed": 123,
"maxStyleNumber": 123,
"simultaneousLimit": 123,
"maxMultiSelect": 123,
"maxEditNumber": 123,
"maxPromptNumber": 123,
"period": "month",
"title": {},
"priceGlobal": {},
"premiumAvailable": true,
"oneTimePayment": true,
"enabled": true,
"defaultCredit": 400,
"dailyCredit": 10,
"monthlyCredit": 200,
"CreditCostInfo": [
{}
],
"Models": [
{
"modelId": "<any>",
"name": "<any>",
"version": "<any>",
"apiName": "<any>",
"squareSize": "<any>",
"horizontalSize": "<any>",
"verticalSize": "<any>",
"downsizing": "<any>",
"isMainGeneration": "<any>",
"ping": "<any>",
"params": "<any>",
"example": "<any>",
"BackupModel": "<any>",
"backupModelId": "<any>",
"errorCount": "<any>",
"recoverCount": "<any>",
"useBackup": "<any>",
"Plans": "<any>",
"Enterprises": "<any>"
}
]
}
}
],
"priceObj": {
"price": "<any>",
"price_yearly": "<any>",
"price_reg": "<any>",
"price_dis": "<any>",
"stripe_key": "<any>",
"stripe_key_yearly": "<any>",
"currency": "<any>"
},
"titleName": "<string>"
},
"Enterprise": {
"expiresAt": "2023-11-07T05:31:56Z",
"monthlyCredit": 2000,
"yearlyCredit": 20000,
"amount": 119000,
"simultaneousLimit": 5,
"maxEditNumber": 123,
"paymentPeriod": "monthly | yearly | bill"
},
"cardRegistered": true,
"useStripe": true,
"maxCredit": 1
}

Headers

X-Api-Key
string

API Key(API 키)

Response

My Information(내 정보)

userId
number
required

아이디

email
string<email>
required

이메일

name
string
required

이름

occupation
string
required

직업

business
string
required

업종

notifyAgree
boolean
required

마케팅 동의 여부

creditNotifyAgree
boolean
required

크레딧 충전 알림 동의 여부

tutorialFinished
boolean
required

튜토리얼 완료 여부

profileImage
string
required

프로필이미지 주소

snsId
string
required

SNS아이디

provider
string
required

로그인 수단

role
string
required

역할

Example:

"normal"

defaultCredit
number
required

크레딧

Example:

400

dailyCredit
number
required

매일 제공 크레딧

Example:

10

monthlyCredit
number
required

매월 제공 크레딧

Example:

200

customerKey
string
required

토스페이먼츠 고객키

Example:

"uuid"

billingRetryDate
string<date-time> | null
required

빌링 마지막 재시도 날짜

createdAt
string<date-time>
required

가입일

nextPlanAt
string<date-time>
required

다음 플랜 시작일(이날 새로 결제됨)

planStartedAt
string<date-time>
required

플랜 시작일

planId
number
required

플랜아이디

nextPlanId
number
required

다음 플랜 아이디(null이면 현재 플랜 그대로 유지)

cardNumber
string
required

카드 번호(마스킹됨)

cardCompany
string
required

카드 회사

Plan
object
required

플랜 정보

cardRegistered
boolean
required

카드 등록 여부

useStripe
boolean
required

스트라이프 사용 여부

maxCredit
number
required

크레딧 한도

Required range: x >= 0
EnterpriseDownload
object[]

엔터프라이즈 다운로드 정보

Enterprise
object

엔터프라이즈 정보

I