Documentation

How to use Enterprise
Connect ZEPETO account through API

Connect ZEPETO account through API

This page provides detailed explanations for connecting ZEPETO account.

ZEPETO ID is required to create an Avatar Image. You can connect ZEPETO account through API. Please refer to the steps below.

How to connect ZEPETO account

Get ZEPETO QR code Log-in URL

This is an API that generates QR data for ZEPETO QR login.
You can create a QR code using the url of the response body. The url and sessionId of the response body are only valid for 60 seconds.

POST https://api.render-it.m2s.team/services/biz/characters/auth

Header parameters

KeyDescriptionExample
authorizationEnter the Token created in ZEPETO Render-it. Bearer authentication is used.Bearer {ENTERPRISE_TOKEN}

Example

curl -i -X POST \
-H "Authorization:Bearer {ENTERPRISE_TOKEN}" \
'https://api.render-it.m2s.team/services/biz/characters/auth

Response Body

KeyDescriptionTypeExample
urlData of the QR code to be created.StringZEPETO://PLATFORM/QR_LOGIN?url=https://admin-api.render-it.m2s.team&api=/activate/characters&udid=JuwqDHw7R3GnJIht7tWFNelLQ8G_42GR
sessionIdKey value for managing the series of processes that connect ZEPETO account.StringJuwqDHw7R3GnJIht7tWFNelLQ8G_42GR

Determine whether ZEPETO Log-in was successful

This is an API that allows you to determine whether the application user has successfully logged in to ZEPETO through the generated QR code.

GET https://api.render-it.m2s.team/services/biz/characters/auth/{SESSION_ID}

Header parameters

KeyDescriptionExample
authorizationEnter the Token created in ZEPETO Render-it. Bearer authentication is used.Bearer {ENTERPRISE_TOKEN}

Query parameters

KeyDescriptionRequired
sessionIdKey value for managing the series of processes that connect ZEPETO account.Yes

Example

curl -i -X GET \
   -H "Authorization:Bearer {ENTERPRISE_TOKEN}" \
 'https://api.render-it.m2s.team/services/biz/characters/auth/{sessionId}

Response Body

KeyDescriptionTypeExample
resultValue indicating whether login was successful or not.Booleanfalse

Connect ZEPETO account

This is an API that registers an account after ZEPETO Log-in is completed. The zepetoId and friendZepetoIds of the registered account can be used when creating an Avatar Image.

POST https://api.render-it.m2s.team/services/biz/characters

Header parameters

KeyDescriptionExample
authorizationEnter the Token created in ZEPETO Render-it. Bearer authentication is used.Bearer {ENTERPRISE_TOKEN}

Body parameters

KeyDescription
sessionIdKey value for managing the series of processes that connect ZEPETO account.

Example

curl -i -X POST \
   -H "Authorization:Bearer {ENTERPRISE_TOKEN}" \
   -H "Content-Type:application/json" \
   -d \
'{
  "targets": [
    {
      "sessionId": "{SESSION_ID}"
    }]
}' \
 'https://api.render-it.m2s.team/services/biz/characters'

Response Body

KeyDescriptionTypeExample
sys.idAn identification value for the connected ZEPETO account.StringIrhQ8sj0uVZY6eX0y6eN1Dxg5TjIpmdy
sys.zepetoIdZEPETO ID of the connected ZEPETO account.Stringzepeto
sys.friendZepetoIdsFriends' ZEPETO Id of the connected ZEPETO account.String[][]

Disconnect ZEPETO account

This is an API for disconnecting ZEPETO account. It may be used when the connection is no longer needed or for purposes of managing usage.

DELETE https://api.render-it.m2s.team/services/biz/characters/{CHARACTER_ID}

Header parameters

KeyDescriptionExample
authorizationEnter the Token created in ZEPETO Render-it. Bearer authentication is used.Bearer {ENTERPRISE_TOKEN}

Query parameters

KeyDescriptionRequired
characterIdCode to determine Avatar Image quality.Yes

Example

curl -i -X DELETE \
   -H "Authorization:Bearer {ENTERPRISE_TOKEN}" \
 'https://api.render-it.m2s.team/services/biz/characters/{CHARACTER_ID}'

Auto-Disconnect ZEPETO account

We provide a function to automatically disconnect ZEPETO account after a certain period of time.
This setting is automatically set when Enterprise is activated, and can be modified as follows.

💡
Please be aware that the disconnection may have some delay because the background task runs every 60 seconds.

  1. Go to the Enterprise page.
  2. Go to the Setting page.
  3. Click Edit.
  4. Change Default Disconnect Time and click Edit.

Errors

When connection ZEPETO account, errors may occur in various situations. The user may have entered incorrect data, or it may be an ZEPETO Render-it service failure. Please refer to the table below for simple information and solutions.

Error codeDescriptionSolution
401Not a valid TokenPlease check if there is a typo in the Token and whether the values match.
403Quota reached or exceededPlease check if exceeds resource limit or disconnect unuse ZEPETO account.
404Not a valid valuePlease check if the entered value are correct.
500ZEPETO Render-it service failurePlease contact support team.