GET - Token
Request a token for iFrame session restoration
GET
https://api.readyplayer.me/v1/auth/token
This token can be used to restore a user's session opening the iFrame. Learn how to use this in the Guide Account Linking.
The request requires an API Key in the Header x-api-key.
Path Parameters
Name | Type | Description |
---|---|---|
userId* | String | User ID you want to get the access token for. Note, that this user needs to authorize your app first. |
partner* | String | Your partner name / subdomain. |
The token only lives for 15 seconds. Needs to be created right after the web-view/iFrame call.
Sample Response:
Sample Request
Last updated