Social login
You can find every API used by the social login product on a single page.
It walks through prerequisites, app information management, login authentication, user lookup, token expiry, and the Kakao Sync-only features, in that order.
Prerequisites
You must register a Redirect URI when you create an app in the provider's developer console.
- Kakao:
https://mars-verify-cb.ibapi.kr/api/callback/kakao - Naver:
https://mars-verify-cb.ibapi.kr/api/callback/naver
If you use the Kakao Sync feature, you also need to set up Kakao Login, simple sign-up, consent items, and the primary channel in advance in Kakao Developers.
For Naver, register your application and finish issuing the clientId and clientSecret beforehand.
Register app information
Registers the app information needed for the social login integration. It stores the clientId, clientSecret, and redirectUrl issued during setup.
Body Parameters
{}JSONappId
RequiredStringThe service appId.
provider
RequiredStringThe social provider. example: kakao, naver, google.
clientId
RequiredStringThe provider's clientId.
clientSecret
StringThe provider's clientSecret. Required when using Naver.
redirectUrl
RequiredStringThe redirect URL that receives the callback after login completes.
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/app-config/regist" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "appId": "BIZ", "provider": "kakao", "clientId": "KAKAO_CLIENT_ID", "clientSecret": "KAKAO_CLIENT_SECRET", "redirectUrl": "https://service.example.com/oauth/callback", "userRef": "social-app-regist-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "userRef":"social-app-regist-001" }}Look up app information
Looks up registered social app information. If you omit appId, all apps are returned.
Body Parameters
{}JSONappId
StringThe appId to look up.
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
list
Object ArrayThe list of registered app information.
appId
StringThe service appId.
provider
StringThe social provider.
clientId
StringThe provider's clientId.
clientSecret
StringThe provider's clientSecret.
redirectUrl
StringThe registered redirect URL.
regDate
StringThe registration time.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/app-config" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "appId": "BIZ", "userRef": "social-app-list-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "userRef":"social-app-list-001", "list": [ { "appId":"BIZ", "provider":"kakao", "clientId":"KAKAO_CLIENT_ID", "clientSecret":"KAKAO_CLIENT_SECRET", "redirectUrl":"https://service.example.com/oauth/callback", "regDate":"2026-03-31 11:12:45" } ] }}Delete app information
Deletes registered app information. If you also send provider, you can delete only that provider.
Body Parameters
{}JSONappId
RequiredStringThe appId to delete.
provider
StringThe social provider to delete.
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/app-config/delete" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "appId": "BIZ", "provider": "kakao", "userRef": "social-app-delete-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "userRef":"social-app-delete-001" }}Request login authentication
The social login authentication request API. The request redirects to the social login page, and the result is delivered to redirectUrl after login completes.
Query Parameters
provider
RequiredStringThe social login provider. example: naver, kakao, google.
appId
RequiredStringThe service appId you registered in advance.
state
RequiredStringA CSRF protection string used to validate the request and response.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
state
StringThe state value you passed in the request.
provider
StringThe social login provider.
token
StringThe user identification token generated by the product.
Request example
curl -G "https://mars.ibapi.kr/api/verify/v1/social/authorize" \ -H "Authorization: {ApiKey}" \ --data-urlencode "provider=naver" \ --data-urlencode "appId=BIZ" \ --data-urlencode "state=20260331153000001"Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "state":"20260331153000001", "provider":"naver", "token":"58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1" }}Look up user information
Looks up user information with the token issued after social login completes.
Body Parameters
{}JSONprovider
RequiredStringThe social login provider.
token
RequiredStringThe token issued during the login authentication request step.
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
state
StringThe state value you passed in the login request.
provider
StringThe social login provider.
token
StringThe user identification token.
naver
ObjectThe Naver user information.
id
StringThe unique identifier of the Naver user.
nickname
StringThe Naver nickname.
kakao
ObjectThe Kakao user information.
id
LongThe Kakao member number.
kakaoAccount
ObjectThe Kakao account information.
The Google user information.
sub
StringThe unique identifier of the Google user.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/user/me" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "provider": "kakao", "token": "58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1", "userRef": "social-user-me-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "provider":"kakao", "token":"58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1", "kakao": { "id": 111111, "kakaoAccount": { "email":"sample@domain.com", "profile": { "nickname":"bizgo" } } } }}Request token expiry
Expires a social login token. Kakao may apply an all-app/all-device logout policy, and Naver restricts external logout APIs by policy.
Body Parameters
{}JSONprovider
RequiredStringThe social login provider.
token
RequiredStringThe token to expire.
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
provider
StringThe social login provider.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/token" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "provider": "kakao", "token": "58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1", "userRef": "social-token-expire-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "provider":"kakao", "userRef":"social-token-expire-001" }}Kakao Sync only
These features are available only to services that have adopted Kakao Sync.
Use them to look up, revoke, or grant service terms consent โ you manage the actual terms operation policy in your own service.
Check service terms consent history
Looks up a Kakao Sync user's service terms consent history.
Body Parameters
{}JSONtoken
RequiredStringThe user identification token.
result
StringThe lookup list type. example: agreed_service_terms, app_service_terms.
tags
StringThe list of service terms tags to look up. Separate them with commas (,).
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
provider
StringThe social provider. Fixed to kakao.
kakao
ObjectThe Kakao service terms response object.
id
LongThe Kakao member number.
serviceTerms
Object ArrayThe list of service terms.
tag
StringThe terms tag.
required
BooleanWhether the terms are required.
agreed
BooleanThe consent status.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/user/kakao/service-terms" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "token": "58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1", "result": "agreed_service_terms", "tags": "service_2020_0218,optional_20200616", "userRef": "social-kakao-terms-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "provider":"kakao", "userRef":"social-kakao-terms-001", "kakao": { "id": 111111, "serviceTerms": [ { "tag":"service_2020_0218", "required": true, "agreed": true, "revocable": false }, { "tag":"optional_20200616", "required": false, "agreed": false, "revocable": true } ] } }}Revoke service terms consent
Withdraws consent to Kakao Sync service terms. Only items with revocable=true can be withdrawn.
Body Parameters
{}JSONtoken
RequiredStringThe user identification token.
tags
RequiredStringThe list of service terms tags to withdraw. Separate them with commas (,).
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
provider
StringThe social provider. Fixed to kakao.
kakao
ObjectThe Kakao service terms response object.
id
LongThe Kakao member number.
revokedServiceTerms
Object ArrayThe list of service terms that were withdrawn.
tag
StringThe terms tag.
agreed
BooleanThe consent status after withdrawal.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/user/kakao/service-terms" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "token": "58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1", "result": "agreed_service_terms", "tags": "optional_20200616", "userRef": "social-kakao-revoke-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "provider":"kakao", "userRef":"social-kakao-revoke-001", "kakao": { "id": 111111, "revokedServiceTerms": [ { "tag":"optional_20200616", "agreed": false } ] } }}Grant service terms consent
The API that records consent to Kakao Sync service terms. Use it to reflect your own service's consent result on the Kakao API platform.
Body Parameters
{}JSONtoken
RequiredStringThe user identification token.
tags
RequiredStringThe list of service terms tags to agree to. Separate them with commas (,).
userRef
StringThe reference value you supplied.
Returns
common
ObjectThe common response section.
authCode
StringThe authentication result code.
authResult
StringThe authentication result message.
infobankTrId
StringThe Infobank transaction ID.
data
ObjectThe product response data section.
code
StringThe call result code.
result
StringThe call result message.
resultMsg
StringThe detailed call result description.
userRef
StringThe reference value you supplied.
provider
StringThe social provider. Fixed to kakao.
kakao
ObjectThe Kakao service terms response object.
id
LongThe Kakao member number.
agreedServiceTerms
Object ArrayThe list of service terms that were agreed to.
tag
StringThe terms tag.
agreed
BooleanThe consent status.
agreedAt
DatetimeThe time the terms were agreed to.
agreedBy
StringThe consent processing path. example: KAPI, KAUTH.
Request example
curl -X POST "https://mars.ibapi.kr/api/verify/v1/social/user/kakao/service-terms" \ -H "Authorization: {ApiKey}" \ -H "Content-Type: application/json" \ -d '{ "token": "58f5edaf-0fc1-3ac7-8fe0-c4453abf0ba1", "result": "agreed_service_terms", "tags": "term01,term02", "userRef": "social-kakao-agree-001" }'Response example
{ "common": { "authCode":"A000", "authResult":"Success", "infobankTrId":"Infobank-Tracking-Id" }, "data": { "code":"A000", "result":"SUCCESS", "resultMsg":"์ฑ๊ณต", "provider":"kakao", "userRef":"social-kakao-agree-001", "kakao": { "id": 111111, "agreedServiceTerms": [ { "tag":"term01", "agreed": true, "agreedAt":"2026-03-31T08:33:25Z", "agreedBy":"KAPI" }, { "tag":"term02", "agreed": true, "agreedAt":"2026-03-31T08:33:25Z", "agreedBy":"KAPI" } ] } }}