Skip to main content
POST
/
api
/
v1
/
auth
/
exchange
인증 토큰 발급
curl --request POST \
  --url https://k-polaris.life/api/v1/auth/exchange \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '
{
  "code": "<string>",
  "targetId": "<string>",
  "codeVerifier": "<string>"
}
'
{
  "accessToken": "<string>",
  "refreshToken": "<string>",
  "expiresIn": 123,
  "userId": 123
}

Body

application/json;charset=UTF-8
code
string
required
Minimum string length: 1
targetId
string
required
Minimum string length: 1
codeVerifier
string

Response

200 - application/json;charset=UTF-8

OK

accessToken
string
refreshToken
string
expiresIn
integer<int64>
userId
integer<int64>